interface LoggingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins.CfnTopicPropsMixin.LoggingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssns/mixins#CfnTopicPropsMixin_LoggingConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.sns.mixins.CfnTopicPropsMixin.LoggingConfigProperty |
Python | aws_cdk.mixins_preview.aws_sns.mixins.CfnTopicPropsMixin.LoggingConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sns » mixins » CfnTopicPropsMixin » LoggingConfigProperty |
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 { mixins as sns_mixins } from '@aws-cdk/mixins-preview/aws-sns';
const loggingConfigProperty: sns_mixins.CfnTopicPropsMixin.LoggingConfigProperty = {
failureFeedbackRoleArn: 'failureFeedbackRoleArn',
protocol: 'protocol',
successFeedbackRoleArn: 'successFeedbackRoleArn',
successFeedbackSampleRate: 'successFeedbackSampleRate',
};
Properties
| Name | Type | Description |
|---|---|---|
| failure | string | The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch. |
| protocol? | string | Indicates one of the supported protocols for the Amazon SNS topic. |
| success | string | The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch. |
| success | string | The percentage of successful message deliveries to be logged in Amazon CloudWatch. |
failureFeedbackRoleArn?
Type:
string
(optional)
The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch.
protocol?
Type:
string
(optional)
Indicates one of the supported protocols for the Amazon SNS topic.
At least one of the other three
LoggingConfigproperties is recommend along withProtocol.
successFeedbackRoleArn?
Type:
string
(optional)
The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.
successFeedbackSampleRate?
Type:
string
(optional)
The percentage of successful message deliveries to be logged in Amazon CloudWatch.
Valid percentage values range from 0 to 100.

.NET
Go
Java
Python
TypeScript