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