VpcArgs class

The set of arguments for Vpc. The set of arguments for Vpc.

Constructors

VpcArgs({Input<bool?>? assignGeneratedIpv6CidrBlock, Input<int?>? availabilityZoneCidrMask, Input<List<String>?>? availabilityZoneNames, Input<String?>? cidrBlock, Input<bool?>? enableDnsHostnames, Input<bool?>? enableDnsSupport, Input<bool?>? enableNetworkAddressUsageMetrics, Input<String?>? instanceTenancy, Input<String?>? ipv4IpamPoolId, Input<int?>? ipv4NetmaskLength, Input<String?>? ipv6CidrBlock, Input<String?>? ipv6CidrBlockNetworkBorderGroup, Input<String?>? ipv6IpamPoolId, Input<int?>? ipv6NetmaskLength, Input<NatGatewayConfiguration?>? natGateways, Input<int?>? numberOfAvailabilityZones, Input<String?>? region, Input<SubnetNameTagStrategy?>? subnetNameTagStrategy, Input<List<SubnetSpec>?>? subnetSpecs, Input<SubnetAllocationStrategy?>? subnetStrategy, Input<Map<String, String>?>? tags, Input<List<VpcEndpointSpec>?>? vpcEndpointSpecs, Input<VpcEndpointStrategy?>? vpcEndpointStrategy})
Creates a new VpcArgs. assignGeneratedIpv6CidrBlock Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. Default is false. Conflicts with ipv6IpamPoolId availabilityZoneCidrMask The netmask for each available zone to be aligned to. This is optional, the default value is inferred based on an even distribution of available space from the VPC's CIDR block after being divided evenly by the number of availability zones. availabilityZoneNames A list of availability zone names to which the subnets defined in subnetSpecs will be deployed. Optional, defaults to the first 3 AZs in the current region. cidrBlock The CIDR block for the VPC. Optional. Defaults to 10.0.0.0/16. enableDnsHostnames A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false. enableDnsSupport A boolean flag to enable/disable DNS support in the VPC. Defaults to true. enableNetworkAddressUsageMetrics Indicates whether Network Address Usage metrics are enabled for your VPC. Defaults to false. instanceTenancy A tenancy option for instances launched into the VPC. Default is default, which ensures that EC2 instances launched in this VPC use the EC2 instance tenancy attribute specified when the EC2 instance is launched. The only other option is dedicated, which ensures that EC2 instances launched in this VPC are run on dedicated tenancy instances regardless of the tenancy attribute specified at launch. This has a dedicated per region fee of $2 per hour, plus an hourly per instance usage fee. ipv4IpamPoolId The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization. ipv4NetmaskLength The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4IpamPoolId. ipv6CidrBlock IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using ipv6NetmaskLength. ipv6CidrBlockNetworkBorderGroup By default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones. ipv6IpamPoolId IPAM Pool ID for a IPv6 pool. Conflicts with assignGeneratedIpv6CidrBlock. ipv6NetmaskLength Netmask length to request from IPAM Pool. Conflicts with ipv6CidrBlock. This can be omitted if IPAM pool as a allocationDefaultNetmaskLength set. Valid values are from 44 to 60 in increments of 4. natGateways Configuration for NAT Gateways. Optional. If private and public subnets are both specified, defaults to one gateway per availability zone. Otherwise, no gateways will be created. numberOfAvailabilityZones A number of availability zones to which the subnets defined in subnetSpecs will be deployed. Optional, defaults to the first 3 AZs in the current region. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. subnetNameTagStrategy Controls the AWS Name tags applied to generated subnets and their associated route tables. Pulumi logical resource names and URNs are unchanged. Optional; defaults to Legacy. subnetSpecs A list of subnet specs that should be deployed to each AZ specified in availabilityZoneNames. Optional. Defaults to a (smaller) public subnet and a (larger) private subnet based on the size of the CIDR block for the VPC. Private subnets are allocated CIDR block ranges first, followed by Public subnets, and Isolated subnets are allocated last. subnetStrategy The strategy to use when allocating subnets for the VPC. Optional. Defaults to Legacy. 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. vpcEndpointSpecs A list of VPC Endpoints specs to be deployed as part of the VPC vpcEndpointStrategy The strategy to use when applying VPC endpoint specs. Optional. Defaults to Legacy.
const
VpcArgs.fromMap(Map<String, dynamic> map)
factory

