NetworkConfig / VpcTemplatesConfig

VPC templates configuration. Used to define a VPC that is deployed to multiple accounts/OUs.

Static CIDR:

vpcTemplates:
- name: Accelerator-Template
deploymentTargets:
organizationalUnits:
- Infrastructure
region: us-east-1
cidrs:
- 10.0.0.0/24
enableDnsHostnames: true
enableDnsSupport: true
instanceTenancy: default
routeTables: []
subnets: []
natGateways: []
transitGatewayAttachments: []
tags: []

IPAM allocation:

vpcTemplates:
- name: Accelerator-Template
deploymentTargets:
organizationalUnits:
- Infrastructure
region: us-east-1
ipamAllocations:
- ipamPoolName: accelerator-regional-pool
netmaskLength: 24
enableDnsHostnames: true
enableDnsSupport: true
instanceTenancy: default
routeTables: []
subnets: []
natGateways: []
transitGatewayAttachments: []
tags: []

Hierarchy

  • VpcTemplatesConfig

Implements

Constructors

Properties

cidrs: undefined | string[] = undefined

A list of CIDRs to associate with the VPC.

Remarks

At least one CIDR should be provided if not using ipamAllocations.

Use CIDR notation, i.e. 10.0.0.0/16

defaultSecurityGroupRulesDeletion: undefined | boolean = false

Determine if the all traffic ingress and egress rules are deleted in the default security group of a VPC.

deploymentTargets: DeploymentTargets = ...

VPC deployment targets.

Remarks

Targets can be account names and/or organizational units.

See

t.ShareTargets

dhcpOptions: undefined | string = undefined

The friendly name of a DHCP options set.

dnsFirewallRuleGroups: undefined | {
    mutationProtection: undefined | "ENABLED" | "DISABLED";
    name: string;
    priority: number;
    tags: undefined | ({ key: string; value: string; })[];
}[] = undefined

An array of DNS firewall VPC association configurations.

See

vpcDnsFirewallAssociationConfig

enableDnsHostnames: undefined | boolean = true

Enable DNS hostname support for the VPC.

enableDnsSupport: undefined | boolean = true

Enable DNS support for the VPC.

gatewayEndpoints: undefined | GatewayEndpointConfig = undefined

An array of gateway endpoints for the VPC.

instanceTenancy: undefined | "default" | "dedicated" = 'default'

Define instance tenancy for the VPC.

interfaceEndpoints: undefined | InterfaceEndpointConfig = undefined

A list of VPC interface endpoints.

internetGateway: undefined | boolean = undefined

Defines if an internet gateway should be added to the VPC

ipamAllocations: undefined | IpamAllocationConfig[] = undefined

An array of IPAM allocation configurations.

See

IpamAllocationConfig

loadBalancers: undefined | LoadBalancersConfig = undefined
name: "" = ''

The 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.

natGateways: undefined | NatGatewayConfig[] = undefined

An array of NAT gateway configurations for the VPC.

networkAcls: undefined | NetworkAclConfig[] = undefined

A list of Network Access Control Lists (ACLs) to deploy for this VPC

Default

undefined

queryLogs: undefined | string[] = undefined

An optional list of DNS query log configuration names.

region: "us-east-1" = 'us-east-1'

The AWS region to deploy the VPCs to

resolverRules: undefined | string[] = undefined

An optional list of Route 53 resolver rule names.

routeTables: undefined | RouteTableConfig[] = undefined

An array of route table configurations for the VPC.

securityGroups: undefined | SecurityGroupConfig[] = undefined

A list of Security Groups to deploy for this VPC

Default

undefined

subnets: undefined | SubnetConfig[] = undefined

An array of subnet configurations for the VPC.

tags: undefined | Tag[] = undefined

A list of tags to apply to this VPC

Default

undefined

targetGroups: undefined | TargetGroupItemConfig[] = undefined
transitGatewayAttachments: undefined | TransitGatewayAttachmentConfig[] = undefined

An array of Transit Gateway attachment configurations.

useCentralEndpoints: undefined | boolean = false

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

Default

false

virtualPrivateGateway: undefined | VirtualPrivateGatewayConfig = undefined

Virtual Private Gateway configuration

Default

undefined

vpcFlowLogs: undefined | VpcFlowLogsConfig = undefined

VPC flog log configuration

Generated using TypeDoc