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