@Stability(value=Experimental) 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)
(experimental) Limit to only those availability zones where the endpoint service can be created.
|
InterfaceVpcEndpoint.Builder |
open(Boolean open)
(experimental) Whether to automatically allow VPC traffic to the endpoint.
|
InterfaceVpcEndpoint.Builder |
privateDnsEnabled(Boolean privateDnsEnabled)
(experimental) Whether to associate a private hosted zone with the specified VPC.
|
InterfaceVpcEndpoint.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
(experimental) The security groups to associate with this interface VPC endpoint.
|
InterfaceVpcEndpoint.Builder |
service(IInterfaceVpcEndpointService service)
(experimental) The service to use for this interface VPC endpoint.
|
InterfaceVpcEndpoint.Builder |
subnets(SubnetSelection subnets)
(experimental) The subnets in which to create an endpoint network interface.
|
InterfaceVpcEndpoint.Builder |
vpc(IVpc vpc)
(experimental) The VPC network in which the interface endpoint will be used.
|
@Stability(value=Experimental) 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=Experimental) public InterfaceVpcEndpoint.Builder service(IInterfaceVpcEndpointService service)
service
- The service to use for this interface VPC endpoint. This parameter is required.this
@Stability(value=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) public InterfaceVpcEndpoint build()
build
in interface software.amazon.jsii.Builder<InterfaceVpcEndpoint>
Copyright © 2021. All rights reserved.