alicloud_ens_nat_gateway

Nivis 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_id
  • network_id
  • vswitch_id
Optional arguments
  • id (defaults to null)
  • instance_type (defaults to null)
  • nat_name (defaults to null)
  • timeouts (defaults to null)
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.