alicloud_snat_entry

Nivis Nix constructor for the alicloud_snat_entry 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,
  snat_ip,
  snat_table_id,
  eip_affinity ? null,
  id ? null,
  snat_entry_name ? null,
  source_cidr ? null,
  source_vswitch_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • snat_ip
  • snat_table_id
Optional arguments
  • eip_affinity (defaults to null)
  • id (defaults to null)
  • snat_entry_name (defaults to null)
  • source_cidr (defaults to null)
  • source_vswitch_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • snat_entry_id
  • status
Example
alicloud_snat_entry {
  name = "snat_entry";
  snat_ip = …;  # required
  snat_table_id = …;  # required
}

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