@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.552Z") @Stability(value=Stable) public interface VpcConfig extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
VpcConfig vpcConfig = VpcConfig.builder()
.vpc(vpc)
// the properties below are optional
.subnets(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnets(List.of(subnet))
.subnetType(SubnetType.PRIVATE_ISOLATED)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VpcConfig.Builder
A builder for
VpcConfig |
static class |
VpcConfig.Jsii$Proxy
An implementation for
VpcConfig |
| Modifier and Type | Method and Description |
|---|---|
static VpcConfig.Builder |
builder() |
default SubnetSelection |
getSubnets()
VPC subnets.
|
IVpc |
getVpc()
VPC.
|
@Stability(value=Stable) @NotNull IVpc getVpc()
@Stability(value=Stable) @Nullable default SubnetSelection getSubnets()
Default: - Private Subnets are selected
@Stability(value=Stable) static VpcConfig.Builder builder()
VpcConfig.Builder of VpcConfigCopyright © 2022. All rights reserved.