aws_cognito_user_pool_domain

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

Read these from the resource's refAttr:

  • aws_account_id
  • cloudfront_distribution
  • cloudfront_distribution_arn
  • cloudfront_distribution_zone_id
  • s3_bucket
  • version
Example
aws_cognito_user_pool_domain {
  name = "cognito_user_pool_domain";
  domain = …;  # required
  user_pool_id = …;  # required
}

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