pub struct NatGatewayResult {
pub allocation_id: Output<Option<String>>,
pub association_id: Output<String>,
pub connectivity_type: Output<Option<String>>,
pub network_interface_id: Output<String>,
pub private_ip: Output<String>,
pub public_ip: Output<String>,
pub secondary_allocation_ids: Output<Option<Vec<String>>>,
pub secondary_private_ip_address_count: Output<i32>,
pub secondary_private_ip_addresses: Output<Vec<String>>,
pub subnet_id: Output<String>,
pub tags: Output<Option<HashMap<String, String>>>,
pub tags_all: Output<HashMap<String, String>>,
}
Fields§
§allocation_id: Output<Option<String>>
The Allocation ID of the Elastic IP address for the NAT Gateway. Required for connectivity_type
of public
.
association_id: Output<String>
The association ID of the Elastic IP address that’s associated with the NAT Gateway. Only available when connectivity_type
is public
.
connectivity_type: Output<Option<String>>
Connectivity type for the NAT Gateway. Valid values are private
and public
. Defaults to public
.
network_interface_id: Output<String>
The ID of the network interface associated with the NAT Gateway.
private_ip: Output<String>
The private IPv4 address to assign to the NAT Gateway. If you don’t provide an address, a private IPv4 address will be automatically assigned.
public_ip: Output<String>
The Elastic IP address associated with the NAT Gateway.
secondary_allocation_ids: Output<Option<Vec<String>>>
A list of secondary allocation EIP IDs for this NAT Gateway.
secondary_private_ip_address_count: Output<i32>
[Private NAT Gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT Gateway.
secondary_private_ip_addresses: Output<Vec<String>>
A list of secondary private IPv4 addresses to assign to the NAT Gateway.
subnet_id: Output<String>
The Subnet ID of the subnet in which to place the NAT Gateway.
A map of tags to assign to the resource. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.