-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(cloudformation-module): Improve Docs #1090
docs(cloudformation-module): Improve Docs #1090
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect
docs/utilities/custom_resources.md
Outdated
### Configuring Response Objects | ||
In both of the scenarios, powertools-java will assign the `physicalResourceId` based on the following logic: | ||
- if present, use the `physicalResourceId` provided in the `CloudFormationCustomResourceEvent` | ||
- if it is not present, use the `LogStreamName` from the Lambda context |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could be more explicit here. The physicalResourceId
will only be missing for CREATE - "For CREATE operations, the logStreamName will be used. For UPDATE and DELETE, the physicalResourceId previously given by the custom resource to CloudFormation will be provided, back to the handler.", or something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, it would be easier to understand this way, I will update the verbiage
improvements from PR Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
improvements from PR Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
improvements from PR Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
improvements from PR Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
PR Feedback Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #, if available: #1081
Description of changes:
Improving the Cloudformation custom resources documentation, including the new APIs introduced as part of this PR #1082
Checklist
Breaking change checklist
RFC issue #:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.