NetworkConfig / VpcConfig | VpcTemplatesConfig / SubnetConfig

VPC subnet configuration. Used to define a VPC subnet.

Example

Static CIDR:

- name: accelerator-cidr-subnet-a
availabilityZone: a
routeTable: accelerator-cidr-subnet-a
ipv4CidrBlock: 10.0.0.0/26
tags: []

IPAM allocation:

- name: accelerator-ipam-subnet-a
availabilityZone: a
routeTable: accelerator-cidr-subnet-a
ipamAllocation:
ipamPoolName: accelerator-regional-pool
netmaskLength: 26
tags: []

Hierarchy

  • SubnetConfig

Implements

Constructors

Properties

availabilityZone: "" = ''

The Availability Zone (AZ) the subnet resides in.

Remarks

Include only the letter of the AZ name (i.e. 'a' for 'us-east-1a'). Not needed if providing an outpost

ipamAllocation: undefined | IpamAllocationConfig = undefined

The IPAM pool configuration for the subnet.

See

Remarks

Must be using AWS-managed IPAM and allocate a CIDR to the VPC this subnet will be created in. Define IPAM configuration in centralNetworkServices.

ipv4CidrBlock: undefined | string = undefined

The IPv4 CIDR block to associate with the subnet.

Remarks

Use CIDR notation, i.e. 10.0.0.0/16

mapPublicIpOnLaunch: undefined | boolean = undefined

Configure automatic mapping of public IPs.

Remarks

Enables you to configure the auto-assign IP settings to automatically request a public IPv4 address for a new network interface in this subnet.

name: "" = ''

A friendly name for the VPC subnet.

outpost: undefined | string = undefined

The friendly name for the outpost to attach to the subnet

routeTable: "" = ''

The friendly name of the route table to associate with the subnet.

shareTargets: ShareTargets = ...

Resource Access Manager (RAM) share targets.

Remarks

Targets can be account names and/or organizational units.

See

t.ShareTargets

tags: undefined | Tag[] = undefined

An array of tag objects for the VPC subnet.

Generated using TypeDoc