aws_pinpointsmsvoicev2_phone_number

Nivis Nix constructor for the aws_pinpointsmsvoicev2_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,
  iso_country_code,
  message_type,
  number_capabilities,
  number_type,
  deletion_protection_enabled ? null,
  force_disassociate ? null,
  opt_out_list_name ? null,
  region ? null,
  registration_id ? null,
  self_managed_opt_outs_enabled ? null,
  tags ? null,
  two_way_channel_arn ? null,
  two_way_channel_enabled ? null,
  two_way_channel_role ? null,
  wait_for_active ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • iso_country_code
  • message_type
  • number_capabilities
  • number_type
Optional arguments
  • deletion_protection_enabled (defaults to null)
  • force_disassociate (defaults to null)
  • opt_out_list_name (defaults to null)
  • region (defaults to null)
  • registration_id (defaults to null)
  • self_managed_opt_outs_enabled (defaults to null)
  • tags (defaults to null)
  • two_way_channel_arn (defaults to null)
  • two_way_channel_enabled (defaults to null)
  • two_way_channel_role (defaults to null)
  • wait_for_active (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • id
  • monthly_leasing_price
  • phone_number
  • status
  • tags_all
Example
aws_pinpointsmsvoicev2_phone_number {
  name = "pinpointsmsvoicev2_phone_number";
  iso_country_code = …;  # required
  message_type = …;  # required
  number_capabilities = …;  # required
  number_type = …;  # required
}

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