Skip to content

Commit 3b64b12

Browse files
authored
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*
1 parent bba099a commit 3b64b12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/aws-cdk-lib/aws-sns/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,9 @@ Message archiving provides the ability to archive a single copy of all messages
294294
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.
295295
Messages can be archived for a minimum of one day to a maximum of 365 days.
296296

297-
Example with a archive policy for SQS:
297+
Example with an archive policy:
298298

299299
```ts
300-
declare const role: iam.Role;
301300
const topic = new sns.Topic(this, 'MyTopic', {
302301
fifo: true,
303302
messageRetentionPeriodInDays: 7,

0 commit comments

Comments
 (0)