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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopic.LoggingConfigPropertystatic final classAn implementation forCfnTopic.LoggingConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe 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 StringThe IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.default StringThe 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
LoggingConfigproperties 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
-