Class CfnTopicPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.sns.CfnTopicPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.648Z")
@Stability(Stable)
public class CfnTopicPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::SNS::Topic resource creates a topic to which notifications can be published.
One account can create a maximum of 100,000 standard topics and 1,000 FIFO topics. For more information, see Amazon endpoints and quotas in the AWS General Reference .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sns.*;
import software.amazon.awscdk.*;
Object archivePolicy;
Object dataProtectionPolicy;
IMergeStrategy mergeStrategy;
CfnTopicPropsMixin cfnTopicPropsMixin = CfnTopicPropsMixin.Builder.create(CfnTopicMixinProps.builder()
.archivePolicy(archivePolicy)
.contentBasedDeduplication(false)
.dataProtectionPolicy(dataProtectionPolicy)
.deliveryStatusLogging(List.of(LoggingConfigProperty.builder()
.failureFeedbackRoleArn("failureFeedbackRoleArn")
.protocol("protocol")
.successFeedbackRoleArn("successFeedbackRoleArn")
.successFeedbackSampleRate("successFeedbackSampleRate")
.build()))
.displayName("displayName")
.fifoThroughputScope("fifoThroughputScope")
.fifoTopic(false)
.kmsMasterKeyId("kmsMasterKeyId")
.signatureVersion("signatureVersion")
.subscription(List.of(SubscriptionProperty.builder()
.endpoint("endpoint")
.protocol("protocol")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.topicName("topicName")
.tracingConfig("tracingConfig")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTopicPropsMixin.static interfaceTheLoggingConfigproperty type specifies theDeliverystatus logging configuration for anAWS::SNS::Topic.static interfaceSubscriptionis an embedded property that describes the subscription endpoints of an Amazon topic.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SNS::Topic.CfnTopicPropsMixin(CfnTopicMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SNS::Topic.protectedCfnTopicPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTopicPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnTopicMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnTopicPropsMixin
protected CfnTopicPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTopicPropsMixin
protected CfnTopicPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTopicPropsMixin
@Stability(Stable) public CfnTopicPropsMixin(@NotNull CfnTopicMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SNS::Topic.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnTopicPropsMixin
Create a mixin to apply properties toAWS::SNS::Topic.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-