@Stability(value=Stable) public static final class InterfaceVpcEndpoint.Builder extends Object implements software.amazon.jsii.Builder<InterfaceVpcEndpoint>
InterfaceVpcEndpoint.| Modifier and Type | Method and Description |
|---|---|
InterfaceVpcEndpoint |
build() |
static InterfaceVpcEndpoint.Builder |
create(software.constructs.Construct scope,
String id) |
InterfaceVpcEndpoint.Builder |
lookupSupportedAzs(Boolean lookupSupportedAzs)
Limit to only those availability zones where the endpoint service can be created.
|
InterfaceVpcEndpoint.Builder |
open(Boolean open)
Whether to automatically allow VPC traffic to the endpoint.
|
InterfaceVpcEndpoint.Builder |
privateDnsEnabled(Boolean privateDnsEnabled)
Whether to associate a private hosted zone with the specified VPC.
|
InterfaceVpcEndpoint.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
The security groups to associate with this interface VPC endpoint.
|
InterfaceVpcEndpoint.Builder |
service(IInterfaceVpcEndpointService service)
The service to use for this interface VPC endpoint.
|
InterfaceVpcEndpoint.Builder |
subnets(SubnetSelection subnets)
The subnets in which to create an endpoint network interface.
|
InterfaceVpcEndpoint.Builder |
vpc(IVpc vpc)
The VPC network in which the interface endpoint will be used.
|
@Stability(value=Stable) public static InterfaceVpcEndpoint.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.InterfaceVpcEndpoint.Builder.@Stability(value=Stable) public InterfaceVpcEndpoint.Builder service(IInterfaceVpcEndpointService service)
service - The service to use for this interface VPC endpoint. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint.Builder lookupSupportedAzs(Boolean lookupSupportedAzs)
Setting this to 'true' requires a lookup to be performed at synthesis time. Account and region must be set on the containing stack for this to work.
Default: false
lookupSupportedAzs - Limit to only those availability zones where the endpoint service can be created. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint.Builder open(Boolean open)
If enabled, all traffic to the endpoint from within the VPC will be automatically allowed. This is done based on the VPC's CIDR range.
Default: true
open - Whether to automatically allow VPC traffic to the endpoint. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint.Builder privateDnsEnabled(Boolean privateDnsEnabled)
This allows you to make requests to the service using its default DNS hostname.
Default: set by the instance of IInterfaceVpcEndpointService, or true if not defined by the instance of IInterfaceVpcEndpointService
privateDnsEnabled - Whether to associate a private hosted zone with the specified VPC. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
Default: - a new security group is created
securityGroups - The security groups to associate with this interface VPC endpoint. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint.Builder subnets(SubnetSelection subnets)
At most one per availability zone.
Default: - private subnets
subnets - The subnets in which to create an endpoint network interface. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint.Builder vpc(IVpc vpc)
vpc - The VPC network in which the interface endpoint will be used. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpoint build()
build in interface software.amazon.jsii.Builder<InterfaceVpcEndpoint>Copyright © 2022. All rights reserved.