Skip to content

Commit

Permalink
feat(sns): support high throughput mode for FIFO topics (#33056)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)
N/A

### Reason for this change
Amazon SNS now supports high throughput mode.

Ref: [high-throughput mode for Amazon SNS FIFO Topics](https://aws.amazon.com/about-aws/whats-new/2025/01/high-throughput-mode-amazon-sns-fifo-topics)


### Description of changes
Add `fifoThroughputScope` property.



### Describe any new or updated permissions being added
Nothing



### Description of how you validated changes
Add unit tests and an integ test.


### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mazyu36 authored Jan 26, 2025
1 parent 111ffc2 commit bfa0f15
Show file tree
Hide file tree
Showing 12 changed files with 524 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"Resources": {
"MessageGroupScopeTopicAB4E2D6F": {
"Type": "AWS::SNS::Topic",
"Properties": {
"FifoThroughputScope": "MessageGroup",
"FifoTopic": true,
"TopicName": "snsfifothroughputscope-MessageGroupScopeTopic-52DE3DD3.fifo"
}
},
"TopicScopeTopic8DEBB616": {
"Type": "AWS::SNS::Topic",
"Properties": {
"FifoThroughputScope": "Topic",
"FifoTopic": true,
"TopicName": "snsfifothroughputscope-TopicScopeTopic-92BBF542.fifo"
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bfa0f15

Please sign in to comment.