Class TopicSubscriptionArgs


  • public final class TopicSubscriptionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • confirmationTimeoutInMinutes

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> confirmationTimeoutInMinutes()
        Returns:
        Integer indicating number of minutes to wait in retrying mode for fetching subscription arn before marking it as failure. Only applicable for http and https protocols. Default is `1`.
      • deliveryPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deliveryPolicy()
        Returns:
        JSON String with the delivery policy (retries, backoff, etc.) that will be used in the subscription - this only applies to HTTP/S subscriptions. Refer to the [SNS docs](https://docs.aws.amazon.com/sns/latest/dg/DeliveryPolicies.html) for more details.
      • endpoint

        public com.pulumi.core.Output<java.lang.String> endpoint()
        Returns:
        Endpoint to send data to. The contents vary with the protocol. See details below.
      • endpointAutoConfirms

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> endpointAutoConfirms()
        Returns:
        Whether the endpoint is capable of [auto confirming subscription](http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html#SendMessageToHttp.prepare) (e.g., PagerDuty). Default is `false`.
      • filterPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filterPolicy()
        Returns:
        JSON String with the filter policy that will be used in the subscription to filter messages seen by the target resource. Refer to the [SNS docs](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for more details.
      • protocol

        public com.pulumi.core.Output<java.lang.String> protocol()
        Returns:
        Protocol to use. Valid values are: `sqs`, `sms`, `lambda`, `firehose`, and `application`. Protocols `email`, `email-json`, `http` and `https` are also valid but partially supported. See details below.
      • rawMessageDelivery

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> rawMessageDelivery()
        Returns:
        Whether to enable raw message delivery (the original message is directly passed, not wrapped in JSON with the original message in the message property). Default is `false`.
      • redrivePolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> redrivePolicy()
        Returns:
        JSON String with the redrive policy that will be used in the subscription. Refer to the [SNS docs](https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html#how-messages-moved-into-dead-letter-queue) for more details.
      • subscriptionRoleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subscriptionRoleArn()
        Returns:
        ARN of the IAM role to publish to Kinesis Data Firehose delivery stream. Refer to [SNS docs](https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html).
      • topic

        public com.pulumi.core.Output<java.lang.String> topic()
        Returns:
        ARN of the SNS topic to subscribe to.