From 3b64b12f3f0e6698c201d340915f85b08ada2fdf Mon Sep 17 00:00:00 2001 From: jun1-t <65751858+jun1-t@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:10:42 +0900 Subject: [PATCH] docs(sns): remove an unused variable declaration in Archive Policy (#29591) Closes #29590 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-sns/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-sns/README.md b/packages/aws-cdk-lib/aws-sns/README.md index 0db9e79a0938e..f8b625b4eb3e9 100644 --- a/packages/aws-cdk-lib/aws-sns/README.md +++ b/packages/aws-cdk-lib/aws-sns/README.md @@ -294,10 +294,9 @@ Message archiving provides the ability to archive a single copy of all messages You can store published messages within your topic by enabling the message archive policy on the topic, which enables message archiving for all subscriptions linked to that topic. Messages can be archived for a minimum of one day to a maximum of 365 days. -Example with a archive policy for SQS: +Example with an archive policy: ```ts -declare const role: iam.Role; const topic = new sns.Topic(this, 'MyTopic', { fifo: true, messageRetentionPeriodInDays: 7,