aws_sns_topic_subscription

Nivis Nix constructor for the aws_sns_topic_subscription resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  endpoint,
  protocol,
  topic_arn,
  confirmation_timeout_in_minutes ? null,
  delivery_policy ? null,
  endpoint_auto_confirms ? null,
  filter_policy ? null,
  filter_policy_scope ? null,
  id ? null,
  raw_message_delivery ? null,
  redrive_policy ? null,
  region ? null,
  replay_policy ? null,
  subscription_role_arn ? null,
  overrides ? {}
}
Required arguments
  • endpoint
  • protocol
  • topic_arn
Optional arguments
  • confirmation_timeout_in_minutes (defaults to null)
  • delivery_policy (defaults to null)
  • endpoint_auto_confirms (defaults to null)
  • filter_policy (defaults to null)
  • filter_policy_scope (defaults to null)
  • id (defaults to null)
  • raw_message_delivery (defaults to null)
  • redrive_policy (defaults to null)
  • region (defaults to null)
  • replay_policy (defaults to null)
  • subscription_role_arn (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • confirmation_was_authenticated
  • owner_id
  • pending_confirmation
Example
aws_sns_topic_subscription {
  name = "sns_topic_subscription";
  endpoint = …;  # required
  protocol = …;  # required
  topic_arn = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.