Class CfnSubscriptionPropsMixin
The AWS::SNS::Subscription resource subscribes an endpoint to an Amazon topic.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSubscriptionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSubscriptionPropsMixin Inherits Mixin Implements IMixin
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins;
var deliveryPolicy;
var filterPolicy;
var redrivePolicy;
var replayPolicy;
var cfnSubscriptionPropsMixin = new CfnSubscriptionPropsMixin(new CfnSubscriptionMixinProps {
DeliveryPolicy = deliveryPolicy,
Endpoint = "endpoint",
FilterPolicy = filterPolicy,
FilterPolicyScope = "filterPolicyScope",
Protocol = "protocol",
RawMessageDelivery = false,
RedrivePolicy = redrivePolicy,
Region = "region",
ReplayPolicy = replayPolicy,
SubscriptionRoleArn = "subscriptionRoleArn",
TopicArn = "topicArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnSubscriptionPropsMixin(ICfnSubscriptionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnSubscriptionPropsMixin(ICfnSubscriptionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::SNS::Subscription.
public CfnSubscriptionPropsMixin(ICfnSubscriptionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSubscriptionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::SNS::Subscription resource subscribes an endpoint to an Amazon topic.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins;
var deliveryPolicy;
var filterPolicy;
var redrivePolicy;
var replayPolicy;
var cfnSubscriptionPropsMixin = new CfnSubscriptionPropsMixin(new CfnSubscriptionMixinProps {
DeliveryPolicy = deliveryPolicy,
Endpoint = "endpoint",
FilterPolicy = filterPolicy,
FilterPolicyScope = "filterPolicyScope",
Protocol = "protocol",
RawMessageDelivery = false,
RedrivePolicy = redrivePolicy,
Region = "region",
ReplayPolicy = replayPolicy,
SubscriptionRoleArn = "subscriptionRoleArn",
TopicArn = "topicArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
The AWS::SNS::Subscription resource subscribes an endpoint to an Amazon topic.
protected virtual ICfnSubscriptionMixinProps Props { get; }
Property Value
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins;
var deliveryPolicy;
var filterPolicy;
var redrivePolicy;
var replayPolicy;
var cfnSubscriptionPropsMixin = new CfnSubscriptionPropsMixin(new CfnSubscriptionMixinProps {
DeliveryPolicy = deliveryPolicy,
Endpoint = "endpoint",
FilterPolicy = filterPolicy,
FilterPolicyScope = "filterPolicyScope",
Protocol = "protocol",
RawMessageDelivery = false,
RedrivePolicy = redrivePolicy,
Region = "region",
ReplayPolicy = replayPolicy,
SubscriptionRoleArn = "subscriptionRoleArn",
TopicArn = "topicArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
The AWS::SNS::Subscription resource subscribes an endpoint to an Amazon topic.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins;
var deliveryPolicy;
var filterPolicy;
var redrivePolicy;
var replayPolicy;
var cfnSubscriptionPropsMixin = new CfnSubscriptionPropsMixin(new CfnSubscriptionMixinProps {
DeliveryPolicy = deliveryPolicy,
Endpoint = "endpoint",
FilterPolicy = filterPolicy,
FilterPolicyScope = "filterPolicyScope",
Protocol = "protocol",
RawMessageDelivery = false,
RedrivePolicy = redrivePolicy,
Region = "region",
ReplayPolicy = replayPolicy,
SubscriptionRoleArn = "subscriptionRoleArn",
TopicArn = "topicArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
For a subscription to be created, the owner of the endpoint must` confirm the subscription.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html
CloudformationResource: AWS::SNS::Subscription
Mixin: true
ExampleMetadata: fixture=_generated