alicloud_ens_nat_gatewayNivis Nix constructor for the alicloud_ens_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,
ens_region_id,
network_id,
vswitch_id,
id ? null,
instance_type ? null,
nat_name ? null,
timeouts ? null,
overrides ? {}
}Required arguments
ens_region_idnetwork_idvswitch_id
Optional arguments
id(defaults tonull)instance_type(defaults tonull)nat_name(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_time
Example
alicloud_ens_nat_gateway {
name = "ens_nat_gateway";
ens_region_id = …; # required
network_id = …; # required
vswitch_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.