NatGatewayArgs class

The set of arguments for NatGateway. The set of arguments for NatGateway.

Constructors

NatGatewayArgs({Input<String?>? allocationId, Input<String?>? availabilityMode, Input<List<NatGatewayAvailabilityZoneAddress>?>? availabilityZoneAddresses, Input<String?>? connectivityType, Input<String?>? privateIp, Input<String?>? region, Input<List<String>?>? secondaryAllocationIds, Input<int?>? secondaryPrivateIpAddressCount, Input<List<String>?>? secondaryPrivateIpAddresses, Input<String?>? subnetId, Input<Map<String, String>?>? tags, Input<String?>? vpcId})
Creates a new NatGatewayArgs. allocationId The Allocation ID of the Elastic IP address for the NAT Gateway. Required when connectivityType is set to public and availabilityMode is set to zonal. When availabilityMode is set to regional, this must not be set; instead, use the availabilityZoneAddress block to specify EIPs for each AZ. availabilityMode Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway. Valid values are zonal and regional. Defaults to zonal. availabilityZoneAddresses Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway. When not specified, the regional NAT gateway will automatically expand to new AZs and associate EIPs upon detection of an elastic network interface (auto mode). When specified, auto-expansion is disabled (manual mode). See availabilityZoneAddress below for details. connectivityType Connectivity type for the NAT Gateway. Valid values are private and public. When availabilityMode is set to regional, this must be set to public. Defaults to public. privateIp 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secondaryAllocationIds A list of secondary allocation EIP IDs for this NAT Gateway. To remove all secondary allocations an empty list should be specified. secondaryPrivateIpAddressCount The number of secondary private IPv4 addresses you want to assign to the NAT Gateway. secondaryPrivateIpAddresses A list of secondary private IPv4 addresses to assign to the NAT Gateway. To remove all secondary private addresses an empty list should be specified. subnetId The Subnet ID of the subnet in which to place the NAT Gateway. Required when availabilityMode is set to zonal. Must not be set when availabilityMode is set to regional. tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. vpcId VPC ID where this NAT Gateway will be created. Required when availabilityMode is set to regional.
const
NatGatewayArgs.fromMap(Map<String, dynamic> map)
factory

Properties

allocationId → Input<String?>?
The Allocation ID of the Elastic IP address for the NAT Gateway. Required when connectivityType is set to public and availabilityMode is set to zonal. When availabilityMode is set to regional, this must not be set; instead, use the availabilityZoneAddress block to specify EIPs for each AZ.
final
availabilityMode → Input<String?>?
Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway. Valid values are zonal and regional. Defaults to zonal.
final
availabilityZoneAddresses → Input<List<NatGatewayAvailabilityZoneAddress>?>?
Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway. When not specified, the regional NAT gateway will automatically expand to new AZs and associate EIPs upon detection of an elastic network interface (auto mode). When specified, auto-expansion is disabled (manual mode). See availabilityZoneAddress below for details.
final
connectivityType → Input<String?>?
Connectivity type for the NAT Gateway. Valid values are private and public. When availabilityMode is set to regional, this must be set to public. Defaults to public.
final
hashCode → int
The hash code for this object.
no setterinherited
privateIp → Input<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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryAllocationIds → Input<List<String>?>?
A list of secondary allocation EIP IDs for this NAT Gateway. To remove all secondary allocations an empty list should be specified.
final
secondaryPrivateIpAddressCount → Input<int?>?
The number of secondary private IPv4 addresses you want to assign to the NAT Gateway.
final
secondaryPrivateIpAddresses → Input<List<String>?>?
A list of secondary private IPv4 addresses to assign to the NAT Gateway. To remove all secondary private addresses an empty list should be specified.
final
subnetId → Input<String?>?
The Subnet ID of the subnet in which to place the NAT Gateway. Required when availabilityMode is set to zonal. Must not be set when availabilityMode is set to regional.
final
tags → Input<Map<String, String>?>?
A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
vpcId → Input<String?>?
VPC ID where this NAT Gateway will be created. Required when availabilityMode is set to regional.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited