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