LoggingConfigProperty Struct
The LoggingConfig property type specifies the Delivery status logging configuration for an AWS::SNS::Topic .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sns as sns } from 'aws-cdk-lib';
const loggingConfigProperty: sns.CfnTopic.LoggingConfigProperty = {
protocol: 'protocol',
// the properties below are optional
failureFeedbackRoleArn: 'failureFeedbackRoleArn',
successFeedbackRoleArn: 'successFeedbackRoleArn',
successFeedbackSampleRate: 'successFeedbackSampleRate',
};
Properties
failureFeedbackRoleArnoptionalstringfailure_feedback_role_arnoptionalstrfailureFeedbackRoleArnoptionalStringFailureFeedbackRoleArnoptionalstringFailureFeedbackRoleArnoptional*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.
At least one of the other three
LoggingConfigproperties is recommend along withProtocol.
successFeedbackRoleArnoptionalstringsuccess_feedback_role_arnoptionalstrsuccessFeedbackRoleArnoptionalStringSuccessFeedbackRoleArnoptionalstringSuccessFeedbackRoleArnoptional*string#The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.
successFeedbackSampleRateoptionalstringsuccess_feedback_sample_rateoptionalstrsuccessFeedbackSampleRateoptionalStringSuccessFeedbackSampleRateoptionalstringSuccessFeedbackSampleRateoptional*string#The percentage of successful message deliveries to be logged in Amazon CloudWatch.
Valid percentage values range from 0 to 100.