ResolvedSubnetSpec class
Configuration for a VPC subnet spec.
Constructors
-
ResolvedSubnetSpec({Input<
List< ? cidrBlocks, Input<String> ?>int?> ? cidrMask, Input<String?> ? name, Input<int?> ? size, required Input<SubnetType> type}) -
Creates a new ResolvedSubnetSpec.
cidrBlocksAn 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.cidrMaskThe netmask for the subnet's CIDR block. This is optional, the default value is inferred from thecidrMask,cidrBlocksor based on an even distribution of available space from the VPC's CIDR block after being divided evenly by availability zone.nameThe subnet's name. Will be templated upon creation.sizeOptional 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 thecidrMask,cidrBlocksor based on an even distribution of available space from the VPC's CIDR block after being divided evenly by availability zone.typeThe type of subnet.const -
ResolvedSubnetSpec.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cidrBlocks
→ Input<
List< ?String> ?> -
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.
final
-
cidrMask
→ Input<
int?> ? -
The netmask for the subnet's CIDR block. This is optional, the default value is inferred from the
cidrMask,cidrBlocksor based on an even distribution of available space from the VPC's CIDR block after being divided evenly by availability zone.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The subnet's name. Will be templated upon creation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ Input<
int?> ? -
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,cidrBlocksor based on an even distribution of available space from the VPC's CIDR block after being divided evenly by availability zone.final -
type
→ Input<
SubnetType> -
The type of subnet.
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