aws_cognito_identity_pool_roles_attachment

Nivis 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_id
  • roles
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • role_mapping (defaults to null)
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.