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