Properties

assignGeneratedIpv6CidrBlock → Input<bool?>?
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. Default is false. Conflicts with ipv6IpamPoolId
final
availabilityZoneCidrMask → Input<int?>?
The netmask for each available zone to be aligned to. This is optional, the default value is inferred based on an even distribution of available space from the VPC's CIDR block after being divided evenly by the number of availability zones.
final
availabilityZoneNames → Input<List<String>?>?
A list of availability zone names to which the subnets defined in subnetSpecs will be deployed. Optional, defaults to the first 3 AZs in the current region.
final
cidrBlock → Input<String?>?
The CIDR block for the VPC. Optional. Defaults to 10.0.0.0/16.
final
enableDnsHostnames → Input<bool?>?
A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
final
enableDnsSupport → Input<bool?>?
A boolean flag to enable/disable DNS support in the VPC. Defaults to true.
final
enableNetworkAddressUsageMetrics → Input<bool?>?
Indicates whether Network Address Usage metrics are enabled for your VPC. Defaults to false.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceTenancy → Input<String?>?
A tenancy option for instances launched into the VPC. Default is default, which ensures that EC2 instances launched in this VPC use the EC2 instance tenancy attribute specified when the EC2 instance is launched. The only other option is dedicated, which ensures that EC2 instances launched in this VPC are run on dedicated tenancy instances regardless of the tenancy attribute specified at launch. This has a dedicated per region fee of $2 per hour, plus an hourly per instance usage fee.
final
ipv4IpamPoolId → Input<String?>?
The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
final
ipv4NetmaskLength → Input<int?>?
The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4IpamPoolId.
final
ipv6CidrBlock → Input<String?>?
IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using ipv6NetmaskLength.
final
ipv6CidrBlockNetworkBorderGroup → Input<String?>?
By default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.
final
ipv6IpamPoolId → Input<String?>?
IPAM Pool ID for a IPv6 pool. Conflicts with assignGeneratedIpv6CidrBlock.
final
ipv6NetmaskLength → Input<int?>?
Netmask length to request from IPAM Pool. Conflicts with ipv6CidrBlock. This can be omitted if IPAM pool as a allocationDefaultNetmaskLength set. Valid values are from 44 to 60 in increments of 4.
final
natGateways → Input<NatGatewayConfiguration?>?
Configuration for NAT Gateways. Optional. If private and public subnets are both specified, defaults to one gateway per availability zone. Otherwise, no gateways will be created.
final
numberOfAvailabilityZones → Input<int?>?
A number of availability zones to which the subnets defined in subnetSpecs will be deployed. Optional, defaults to the first 3 AZs in the current region.
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
subnetNameTagStrategy → Input<SubnetNameTagStrategy?>?
Controls the AWS Name tags applied to generated subnets and their associated route tables. Pulumi logical resource names and URNs are unchanged. Optional; defaults to Legacy.
final
subnetSpecs → Input<List<SubnetSpec>?>?
A list of subnet specs that should be deployed to each AZ specified in availabilityZoneNames. Optional. Defaults to a (smaller) public subnet and a (larger) private subnet based on the size of the CIDR block for the VPC. Private subnets are allocated CIDR block ranges first, followed by Public subnets, and Isolated subnets are allocated last.
final
subnetStrategy → Input<SubnetAllocationStrategy?>?
The strategy to use when allocating subnets for the VPC. Optional. Defaults to Legacy.
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
vpcEndpointSpecs → Input<List<VpcEndpointSpec>?>?
A list of VPC Endpoints specs to be deployed as part of the VPC
final
vpcEndpointStrategy → Input<VpcEndpointStrategy?>?
The strategy to use when applying VPC endpoint specs. Optional. Defaults to Legacy.
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