aws::nat-gateway¶
Creates a Nat Gateway with the specified elastic ip allocation id and subnet id.
Example¶
aws::nat-gateway nat-gateway-example
elastic-ip: $(aws::elastic-ip elastic-ip-example-for-nat-gateway)
subnet: $(aws::subnet subnet-example-for-nat-gateway)
tags: {
Name: elastic-ip-example-for-nat-gateway
}
end
Attributes¶
Attribute | Description |
---|---|
elastic-ip | The associated elastic IP for the Nat Gateway. (Required) |
subnet | The associated subnet for the Nat Gateway. (Required) |
internet-gateway | The internet gateway required for the Nat Gateway to be created. (Required) |
Outputs¶
Attribute | Description |
---|---|
id | The ID of the Nat Gateway. |