Readonly
availabilityThe Availability Zone (AZ) the subnet resides in.
Include only the letter of the AZ name (i.e. 'a' for 'us-east-1a'). Not needed if providing an outpost
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.
Use CIDR notation, i.e. 10.0.0.0/16
Readonly
mapConfigure 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.
Readonly
outpostThe friendly name for the outpost to attach to the subnet
Readonly
routeThe friendly name of the route table to associate with the subnet.
Readonly
shareResource Access Manager (RAM) share targets.
Targets can be account names and/or organizational units.
t.ShareTargets
Readonly
tagsAn array of tag objects for the VPC subnet.
Generated using TypeDoc
NetworkConfig / VpcConfig | VpcTemplatesConfig / SubnetConfig
VPC subnet configuration. Used to define a VPC subnet.
Example
Static CIDR:
IPAM allocation: