@Stability(value=Stable) public static final class InterfaceVpcEndpointOptions.Builder extends Object implements software.amazon.jsii.Builder<InterfaceVpcEndpointOptions>
InterfaceVpcEndpointOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public InterfaceVpcEndpointOptions.Builder service(IInterfaceVpcEndpointService service)
InterfaceVpcEndpointOptions.getService()service - The service to use for this interface VPC endpoint. This parameter is required.this@Stability(value=Stable) public InterfaceVpcEndpointOptions.Builder lookupSupportedAzs(Boolean lookupSupportedAzs)
InterfaceVpcEndpointOptions.getLookupSupportedAzs()lookupSupportedAzs - Limit to only those availability zones where the endpoint service can be created.
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.this@Stability(value=Stable) public InterfaceVpcEndpointOptions.Builder open(Boolean open)
InterfaceVpcEndpointOptions.getOpen()open - Whether to automatically allow VPC traffic to the endpoint.
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.this@Stability(value=Stable) public InterfaceVpcEndpointOptions.Builder privateDnsEnabled(Boolean privateDnsEnabled)
InterfaceVpcEndpointOptions.getPrivateDnsEnabled()privateDnsEnabled - Whether to associate a private hosted zone with the specified VPC.
This
allows you to make requests to the service using its default DNS hostname.this@Stability(value=Stable) public InterfaceVpcEndpointOptions.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
InterfaceVpcEndpointOptions.getSecurityGroups()securityGroups - The security groups to associate with this interface VPC endpoint.this@Stability(value=Stable) public InterfaceVpcEndpointOptions.Builder subnets(SubnetSelection subnets)
InterfaceVpcEndpointOptions.getSubnets()subnets - The subnets in which to create an endpoint network interface.
At most one
per availability zone.this@Stability(value=Stable) public InterfaceVpcEndpointOptions build()
build in interface software.amazon.jsii.Builder<InterfaceVpcEndpointOptions>InterfaceVpcEndpointOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.