aws_sns_topic_subscriptionNivis 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
endpointprotocoltopic_arn
Optional arguments
confirmation_timeout_in_minutes(defaults tonull)delivery_policy(defaults tonull)endpoint_auto_confirms(defaults tonull)filter_policy(defaults tonull)filter_policy_scope(defaults tonull)id(defaults tonull)raw_message_delivery(defaults tonull)redrive_policy(defaults tonull)region(defaults tonull)replay_policy(defaults tonull)subscription_role_arn(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnconfirmation_was_authenticatedowner_idpending_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.