Interface CfnTopic.ILoggingConfigProperty
The LoggingConfig property type specifies the Delivery status logging configuration for an AWS::SNS::Topic .
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTopic.ILoggingConfigProperty
Syntax (vb)
Public Interface CfnTopic.ILoggingConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SNS;
var loggingConfigProperty = new LoggingConfigProperty {
Protocol = "protocol",
// the properties below are optional
FailureFeedbackRoleArn = "failureFeedbackRoleArn",
SuccessFeedbackRoleArn = "successFeedbackRoleArn",
SuccessFeedbackSampleRate = "successFeedbackSampleRate"
};
Synopsis
Properties
| FailureFeedbackRoleArn | The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch. |
| Protocol | Indicates one of the supported protocols for the Amazon SNS topic. |
| SuccessFeedbackRoleArn | The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch. |
| SuccessFeedbackSampleRate | The percentage of successful message deliveries to be logged in Amazon CloudWatch. |
Properties
FailureFeedbackRoleArn
The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch.
string? FailureFeedbackRoleArn { get; }
Property Value
Remarks
Protocol
Indicates one of the supported protocols for the Amazon SNS topic.
string Protocol { get; }
Property Value
Remarks
At least one of the other three <code>LoggingConfig</code> properties is recommend along with <code>Protocol</code> .
SuccessFeedbackRoleArn
The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch.
string? SuccessFeedbackRoleArn { get; }
Property Value
Remarks
SuccessFeedbackSampleRate
The percentage of successful message deliveries to be logged in Amazon CloudWatch.
string? SuccessFeedbackSampleRate { get; }
Property Value
Remarks
Valid percentage values range from 0 to 100.