aws_pinpointsmsvoicev2_phone_numberNivis 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_codemessage_typenumber_capabilitiesnumber_type
Optional arguments
deletion_protection_enabled(defaults tonull)force_disassociate(defaults tonull)opt_out_list_name(defaults tonull)region(defaults tonull)registration_id(defaults tonull)self_managed_opt_outs_enabled(defaults tonull)tags(defaults tonull)two_way_channel_arn(defaults tonull)two_way_channel_enabled(defaults tonull)two_way_channel_role(defaults tonull)wait_for_active(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnidmonthly_leasing_pricephone_numberstatustags_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.