Skip to content

Commit

Permalink
docs(sns): remove an unused variable declaration in Archive Policy (#…
Browse files Browse the repository at this point in the history
…29591)

Closes #29590

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
jun1-t authored Mar 27, 2024
1 parent bba099a commit 3b64b12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/aws-cdk-lib/aws-sns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3b64b12

Please sign in to comment.