UrlSubscriptionProps

class aws_cdk.aws_sns_subscriptions.UrlSubscriptionProps(*, filter_policy=None, protocol=None, raw_message_delivery=None)

Bases: aws_cdk.aws_sns_subscriptions.SubscriptionProps

__init__(*, filter_policy=None, protocol=None, raw_message_delivery=None)

Options for URL subscriptions.

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

  • protocol (Optional[SubscriptionProtocol]) – The subscription’s protocol. Default: - Protocol is derived from url

  • raw_message_delivery (Optional[bool]) – The message to the queue is the same as it was sent to the topic. If false, the message will be wrapped in an SNS envelope. Default: false

Attributes

filter_policy

The filter policy.

default :default: - all messages are delivered

Return type

Optional[Mapping[str, SubscriptionFilter]]

protocol

The subscription’s protocol.

default :default: - Protocol is derived from url

Return type

Optional[SubscriptionProtocol]

raw_message_delivery

The message to the queue is the same as it was sent to the topic.

If false, the message will be wrapped in an SNS envelope.

default :default: false

Return type

Optional[bool]