LoggingProtocol

class aws_cdk.aws_sns.LoggingProtocol(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The type of supported protocol for delivery status logging.

ExampleMetadata:

infused

Example:

# role: iam.Role

topic = sns.Topic(self, "MyTopic",
    logging_configs=[sns.LoggingConfig(
        protocol=sns.LoggingProtocol.SQS,
        failure_feedback_role=role,
        success_feedback_role=role,
        success_feedback_sample_rate=50
    )
    ]
)

Attributes

APPLICATION

Platform application endpoint.

FIREHOSE

Amazon Kinesis Data Firehose.

HTTP

HTTP.

LAMBDA

AWS Lambda.

SQS

Amazon Simple Queue Service.