Interface CfnTopic.ISubscriptionProperty
Subscription
is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubscriptionProperty
Syntax (vb)
Public Interface ISubscriptionProperty
Remarks
For full control over subscription behavior (for example, delivery policy, filtering, raw message delivery, and cross-region subscriptions), use the AWS::SNS::Subscription resource.
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.AWS.SNS;
var subscriptionProperty = new SubscriptionProperty {
Endpoint = "endpoint",
Protocol = "protocol"
};
Synopsis
Properties
Endpoint | The endpoint that receives notifications from the Amazon SNS topic. |
Protocol | The subscription's protocol. |
Properties
Endpoint
The endpoint that receives notifications from the Amazon SNS topic.
string Endpoint { get; }
Property Value
System.String
Remarks
The endpoint value depends on the protocol that you specify. For more information, see the Endpoint
parameter of the Subscribe
action in the Amazon SNS API Reference .
Protocol
The subscription's protocol.
string Protocol { get; }
Property Value
System.String
Remarks
For more information, see the Protocol
parameter of the Subscribe
action in the Amazon SNS API Reference .