CfnSubscriptionProps

class aws_cdk.aws_sns.CfnSubscriptionProps(*, protocol, topic_arn, delivery_policy=None, endpoint=None, filter_policy=None, raw_message_delivery=None, redrive_policy=None, region=None, subscription_role_arn=None)

Bases: object

Properties for defining a AWS::SNS::Subscription.

Parameters
  • protocol (str) – AWS::SNS::Subscription.Protocol.

  • topic_arn (str) – AWS::SNS::Subscription.TopicArn.

  • delivery_policy (Optional[Any]) – AWS::SNS::Subscription.DeliveryPolicy.

  • endpoint (Optional[str]) – AWS::SNS::Subscription.Endpoint.

  • filter_policy (Optional[Any]) – AWS::SNS::Subscription.FilterPolicy.

  • raw_message_delivery (Union[bool, IResolvable, None]) – AWS::SNS::Subscription.RawMessageDelivery.

  • redrive_policy (Optional[Any]) – AWS::SNS::Subscription.RedrivePolicy.

  • region (Optional[str]) – AWS::SNS::Subscription.Region.

  • subscription_role_arn (Optional[str]) – AWS::SNS::Subscription.SubscriptionRoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html

Attributes

delivery_policy

AWS::SNS::Subscription.DeliveryPolicy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-deliverypolicy

Return type

Any

endpoint

AWS::SNS::Subscription.Endpoint.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-endpoint

Return type

Optional[str]

filter_policy

AWS::SNS::Subscription.FilterPolicy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-filterpolicy

Return type

Any

protocol

AWS::SNS::Subscription.Protocol.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-protocol

Return type

str

raw_message_delivery

AWS::SNS::Subscription.RawMessageDelivery.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-rawmessagedelivery

Return type

Union[bool, IResolvable, None]

redrive_policy

AWS::SNS::Subscription.RedrivePolicy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-redrivepolicy

Return type

Any

region

AWS::SNS::Subscription.Region.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-region

Return type

Optional[str]

subscription_role_arn

AWS::SNS::Subscription.SubscriptionRoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-subscriptionrolearn

Return type

Optional[str]

topic_arn

AWS::SNS::Subscription.TopicArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#topicarn

Return type

str