AwsSimpleSubnetModuleSchema
Index
Properties
optionallocalFilesystems
The EFS filesystems mounted in this subnet, from AwsEfsFilesystemModule in the same region. An ECS
execution in the subnet can then mount them in its containers.
region
The region whose network the subnet is part of, from AwsSingleAzRegionModule or
AwsMultiAzRegionModule.
subnetAvailabilityZone
The availability zone the subnet sits in, one of the region's, e.g. us-east-1a.
subnetCidrBlock
The subnet's address range, e.g. 10.0.1.0/24, inside the region's vpcCidrBlock and apart from
every other subnet's.
subnetName
The subnet's name, unique in its region, e.g. private. It is part of the context of everything
placed in the subnet.
optionalsubnetOptions
How the subnet behaves:
subnetOptions.subnetType-privateorpublic, the defaultprivate. See SubnetType.subnetOptions.createNatGateway- whether the subnet holds a NAT gateway that private siblings reach the internet through. Only a public subnet holds one.subnetOptions.disableSubnetIntraNetwork- whether things in the subnet are refused traffic from each other, so they reach each other only from outside it, such as through a load balancer.
Type declaration
createNatGateway: boolean
disableSubnetIntraNetwork: boolean
subnetType: SubnetType
optionalsubnetSiblings
The subnets of the same region this one exchanges traffic with, each opened in both subnets' network ACLs:
subnetSiblings.subnet- the sibling, fromAwsSimpleSubnetModule.subnetSiblings.attachToNatGateway- whether this subnet reaches the internet through the sibling's NAT gateway.
AwsSimpleSubnetModuleSchemais the input schema for theAwsSimpleSubnetModulemodule: a subnet of a region's network, where it sits, which subnets it talks to, and the filesystems mounted in it.Modules/Subnet/AwsSimpleSubnet
AwsSimpleSubnetModule to learn more about the
AwsSimpleSubnetModulemodule.