@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.348Z") @Stability(value=Experimental) public class Topic extends TopicBase
| Modifier and Type | Class and Description |
|---|---|
static class |
Topic.Builder
(experimental) A fluent builder for
Topic. |
software.amazon.jsii.JsiiObject.InitializationModeITopic.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
Topic(software.constructs.Construct scope,
String id) |
|
Topic(software.constructs.Construct scope,
String id,
TopicProps props) |
protected |
Topic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Topic(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ITopic |
fromTopicArn(software.constructs.Construct scope,
String id,
String topicArn)
(experimental) Import an existing SNS topic provided an ARN.
|
protected Boolean |
getAutoCreatePolicy()
(experimental) Controls automatic creation of policy objects.
|
String |
getTopicArn()
(experimental) The ARN of the topic.
|
String |
getTopicName()
(experimental) The name of the topic.
|
addSubscription, addToResourcePolicy, grantPublish, metric, metric, metricNumberOfMessagesPublished, metricNumberOfMessagesPublished, metricNumberOfNotificationsDelivered, metricNumberOfNotificationsDelivered, metricNumberOfNotificationsFailed, metricNumberOfNotificationsFailed, metricNumberOfNotificationsFilteredOut, metricNumberOfNotificationsFilteredOut, metricNumberOfNotificationsFilteredOutInvalidAttributes, metricNumberOfNotificationsFilteredOutInvalidAttributes, metricNumberOfNotificationsFilteredOutNoMessageAttributes, metricNumberOfNotificationsFilteredOutNoMessageAttributes, metricPublishSize, metricPublishSize, metricSMSMonthToDateSpentUSD, metricSMSMonthToDateSpentUSD, metricSMSSuccessRate, metricSMSSuccessRateapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Topic(software.amazon.jsii.JsiiObjectRef objRef)
protected Topic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Topic(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
TopicProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public Topic(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static ITopic fromTopicArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String topicArn)
scope - The parent creating construct. This parameter is required.id - The construct's name. This parameter is required.topicArn - topic ARN (i.e. arn:aws:sns:us-east-2:444455556666:MyTopic). This parameter is required.@Stability(value=Experimental) @NotNull protected Boolean getAutoCreatePolicy()
Set by subclasses.
getAutoCreatePolicy in class TopicBase@Stability(value=Experimental) @NotNull public String getTopicArn()
getTopicArn in interface ITopicgetTopicArn in class TopicBase@Stability(value=Experimental) @NotNull public String getTopicName()
getTopicName in interface ITopicgetTopicName in class TopicBaseCopyright © 2021. All rights reserved.