ReadonlyaccountThe logical name of the account to deploy the VPC to
Optional Readonlycidrs(OPTIONAL) A list of IPv4 CIDRs to associate with the VPC.
CAUTION: Changing or removing an existing CIDR value after initial deployment causes the VPC to be recreated. Please be aware that any downstream dependencies may cause this property update to fail. You can add additional CIDRs to the VPC without this recreation occurring.
WARNING: Adding a secondary CIDR anywhere except the end of the list will cause the VPC to be recreated.
NOTE: Expanding a VPC with additional CIDRs is subject to these restrictions.
At least one CIDR should be
provided if not using ipamAllocations.
Use IPv4 CIDR notation, i.e. 10.0.0.0/16
Optional Readonlydefault(OPTIONAL) Determine if the all traffic ingress and egress rules are deleted in the default security group of a VPC.
Optional Readonlydhcp(OPTIONAL) The friendly name of a custom DHCP options set.
Optional Readonlydns(OPTIONAL) An array of DNS firewall VPC association configurations. Use this property to associate Route 53 resolver DNS firewall rule groups with the VPC.
The DNS firewall rule groups must be deployed in the same region of the VPC and shareTargets must
be configured to capture the account that this VPC is deployed to. If deploying this VPC to the delegated
admin account, shareTargets is not required.
Optional Readonlyegress(OPTIONAL) Create an Egress-only internet gateway (EIGW) for the VPC
Optional ReadonlyenableEnable DNS hostname support for the VPC.
Optional ReadonlyenableEnable DNS support for the VPC.
Optional Readonlygateway(OPTIONAL) An array of gateway endpoints for the VPC. Use this property to define S3 or DynamoDB gateway endpoints for the VPC.
Optional Readonlyinstance(OPTIONAL) Define instance tenancy for the VPC. The default value is default.
Optional Readonlyinterface(OPTIONAL) A list of VPC interface endpoints. Use this property to define VPC interface endpoints for the VPC.
Optional ReadonlyinternetDefines if an internet gateway should be added to the VPC
Optional Readonlyipam(OPTIONAL) An array of IPAM allocation configurations.
CAUTION: Changing or removing an existing IPAM allocation value after initial deployment causes the VPC to be recreated. Please be aware that any downstream dependencies may cause this property update to fail. You can add additional IPAM allocations to the VPC without this recreation occurring.
NOTE: Expanding a VPC with additional CIDRs is subject to these restrictions.
IPAM pools defined in network-config.yaml must be deployed to the same region of the VPC and shareTargets must
be configured to capture the account that this VPC is deployed to. If deploying this VPC to the delegated
admin account, shareTargets is not required.
Optional Readonlyipv6(OPTIONAL) An array of IPv6 CIDR block configurations.
VpcIpv6Config
CAUTION: Changing or removing an existing IPv6 CIDR block may cause unexpected behavior if there are subnets provisioned using the CIDR. Please be aware that any downstream dependencies may cause this property update to fail. You can add additional IPv6 CIDR blocks to the VPC without interruptions occurring.
At least one IPv4 static CIDR or IPAM allocation MUST be configured along with any IPv6 CIDR blocks. A VPC cannot be created without an IPv4 CIDR.
Optional ReadonlyloadElastic Load Balancing configuration. Use this property to define Elastic Load Balancers for this VPC.
ReadonlynameThe friendly name of the VPC.
The value of this property will be utilized as the logical id for this resource. Any references to this object should specify this value.
Optional Readonlynat(OPTIONAL) An array of NAT gateway configurations for the VPC. Use this property to configure the NAT gateways for the VPC.
Optional Readonlynetwork(OPTIONAL) A list of Network Access Control Lists (ACLs) to deploy for this VPC
Optional Readonlyoutposts(OPTIONAL) An array of Local Gateway Route table configurations. Use this configuration to associate Outposts Local Gateway Route tables with the VPC.
Optional Readonlyquery(OPTIONAL) A list of DNS query log configuration names.
This is the logical name property of the Route 53 resolver query logs configuration as defined
in network-config.yaml. The shareTargets property must be configured to capture the account that
this VPC is deployed to. If deploying this VPC to the delegated admin account, shareTargets is not required.
DnsQueryLogsConfig
ReadonlyregionThe AWS region to deploy the VPC to
Optional Readonlyresolver(OPTIONAL) A list of Route 53 resolver rule names.
This is the logical name property of the Route 53 resolver rules configuration as defined
in network-config.yaml. The shareTargets property must be configured to capture the account that
this VPC is deployed to. If deploying this VPC to the delegated admin account, shareTargets is not required.
ResolverRuleConfig
Optional Readonlyroute(OPTIONAL) An array of route table configurations for the VPC. Use this property to configure the route tables for the VPC.
Optional Readonlysecurity(OPTIONAL) A list of Security Groups to deploy for this VPC
Optional Readonlysubnets(OPTIONAL) An array of subnet configurations for the VPC. Use this property to configure the subnets for the VPC.
Optional Readonlytags(OPTIONAL) A list of tags to apply to this VPC
Optional ReadonlytargetTarget group configuration. Use this property to define target groups for this VPC.
Optional Readonlytransit(OPTIONAL) An array of Transit Gateway attachment configurations. Use this property to configure the Transit Gateway attachments for the VPC.
Optional Readonlyuse(OPTIONAL) When set to true, this VPC will be configured to utilize centralized endpoints. This includes having the Route 53 Private Hosted Zone associated with this VPC. Centralized endpoints are configured per region, and can span to spoke accounts.
NOTE: The AWS partition and regions must support the creation of Route 53 private hosted zones and DNS alias records for AWS VPC Endpoint resource types or the pipeline will fail. Ensure your partition and regions will support useCentralEndpoints before enabling it.
Optional Readonlyvirtual(OPTIONAL) Virtual Private Gateway configuration. Use this property to configure a Virtual Private Gateway for the VPC.
Optional ReadonlyvpcVPC flog log configuration. Use this property to define a VPC-specific VPC flow logs configuration.
Optional ReadonlyvpcA Route 53 resolver configuration local to the VPC.
NetworkConfig / VpcConfig
Virtual Private Cloud (VPC) configuration.
Description
Use this configuration to define a VPC that is deployed to a single account and region. With Amazon Virtual Private Cloud (Amazon VPC), you can launch AWS resources in a logically isolated virtual network that you've defined. This virtual network closely resembles a traditional network that you'd operate in your own data center, with the benefits of using the scalable infrastructure of AWS.
Example
Static CIDR:
IPAM allocation:
IPv6 static CIDR: