@Stability(value=Stable) public static final class CfnVPCEndpointProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCEndpointProps>
CfnVPCEndpointProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnVPCEndpointProps.Builder serviceName(String serviceName)
CfnVPCEndpointProps.getServiceName()serviceName - The service name. This parameter is required.
To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.this@Stability(value=Stable) public CfnVPCEndpointProps.Builder vpcId(String vpcId)
CfnVPCEndpointProps.getVpcId()vpcId - The ID of the VPC in which the endpoint will be used. This parameter is required.this@Stability(value=Stable) public CfnVPCEndpointProps.Builder policyDocument(Object policyDocument)
CfnVPCEndpointProps.getPolicyDocument()policyDocument - (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
If this parameter is not specified, we attach a default policy that allows full access to the service.
For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation converts YAML policies to JSON format before calling the API to create or modify the VPC endpoint.
this@Stability(value=Stable) public CfnVPCEndpointProps.Builder privateDnsEnabled(Boolean privateDnsEnabled)
CfnVPCEndpointProps.getPrivateDnsEnabled()privateDnsEnabled - (Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com ) which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true : enableDnsHostnames and enableDnsSupport .
Default: false
this@Stability(value=Stable) public CfnVPCEndpointProps.Builder privateDnsEnabled(IResolvable privateDnsEnabled)
CfnVPCEndpointProps.getPrivateDnsEnabled()privateDnsEnabled - (Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com ) which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true : enableDnsHostnames and enableDnsSupport .
Default: false
this@Stability(value=Stable) public CfnVPCEndpointProps.Builder routeTableIds(List<String> routeTableIds)
CfnVPCEndpointProps.getRouteTableIds()routeTableIds - (Gateway endpoint) One or more route table IDs.this@Stability(value=Stable) public CfnVPCEndpointProps.Builder securityGroupIds(List<String> securityGroupIds)
CfnVPCEndpointProps.getSecurityGroupIds()securityGroupIds - (Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.this@Stability(value=Stable) public CfnVPCEndpointProps.Builder subnetIds(List<String> subnetIds)
CfnVPCEndpointProps.getSubnetIds()subnetIds - (Interface and Gateway Load Balancer endpoints) The ID of one or more subnets in which to create an endpoint network interface.
For a Gateway Load Balancer endpoint, you can specify one subnet only.this@Stability(value=Stable) public CfnVPCEndpointProps.Builder vpcEndpointType(String vpcEndpointType)
CfnVPCEndpointProps.getVpcEndpointType()vpcEndpointType - The type of endpoint.
Default: Gatewaythis@Stability(value=Stable) public CfnVPCEndpointProps build()
build in interface software.amazon.jsii.Builder<CfnVPCEndpointProps>CfnVPCEndpointPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.