TopicSubscriptionArgs constructor

const TopicSubscriptionArgs({
  1. Input<int?>? confirmationTimeoutInMinutes,
  2. Input<String?>? deliveryPolicy,
  3. required Input<String> endpoint,
  4. Input<bool?>? endpointAutoConfirms,
  5. Input<String?>? filterPolicy,
  6. Input<String?>? filterPolicyScope,
  7. required Input<String> protocol,
  8. Input<bool?>? rawMessageDelivery,
  9. Input<String?>? redrivePolicy,
  10. Input<String?>? region,
  11. Input<String?>? replayPolicy,
  12. Input<String?>? subscriptionRoleArn,
  13. required Input topic,
})

Creates a new TopicSubscriptionArgs. confirmationTimeoutInMinutes 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 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 for more details. endpoint Endpoint to send data to. The contents vary with the protocol. See details below. endpointAutoConfirms Whether the endpoint is capable of auto confirming subscription (e.g., PagerDuty). Default is false. filterPolicy 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 for more details. filterPolicyScope Whether the filterPolicy applies to MessageAttributes (default) or MessageBody. protocol 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 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 JSON String with the redrive policy that will be used in the subscription. Refer to the SNS docs for more details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. replayPolicy JSON String with the archived message replay policy that will be used in the subscription. Refer to the SNS docs for more details. subscriptionRoleArn ARN of the IAM role to publish to Kinesis Data Firehose delivery stream. Refer to SNS docs. topic ARN of the SNS topic to subscribe to.

Implementation

const TopicSubscriptionArgs({
  this.confirmationTimeoutInMinutes,
  this.deliveryPolicy,
  required this.endpoint,
  this.endpointAutoConfirms,
  this.filterPolicy,
  this.filterPolicyScope,
  required this.protocol,
  this.rawMessageDelivery,
  this.redrivePolicy,
  this.region,
  this.replayPolicy,
  this.subscriptionRoleArn,
  required this.topic,
});