Package com.pulumi.aws.sns.inputs
Class TopicSubscriptionState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.sns.inputs.TopicSubscriptionState
-
public final class TopicSubscriptionState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TopicSubscriptionState.Builder
-
Field Summary
Fields Modifier and Type Field Description static TopicSubscriptionState
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
arn()
static TopicSubscriptionState.Builder
builder()
static TopicSubscriptionState.Builder
builder(TopicSubscriptionState defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
confirmationTimeoutInMinutes()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
confirmationWasAuthenticated()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
deliveryPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
endpoint()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
endpointAutoConfirms()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
filterPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
filterPolicyScope()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
ownerId()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
pendingConfirmation()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
protocol()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
rawMessageDelivery()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
redrivePolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
replayPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
subscriptionRoleArn()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
topic()
-
-
-
Field Detail
-
Empty
public static final TopicSubscriptionState Empty
-
-
Method Detail
-
arn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
- Returns:
- ARN of the subscription.
-
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`.
-
confirmationWasAuthenticated
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> confirmationWasAuthenticated()
- Returns:
- Whether the subscription confirmation request was authenticated.
-
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 java.util.Optional<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.
-
filterPolicyScope
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filterPolicyScope()
- Returns:
- Whether the `filter_policy` applies to `MessageAttributes` (default) or `MessageBody`.
-
ownerId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()
- Returns:
- AWS account ID of the subscription's owner.
-
pendingConfirmation
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> pendingConfirmation()
- Returns:
- Whether the subscription has not been confirmed.
-
protocol
public java.util.Optional<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.
-
replayPolicy
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> replayPolicy()
- Returns:
- JSON String with the archived message replay policy that will be used in the subscription. Refer to the [SNS docs](https://docs.aws.amazon.com/sns/latest/dg/message-archiving-and-replay-subscriber.html) 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 java.util.Optional<com.pulumi.core.Output<java.lang.String>> topic()
- Returns:
- ARN of the SNS topic to subscribe to. The following arguments are optional:
-
builder
public static TopicSubscriptionState.Builder builder()
-
builder
public static TopicSubscriptionState.Builder builder(TopicSubscriptionState defaults)
-
-