All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sns.kotlin.outputs.TopicSubscription.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sns.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * ``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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html) resource.
 * @property endpoint 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*.
 * @property protocol The subscription's protocol. For more information, see the ``Protocol`` parameter of the ``Subscribe`` action in the *API Reference*.
 */
public data class TopicSubscription(
    public val endpoint: String,
    public val protocol: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sns.outputs.TopicSubscription): TopicSubscription = TopicSubscription(
            endpoint = javaType.endpoint(),
            protocol = javaType.protocol(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy