@Internal public static final class ITopic.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ITopic.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeITopic.Jsii$Default, ITopic.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubscription(ITopicSubscription subscription)
(experimental) Subscribe some endpoint to this topic.
|
AddToResourcePolicyResult |
addToResourcePolicy(PolicyStatement statement)
(experimental) Adds a statement to the IAM resource policy associated with this topic.
|
ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
software.constructs.Node |
getNode()
The tree node.
|
Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
String |
getTopicArn()
(experimental) The ARN of the topic.
|
String |
getTopicName()
(experimental) The name of the topic.
|
Grant |
grantPublish(IGrantable identity)
(experimental) Grant topic publishing permissions to the given identity.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this Topic.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this Topic.
|
Metric |
metricNumberOfMessagesPublished()
(experimental) The number of messages published to your Amazon SNS topics.
|
Metric |
metricNumberOfMessagesPublished(MetricOptions props)
(experimental) The number of messages published to your Amazon SNS topics.
|
Metric |
metricNumberOfNotificationsDelivered()
(experimental) The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
|
Metric |
metricNumberOfNotificationsDelivered(MetricOptions props)
(experimental) The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
|
Metric |
metricNumberOfNotificationsFailed()
(experimental) The number of messages that Amazon SNS failed to deliver.
|
Metric |
metricNumberOfNotificationsFailed(MetricOptions props)
(experimental) The number of messages that Amazon SNS failed to deliver.
|
Metric |
metricNumberOfNotificationsFilteredOut()
(experimental) The number of messages that were rejected by subscription filter policies.
|
Metric |
metricNumberOfNotificationsFilteredOut(MetricOptions props)
(experimental) The number of messages that were rejected by subscription filter policies.
|
Metric |
metricNumberOfNotificationsFilteredOutInvalidAttributes()
(experimental) The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
|
Metric |
metricNumberOfNotificationsFilteredOutInvalidAttributes(MetricOptions props)
(experimental) The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
|
Metric |
metricNumberOfNotificationsFilteredOutNoMessageAttributes()
(experimental) The number of messages that were rejected by subscription filter policies because the messages have no attributes.
|
Metric |
metricNumberOfNotificationsFilteredOutNoMessageAttributes(MetricOptions props)
(experimental) The number of messages that were rejected by subscription filter policies because the messages have no attributes.
|
Metric |
metricPublishSize()
(experimental) Metric for the size of messages published through this topic.
|
Metric |
metricPublishSize(MetricOptions props)
(experimental) Metric for the size of messages published through this topic.
|
Metric |
metricSMSMonthToDateSpentUSD()
(experimental) The charges you have accrued since the start of the current calendar month for sending SMS messages.
|
Metric |
metricSMSMonthToDateSpentUSD(MetricOptions props)
(experimental) The charges you have accrued since the start of the current calendar month for sending SMS messages.
|
Metric |
metricSMSSuccessRate()
(experimental) The rate of successful SMS message deliveries.
|
Metric |
metricSMSSuccessRate(MetricOptions props)
(experimental) The rate of successful SMS message deliveries.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface ITopic.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Experimental) @NotNull public final ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface ITopic.Jsii$Default@Stability(value=Experimental) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface ITopic.Jsii$Default@Stability(value=Experimental) @NotNull public final String getTopicArn()
getTopicArn in interface ITopicgetTopicArn in interface ITopic.Jsii$Default@Stability(value=Experimental) @NotNull public final String getTopicName()
getTopicName in interface ITopicgetTopicName in interface ITopic.Jsii$Default@Stability(value=Experimental)
public final void addSubscription(@NotNull
ITopicSubscription subscription)
addSubscription in interface ITopicaddSubscription in interface ITopic.Jsii$Defaultsubscription - This parameter is required.@Stability(value=Experimental) @NotNull public final AddToResourcePolicyResult addToResourcePolicy(@NotNull PolicyStatement statement)
If this topic was created in this stack (new Topic), a topic policy
will be automatically created upon the first call to addToPolicy. If
the topic is imported (Topic.import), then this is a no-op.
addToResourcePolicy in interface ITopicaddToResourcePolicy in interface ITopic.Jsii$Defaultstatement - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantPublish(@NotNull IGrantable identity)
grantPublish in interface ITopicgrantPublish in interface ITopic.Jsii$Defaultidentity - This parameter is required.@Stability(value=Experimental) @NotNull public final Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metric in interface ITopicmetric in interface ITopic.Jsii$DefaultmetricName - This parameter is required.props - @Stability(value=Experimental) @NotNull public final Metric metric(@NotNull String metricName)
@Stability(value=Experimental) @NotNull public final Metric metricNumberOfMessagesPublished(@Nullable MetricOptions props)
Sum over 5 minutes
metricNumberOfMessagesPublished in interface ITopicmetricNumberOfMessagesPublished in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricNumberOfMessagesPublished()
Sum over 5 minutes
metricNumberOfMessagesPublished in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsDelivered(@Nullable MetricOptions props)
Sum over 5 minutes
metricNumberOfNotificationsDelivered in interface ITopicmetricNumberOfNotificationsDelivered in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsDelivered()
Sum over 5 minutes
metricNumberOfNotificationsDelivered in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFailed(@Nullable MetricOptions props)
Sum over 5 minutes
metricNumberOfNotificationsFailed in interface ITopicmetricNumberOfNotificationsFailed in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFailed()
Sum over 5 minutes
metricNumberOfNotificationsFailed in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFilteredOut(@Nullable MetricOptions props)
Sum over 5 minutes
metricNumberOfNotificationsFilteredOut in interface ITopicmetricNumberOfNotificationsFilteredOut in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFilteredOut()
Sum over 5 minutes
metricNumberOfNotificationsFilteredOut in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFilteredOutInvalidAttributes(@Nullable MetricOptions props)
Sum over 5 minutes
metricNumberOfNotificationsFilteredOutInvalidAttributes in interface ITopicmetricNumberOfNotificationsFilteredOutInvalidAttributes in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFilteredOutInvalidAttributes()
Sum over 5 minutes
metricNumberOfNotificationsFilteredOutInvalidAttributes in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFilteredOutNoMessageAttributes(@Nullable MetricOptions props)
Sum over 5 minutes
metricNumberOfNotificationsFilteredOutNoMessageAttributes in interface ITopicmetricNumberOfNotificationsFilteredOutNoMessageAttributes in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricNumberOfNotificationsFilteredOutNoMessageAttributes()
Sum over 5 minutes
metricNumberOfNotificationsFilteredOutNoMessageAttributes in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricPublishSize(@Nullable MetricOptions props)
Average over 5 minutes
metricPublishSize in interface ITopicmetricPublishSize in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricPublishSize()
Average over 5 minutes
metricPublishSize in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricSMSMonthToDateSpentUSD(@Nullable MetricOptions props)
Maximum over 5 minutes
metricSMSMonthToDateSpentUSD in interface ITopicmetricSMSMonthToDateSpentUSD in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricSMSMonthToDateSpentUSD()
Maximum over 5 minutes
metricSMSMonthToDateSpentUSD in interface ITopic@Stability(value=Experimental) @NotNull public final Metric metricSMSSuccessRate(@Nullable MetricOptions props)
Sum over 5 minutes
metricSMSSuccessRate in interface ITopicmetricSMSSuccessRate in interface ITopic.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull public final Metric metricSMSSuccessRate()
Sum over 5 minutes
metricSMSSuccessRate in interface ITopicCopyright © 2021. All rights reserved.