alicloud_nat_gatewayNivis Nix constructor for the alicloud_nat_gateway resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
vpc_id,
availability_mode ? null,
deletion_protection ? null,
description ? null,
dry_run ? null,
eip_bind_mode ? null,
force ? null,
icmp_reply_enabled ? null,
id ? null,
instance_charge_type ? null,
internet_charge_type ? null,
cfg_name ? null,
nat_gateway_name ? null,
nat_type ? null,
network_type ? null,
payment_type ? null,
period ? null,
private_link_enabled ? null,
specification ? null,
tags ? null,
vswitch_id ? null,
access_mode ? null,
timeouts ? null,
overrides ? {}
}Required arguments
vpc_id
Optional arguments
availability_mode(defaults tonull)deletion_protection(defaults tonull)description(defaults tonull)dry_run(defaults tonull)eip_bind_mode(defaults tonull)force(defaults tonull)icmp_reply_enabled(defaults tonull)id(defaults tonull)instance_charge_type(defaults tonull)internet_charge_type(defaults tonull)cfg_name(defaults tonull)nat_gateway_name(defaults tonull)nat_type(defaults tonull)network_type(defaults tonull)payment_type(defaults tonull)period(defaults tonull)private_link_enabled(defaults tonull)specification(defaults tonull)tags(defaults tonull)vswitch_id(defaults tonull)access_mode(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
forward_table_idssnat_table_idsstatus
Example
alicloud_nat_gateway {
name = "nat_gateway";
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.