FifoThroughputScope
Enum Stable
The throughput quota and deduplication behavior to apply for the FIFO topic.
| Source | aws-sns/lib/topic.ts |
|---|---|
| Type last changed |
Example
ts
const topic = new sns.Topic(this, 'MyTopic', {
fifo: true,
fifoThroughputScope: sns.FifoThroughputScope.TOPIC,
});
python
topic = sns.Topic(self, "MyTopic",
fifo=True,
fifo_throughput_scope=sns.FifoThroughputScope.TOPIC
)
java
Topic topic = Topic.Builder.create(this, "MyTopic")
.fifo(true)
.fifoThroughputScope(FifoThroughputScope.TOPIC)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
var topic = new Topic(this, "MyTopic", new TopicProps {
Fifo = true,
FifoThroughputScope = FifoThroughputScope.TOPIC
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
topic := sns.NewTopic(this, jsii.String("MyTopic"), &TopicProps{
Fifo: jsii.Boolean(true),
FifoThroughputScope: sns.FifoThroughputScope_TOPIC,
})
Members
| Member | Description |
|---|---|
TOPIC | Topic scope - Throughput: 3000 messages per second and a bandwidth of 20MB per second. |
MESSAGE_GROUP | Message group scope - Throughput: Maximum regional limits. |
Referenced by
TopicProps.fifoThroughputScopefifo_throughput_scopefifoThroughputScopeFifoThroughputScopeFifoThroughputScope