SubscriptionProtocol

class aws_cdk.aws_sns.SubscriptionProtocol(value)

Bases: enum.Enum

The type of subscription, controlling the type of the endpoint parameter.

Attributes

APPLICATION

JSON-encoded notifications are sent to a mobile app endpoint.

EMAIL

Notifications are sent via email.

EMAIL_JSON

Notifications are JSON-encoded and sent via mail.

HTTP

JSON-encoded message is POSTED to an HTTP url.

HTTPS

JSON-encoded message is POSTed to an HTTPS url.

LAMBDA

Notifications trigger a Lambda function.

SMS

Notification is delivered by SMS.

SQS

Notifications are enqueued into an SQS queue.