Closed jun1-t closed 7 months ago
Thanks for reporting this issue and creating the PR!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the issue
Archive Policy parameter in the aws_cdk_sns document has an unused variable declaration.
Currently the documentation says:
Example with an archive policy for SQS:
I think the following is better.
Example with an archive policy:
Removed "for SQS" and "declare const role: iam.Role;".
Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns-readme.html#archive-policy