EmailSubscriptionProps

class aws_cdk.aws_sns_subscriptions.EmailSubscriptionProps(*, dead_letter_queue=None, filter_policy=None, json=None)

Bases: aws_cdk.aws_sns_subscriptions.SubscriptionProps

Options for email subscriptions.

Parameters
  • dead_letter_queue (Optional[IQueue]) – Queue to be used as dead letter queue. If not passed no dead letter queue is enabled. Default: - No dead letter queue enabled.

  • filter_policy (Optional[Mapping[str, SubscriptionFilter]]) – The filter policy. Default: - all messages are delivered

  • json (Optional[bool]) – Indicates if the full notification JSON should be sent to the email address or just the message text. Default: false (Message text)

Attributes

dead_letter_queue

Queue to be used as dead letter queue.

If not passed no dead letter queue is enabled.

default :default: - No dead letter queue enabled.

Return type

Optional[IQueue]

filter_policy

The filter policy.

default :default: - all messages are delivered

Return type

Optional[Mapping[str, SubscriptionFilter]]

json

Indicates if the full notification JSON should be sent to the email address or just the message text.

default :default: false (Message text)

Return type

Optional[bool]