feat(apigateway): set RestApi CloudWatchRole and Account retention policy#26836
feat(apigateway): set RestApi CloudWatchRole and Account retention policy#26836mergify[bot] merged 6 commits intoaws:mainfrom
Conversation
… Account retention policy
rix0rrr
left a comment
There was a problem hiding this comment.
Almost there, but it should be not allowed to pass cloudWatchRoleRemovalPolicy if cloudWatchRole == false.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Adds a
cloudWatchRoleRemovalPolicyproperty toRestApiBasePropsthat allows to specify a custom retention policy for CloudWatchRole and Account.Defaults to
RemovalPolicy.RETAIN.Closes #26827.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license