SmsSubscriptionProps

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

Bases: aws_cdk.aws_sns_subscriptions.SubscriptionProps

__init__(*, dead_letter_queue=None, filter_policy=None)

Options for SMS 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

Return type

None

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]]