| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
Vpc.Builder |
Vpc.Builder.availabilityZones(List<String> availabilityZones)
Availability zones this VPC spans.
|
Vpc.Builder |
Vpc.Builder.cidr(String cidr)
The CIDR range to use for the VPC, e.g.
|
static Vpc.Builder |
Vpc.Builder.create(software.constructs.Construct scope,
String id) |
Vpc.Builder |
Vpc.Builder.defaultInstanceTenancy(DefaultInstanceTenancy defaultInstanceTenancy)
The default tenancy of instances launched into the VPC.
|
Vpc.Builder |
Vpc.Builder.enableDnsHostnames(Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get public DNS hostnames.
|
Vpc.Builder |
Vpc.Builder.enableDnsSupport(Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC.
|
Vpc.Builder |
Vpc.Builder.flowLogs(Map<String,? extends FlowLogOptions> flowLogs)
Flow logs to add to this VPC.
|
Vpc.Builder |
Vpc.Builder.gatewayEndpoints(Map<String,? extends GatewayVpcEndpointOptions> gatewayEndpoints)
Gateway endpoints to add to this VPC.
|
Vpc.Builder |
Vpc.Builder.maxAzs(Number maxAzs)
Define the maximum number of AZs to use in this region.
|
Vpc.Builder |
Vpc.Builder.natGatewayProvider(NatProvider natGatewayProvider)
What type of NAT provider to use.
|
Vpc.Builder |
Vpc.Builder.natGateways(Number natGateways)
The number of NAT Gateways/Instances to create.
|
Vpc.Builder |
Vpc.Builder.natGatewaySubnets(SubnetSelection natGatewaySubnets)
Configures the subnets which will have NAT Gateways/Instances.
|
Vpc.Builder |
Vpc.Builder.subnetConfiguration(List<? extends SubnetConfiguration> subnetConfiguration)
Configure the subnets to build for each AZ.
|
Vpc.Builder |
Vpc.Builder.vpcName(String vpcName)
The VPC name.
|
Vpc.Builder |
Vpc.Builder.vpnConnections(Map<String,? extends VpnConnectionOptions> vpnConnections)
VPN connections to this VPC.
|
Vpc.Builder |
Vpc.Builder.vpnGateway(Boolean vpnGateway)
Indicates whether a VPN gateway should be created and attached to this VPC.
|
Vpc.Builder |
Vpc.Builder.vpnGatewayAsn(Number vpnGatewayAsn)
The private Autonomous System Number (ASN) for the VPN gateway.
|
Vpc.Builder |
Vpc.Builder.vpnRoutePropagation(List<? extends SubnetSelection> vpnRoutePropagation)
Where to propagate VPN routes.
|
Copyright © 2022. All rights reserved.