Readonly
availabilityThe Availability Zone (AZ) the subnet resides in.
CAUTION: changing this property after initial deployment will cause a subnet recreation. Please be aware that any downstream dependencies may cause this property update to fail.
Include only the letter of the AZ name (i.e. 'a' for 'us-east-1a') to have the subnet created in a specific AZ. Use an integer (i.e. 1) for a physical mapping ID to an AZ. Please reference the documentation Availability Zone IDs for your AWS resources for more information.
Readonly
ipamThe IPAM pool configuration for the subnet.
Must be using AWS-managed IPAM and allocate a CIDR to the VPC this subnet will be created in.
Define IPAM configuration in centralNetworkServices
.
Readonly
ipv4The IPv4 CIDR block to associate with the subnet.
CAUTION: changing this property after initial deployment will cause a subnet recreation. Please be aware that any downstream dependencies may cause this property update to fail.
Use CIDR notation, i.e. 10.0.0.0/16
Readonly
map(OPTIONAL) Configure automatic mapping of public IPs.
Enables you to configure the auto-assign IP settings to automatically request a public IPv4 address for a new network interface in this subnet.
Readonly
nameA friendly name for the VPC subnet.
CAUTION: changing this property after initial deployment will cause a subnet recreation. Please be aware that any downstream dependencies may cause this property update to fail.
Readonly
outpost(OPTIONAL) The friendly name for the outpost to attach to the subnet
This is the logical name
of the outpost as defined in network-config.yaml.
Readonly
routeThe friendly name of the route table to associate with the subnet.
Readonly
share(OPTIONAL) Resource Access Manager (RAM) share targets.
NOTE: When sharing subnets, security groups created in this VPC will be automatically replicated to the share target accounts. If tags are configured for the VPC and/or subnet, they are also replicated.
Targets can be account names and/or organizational units.
Readonly
tags(OPTIONAL) An array of tag objects for the VPC subnet.
Generated using TypeDoc
NetworkConfig / VpcConfig | VpcTemplatesConfig / SubnetConfig
Virtual Private Cloud (VPC) subnet configuration. Use this configuration to define subnets for your VPC. A subnet is a range of IP addresses in your VPC that can be used to create AWS resources, such as EC2 instances.
Example
Static CIDR:
Using the Physical ID for an Availibility Zone
IPAM allocation: