ResolvedSubnetSpec constructor
Creates a new ResolvedSubnetSpec.
cidrBlocks An optional list of CIDR blocks to assign to the subnet spec for each AZ. If specified, the count must match the number of AZs being used for the VPC, and must also be specified for all other subnet specs.
cidrMask The netmask for the subnet's CIDR block. This is optional, the default value is inferred from the cidrMask, cidrBlocks or based on an even distribution of available space from the VPC's CIDR block after being divided evenly by availability zone.
name The subnet's name. Will be templated upon creation.
size Optional size of the subnet's CIDR block - the number of hosts. This value must be a power of 2 (e.g. 256, 512, 1024, etc.). This is optional, the default value is inferred from the cidrMask, cidrBlocks or based on an even distribution of available space from the VPC's CIDR block after being divided evenly by availability zone.
type The type of subnet.
Implementation
const ResolvedSubnetSpec({
this.cidrBlocks,
this.cidrMask,
this.name,
this.size,
required this.type,
});