Interface ITopic.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,INotificationRuleTarget,INotificationRuleTarget.Jsii$Default,IResource,IResource.Jsii$Default,ITopic,ITopicRef,ITopicRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ITopic.Jsii$Proxy
- Enclosing interface:
ITopic
@Internal
public static interface ITopic.Jsii$Default
extends ITopic, IResource.Jsii$Default, ITopicRef.Jsii$Default, INotificationRuleTarget.Jsii$Default
Internal default implementation for
ITopic.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleTarget
INotificationRuleTarget.Jsii$Default, INotificationRuleTarget.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.sns.ITopic
ITopic.Jsii$Default, ITopic.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sns.ITopicRef
ITopicRef.Jsii$Default, ITopicRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault SubscriptionaddSubscription(ITopicSubscription subscription) Subscribe some endpoint to this topic.default AddToResourcePolicyResultaddToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic.default BooleanEnables content-based deduplication for FIFO topics.default BooleangetFifo()Whether this topic is an Amazon SNS FIFO queue.default IKeyA KMS Key, either managed by this CDK app, or imported.default StringThe ARN of the topic.default StringThe name of the topic.default GrantgrantPublish(IGrantable identity) Grant topic publishing permissions to the given identity.default GrantgrantSubscribe(IGrantable identity) Grant topic subscribing permissions to the given identity.default MetricReturn the given named metric for this Topic.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this Topic.default MetricThe number of messages published to your Amazon SNS topics.default MetricThe number of messages published to your Amazon SNS topics.default MetricThe number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.default MetricThe number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.default MetricThe number of messages that Amazon SNS failed to deliver.default MetricThe number of messages that Amazon SNS failed to deliver.default MetricThe number of messages that were rejected by subscription filter policies.default MetricThe number of messages that were rejected by subscription filter policies.default MetricThe number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.default MetricThe number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.default MetricThe number of messages that were rejected by subscription filter policies because the messages have no attributes.default MetricThe number of messages that were rejected by subscription filter policies because the messages have no attributes.default MetricMetric for the size of messages published through this topic.default MetricmetricPublishSize(MetricOptions props) Metric for the size of messages published through this topic.default MetricThe charges you have accrued since the start of the current calendar month for sending SMS messages.default MetricThe charges you have accrued since the start of the current calendar month for sending SMS messages.default MetricThe rate of successful SMS message deliveries.default MetricThe rate of successful SMS message deliveries.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleTarget.Jsii$Default
bindAsNotificationRuleTargetMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.interfaces.sns.ITopicRef.Jsii$Default
getTopicRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContentBasedDeduplication
Enables content-based deduplication for FIFO topics.- Specified by:
getContentBasedDeduplicationin interfaceITopic
-
getFifo
Whether this topic is an Amazon SNS FIFO queue.If false, this is a standard topic.
-
getTopicArn
The ARN of the topic.- Specified by:
getTopicArnin interfaceITopic
-
getTopicName
The name of the topic.- Specified by:
getTopicNamein interfaceITopic
-
getMasterKey
A KMS Key, either managed by this CDK app, or imported.This property applies only to server-side encryption.
Default: None
- Specified by:
getMasterKeyin interfaceITopic- See Also:
-
addSubscription
@Stability(Stable) @NotNull default Subscription addSubscription(@NotNull ITopicSubscription subscription) Subscribe some endpoint to this topic.- Specified by:
addSubscriptionin interfaceITopic- Parameters:
subscription- This parameter is required.
-
addToResourcePolicy
@Stability(Stable) @NotNull default AddToResourcePolicyResult addToResourcePolicy(@NotNull PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic.If this topic was created in this stack (
new Topic), a topic policy will be automatically created upon the first call toaddToResourcePolicy. If the topic is imported (Topic.import), then this is a no-op.- Specified by:
addToResourcePolicyin interfaceITopic- Parameters:
statement- This parameter is required.
-
grantPublish
Grant topic publishing permissions to the given identity.- Specified by:
grantPublishin interfaceITopic- Parameters:
identity- This parameter is required.
-
grantSubscribe
Grant topic subscribing permissions to the given identity.- Specified by:
grantSubscribein interfaceITopic- Parameters:
identity- This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this Topic. -
metric
Return the given named metric for this Topic. -
metricNumberOfMessagesPublished
@Stability(Stable) @NotNull default Metric metricNumberOfMessagesPublished(@Nullable MetricOptions props) The number of messages published to your Amazon SNS topics.Sum over 5 minutes
- Specified by:
metricNumberOfMessagesPublishedin interfaceITopic- Parameters:
props-
-
metricNumberOfMessagesPublished
The number of messages published to your Amazon SNS topics.Sum over 5 minutes
- Specified by:
metricNumberOfMessagesPublishedin interfaceITopic
-
metricNumberOfNotificationsDelivered
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsDelivered(@Nullable MetricOptions props) The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsDeliveredin interfaceITopic- Parameters:
props-
-
metricNumberOfNotificationsDelivered
The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsDeliveredin interfaceITopic
-
metricNumberOfNotificationsFailed
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsFailed(@Nullable MetricOptions props) The number of messages that Amazon SNS failed to deliver.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFailedin interfaceITopic- Parameters:
props-
-
metricNumberOfNotificationsFailed
The number of messages that Amazon SNS failed to deliver.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFailedin interfaceITopic
-
metricNumberOfNotificationsFilteredOut
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsFilteredOut(@Nullable MetricOptions props) The number of messages that were rejected by subscription filter policies.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFilteredOutin interfaceITopic- Parameters:
props-
-
metricNumberOfNotificationsFilteredOut
The number of messages that were rejected by subscription filter policies.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFilteredOutin interfaceITopic
-
metricNumberOfNotificationsFilteredOutInvalidAttributes
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsFilteredOutInvalidAttributes(@Nullable MetricOptions props) The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFilteredOutInvalidAttributesin interfaceITopic- Parameters:
props-
-
metricNumberOfNotificationsFilteredOutInvalidAttributes
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsFilteredOutInvalidAttributes()The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFilteredOutInvalidAttributesin interfaceITopic
-
metricNumberOfNotificationsFilteredOutNoMessageAttributes
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsFilteredOutNoMessageAttributes(@Nullable MetricOptions props) The number of messages that were rejected by subscription filter policies because the messages have no attributes.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFilteredOutNoMessageAttributesin interfaceITopic- Parameters:
props-
-
metricNumberOfNotificationsFilteredOutNoMessageAttributes
@Stability(Stable) @NotNull default Metric metricNumberOfNotificationsFilteredOutNoMessageAttributes()The number of messages that were rejected by subscription filter policies because the messages have no attributes.Sum over 5 minutes
- Specified by:
metricNumberOfNotificationsFilteredOutNoMessageAttributesin interfaceITopic
-
metricPublishSize
Metric for the size of messages published through this topic.Average over 5 minutes
- Specified by:
metricPublishSizein interfaceITopic- Parameters:
props-
-
metricPublishSize
Metric for the size of messages published through this topic.Average over 5 minutes
- Specified by:
metricPublishSizein interfaceITopic
-
metricSMSMonthToDateSpentUSD
@Stability(Stable) @NotNull default Metric metricSMSMonthToDateSpentUSD(@Nullable MetricOptions props) The charges you have accrued since the start of the current calendar month for sending SMS messages.Maximum over 5 minutes
- Specified by:
metricSMSMonthToDateSpentUSDin interfaceITopic- Parameters:
props-
-
metricSMSMonthToDateSpentUSD
The charges you have accrued since the start of the current calendar month for sending SMS messages.Maximum over 5 minutes
- Specified by:
metricSMSMonthToDateSpentUSDin interfaceITopic
-
metricSMSSuccessRate
The rate of successful SMS message deliveries.Sum over 5 minutes
- Specified by:
metricSMSSuccessRatein interfaceITopic- Parameters:
props-
-
metricSMSSuccessRate
The rate of successful SMS message deliveries.Sum over 5 minutes
- Specified by:
metricSMSSuccessRatein interfaceITopic
-