Interface CfnTopic.LoggingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopic.LoggingConfigProperty.Jsii$Proxy
- Enclosing class:
CfnTopic
@Stability(Stable)
public static interface CfnTopic.LoggingConfigProperty
extends software.amazon.jsii.JsiiSerializable
The
LoggingConfig
property type specifies the Delivery
status logging configuration for an AWS::SNS::Topic
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sns.*; LoggingConfigProperty loggingConfigProperty = LoggingConfigProperty.builder() .protocol("protocol") // the properties below are optional .failureFeedbackRoleArn("failureFeedbackRoleArn") .successFeedbackRoleArn("successFeedbackRoleArn") .successFeedbackSampleRate("successFeedbackSampleRate") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopic.LoggingConfigProperty
static final class
An implementation forCfnTopic.LoggingConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch.Indicates one of the supported protocols for the Amazon SNS topic.default String
The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.default String
The percentage of successful message deliveries to be logged in Amazon CloudWatch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProtocol
Indicates one of the supported protocols for the Amazon SNS topic.At least one of the other three
LoggingConfig
properties is recommend along withProtocol
.- See Also:
-
getFailureFeedbackRoleArn
The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch.- See Also:
-
getSuccessFeedbackRoleArn
The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.- See Also:
-
getSuccessFeedbackSampleRate
The percentage of successful message deliveries to be logged in Amazon CloudWatch.Valid percentage values range from 0 to 100.
- See Also:
-
builder
-