Show / Hide Table of Contents

Interface ITopicAttributes

Represents an SNS topic defined outside of this stack.

Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITopicAttributes
Syntax (vb)
Public Interface ITopicAttributes
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.SNS;

            var topicAttributes = new TopicAttributes {
                TopicArn = "topicArn",

                // the properties below are optional
                ContentBasedDeduplication = false,
                KeyArn = "keyArn"
            };

Synopsis

Properties

ContentBasedDeduplication

Whether content-based deduplication is enabled.

KeyArn

KMS encryption key, if this topic is server-side encrypted by a KMS key.

TopicArn

The ARN of the SNS topic.

Properties

ContentBasedDeduplication

Whether content-based deduplication is enabled.

bool? ContentBasedDeduplication { get; }
Property Value

bool?

Remarks

Only applicable for FIFO topics.

Default: false

KeyArn

KMS encryption key, if this topic is server-side encrypted by a KMS key.

string? KeyArn { get; }
Property Value

string

Remarks

Default: - None

TopicArn

The ARN of the SNS topic.

string TopicArn { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX