TopicSubscriptionArgs

data class TopicSubscriptionArgs(val endpoint: Output<String>, val protocol: Output<String>) : ConvertibleToJava<TopicSubscriptionArgs>

`Subscription` is an embedded property that describes the subscription endpoints of an SNS topic. For full control over subscription behavior (for example, delivery policy, filtering, raw message delivery, and cross-region subscriptions), use the AWS::SNS::Subscription resource.

Constructors

Link copied to clipboard
constructor(endpoint: Output<String>, protocol: Output<String>)

Properties

Link copied to clipboard
val endpoint: Output<String>

The endpoint that receives notifications from the SNS topic. The endpoint value depends on the protocol that you specify. For more information, see the `Endpoint` parameter of the `Subscribe` action in the API Reference.

Link copied to clipboard
val protocol: Output<String>

The subscription's protocol. For more information, see the `Protocol` parameter of the `Subscribe` action in the API Reference.

Functions

Link copied to clipboard
open override fun toJava(): TopicSubscriptionArgs