TopicArgs constructor
- Input<
String?> ? applicationFailureFeedbackRoleArn, - Input<
String?> ? applicationSuccessFeedbackRoleArn, - Input<
int?> ? applicationSuccessFeedbackSampleRate, - Input<
String?> ? archivePolicy, - Input<
bool?> ? contentBasedDeduplication, - Input<
String?> ? deliveryPolicy, - Input<
String?> ? displayName, - Input<
String?> ? fifoThroughputScope, - Input<
bool?> ? fifoTopic, - Input<
String?> ? firehoseFailureFeedbackRoleArn, - Input<
String?> ? firehoseSuccessFeedbackRoleArn, - Input<
int?> ? firehoseSuccessFeedbackSampleRate, - Input<
String?> ? httpFailureFeedbackRoleArn, - Input<
String?> ? httpSuccessFeedbackRoleArn, - Input<
int?> ? httpSuccessFeedbackSampleRate, - Input<
String?> ? kmsMasterKeyId, - Input<
String?> ? lambdaFailureFeedbackRoleArn, - Input<
String?> ? lambdaSuccessFeedbackRoleArn, - Input<
int?> ? lambdaSuccessFeedbackSampleRate, - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
String?> ? policy, - Input<
String?> ? region, - Input<
int?> ? signatureVersion, - Input<
String?> ? sqsFailureFeedbackRoleArn, - Input<
String?> ? sqsSuccessFeedbackRoleArn, - Input<
int?> ? sqsSuccessFeedbackSampleRate, - Input<
Map< ? tags,String, String> ?> - Input<
String?> ? tracingConfig,
Creates a new TopicArgs.
applicationFailureFeedbackRoleArn IAM role for failure feedback
applicationSuccessFeedbackRoleArn The IAM role permitted to receive success feedback for this topic
applicationSuccessFeedbackSampleRate Percentage of success to sample
archivePolicy The message archive policy for FIFO topics. More details in the AWS documentation.
contentBasedDeduplication Enables content-based deduplication for FIFO topics. For more information, see the related documentation
deliveryPolicy The SNS delivery policy. More details in the AWS documentation.
displayName The display name for the topic
fifoThroughputScope Enables higher throughput for FIFO topics by adjusting the scope of deduplication. This attribute has two possible values, Topic and MessageGroup. For more information, see the related documentation.
fifoTopic Boolean indicating whether or not to create a FIFO (first-in-first-out) topic. FIFO topics can't deliver messages to customer managed endpoints, such as email addresses, mobile apps, SMS, or HTTP(S) endpoints. These endpoint types aren't guaranteed to preserve strict message ordering. Default is false.
firehoseFailureFeedbackRoleArn IAM role for failure feedback
firehoseSuccessFeedbackRoleArn The IAM role permitted to receive success feedback for this topic
firehoseSuccessFeedbackSampleRate Percentage of success to sample
httpFailureFeedbackRoleArn IAM role for failure feedback
httpSuccessFeedbackRoleArn The IAM role permitted to receive success feedback for this topic
httpSuccessFeedbackSampleRate Percentage of success to sample
kmsMasterKeyId The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms
lambdaFailureFeedbackRoleArn IAM role for failure feedback
lambdaSuccessFeedbackRoleArn The IAM role permitted to receive success feedback for this topic
lambdaSuccessFeedbackSampleRate Percentage of success to sample
name The name of the topic. Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix
namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name
policy The fully-formed AWS policy as JSON.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
signatureVersion If SignatureVersion should be 1 (SHA1) or 2 (SHA256). The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
sqsFailureFeedbackRoleArn IAM role for failure feedback
sqsSuccessFeedbackRoleArn The IAM role permitted to receive success feedback for this topic
sqsSuccessFeedbackSampleRate Percentage of success to sample
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tracingConfig Tracing mode of an Amazon SNS topic. Valid values: "PassThrough", "Active".
Implementation
const TopicArgs({
this.applicationFailureFeedbackRoleArn,
this.applicationSuccessFeedbackRoleArn,
this.applicationSuccessFeedbackSampleRate,
this.archivePolicy,
this.contentBasedDeduplication,
this.deliveryPolicy,
this.displayName,
this.fifoThroughputScope,
this.fifoTopic,
this.firehoseFailureFeedbackRoleArn,
this.firehoseSuccessFeedbackRoleArn,
this.firehoseSuccessFeedbackSampleRate,
this.httpFailureFeedbackRoleArn,
this.httpSuccessFeedbackRoleArn,
this.httpSuccessFeedbackSampleRate,
this.kmsMasterKeyId,
this.lambdaFailureFeedbackRoleArn,
this.lambdaSuccessFeedbackRoleArn,
this.lambdaSuccessFeedbackSampleRate,
this.name,
this.namePrefix,
this.policy,
this.region,
this.signatureVersion,
this.sqsFailureFeedbackRoleArn,
this.sqsSuccessFeedbackRoleArn,
this.sqsSuccessFeedbackSampleRate,
this.tags,
this.tracingConfig,
});