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