enum LoggingProtocol
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SNS.LoggingProtocol |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssns#LoggingProtocol |
Java | software.amazon.awscdk.services.sns.LoggingProtocol |
Python | aws_cdk.aws_sns.LoggingProtocol |
TypeScript (source) | aws-cdk-lib » aws_sns » LoggingProtocol |
The type of supported protocol for delivery status logging.
Example
declare const role: iam.Role;
const topic = new sns.Topic(this, 'MyTopic', {
loggingConfigs: [
{
protocol: sns.LoggingProtocol.SQS,
failureFeedbackRole: role,
successFeedbackRole: role,
successFeedbackSampleRate: 50,
},
],
});
Members
Name | Description |
---|---|
HTTP | HTTP. |
SQS | Amazon Simple Queue Service. |
LAMBDA | AWS Lambda. |
FIREHOSE | Amazon Kinesis Data Firehose. |
APPLICATION | Platform application endpoint. |
HTTP
HTTP.
SQS
Amazon Simple Queue Service.
LAMBDA
AWS Lambda.
FIREHOSE
Amazon Kinesis Data Firehose.
APPLICATION
Platform application endpoint.