aws_cognito_resource_server

Nivis Nix constructor for the aws_cognito_resource_server 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,
  identifier,
  user_pool_id,
  id ? null,
  cfg_name ? null,
  region ? null,
  scope ? null,
  overrides ? {}
}
Required arguments
  • identifier
  • user_pool_id
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • scope (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • scope_identifiers
Example
aws_cognito_resource_server {
  name = "cognito_resource_server";
  identifier = …;  # required
  user_pool_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.