AWS::SNS::Topic LoggingConfig - AWS CloudFormation

AWS::SNS::Topic LoggingConfig

The LoggingConfig property type specifies the Delivery status logging configuration for an AWS::SNS::Topic.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "FailureFeedbackRoleArn" : String, "Protocol" : String, "SuccessFeedbackRoleArn" : String, "SuccessFeedbackSampleRate" : String }

Properties

FailureFeedbackRoleArn

The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch.

Required: No

Type: String

Update requires: No interruption

Protocol

Indicates one of the supported protocols for the Amazon SNS topic.

Note

At least one of the other three LoggingConfig properties is recommend along with Protocol.

Required: Yes

Type: String

Allowed values: http/s | sqs | lambda | firehose | application

Update requires: No interruption

SuccessFeedbackRoleArn

The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.

Required: No

Type: String

Update requires: No interruption

SuccessFeedbackSampleRate

The percentage of successful message deliveries to be logged in Amazon CloudWatch. Valid percentage values range from 0 to 100.

Required: No

Type: String

Update requires: No interruption