aws_connect_phone_number

Nivis Nix constructor for the aws_connect_phone_number 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,
  country_code,
  target_arn,
  type,
  description ? null,
  id ? null,
  prefix ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • country_code
  • target_arn
  • type
Optional arguments
  • description (defaults to null)
  • id (defaults to null)
  • prefix (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • phone_number
  • status
Example
aws_connect_phone_number {
  name = "connect_phone_number";
  country_code = …;  # required
  target_arn = …;  # required
  type = …;  # required
}

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