aws_sns_topic_policyNivis Nix constructor for the aws_sns_topic_policy 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, arn, policy, id ? null, region ? null, overrides ? {} }Required arguments
arnpolicy
Optional arguments
id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
owner
Example
aws_sns_topic_policy {
name = "sns_topic_policy";
arn = …; # required
policy = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.