public static final class CfnVPCEndpointProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVPCEndpointProps
CfnVPCEndpointProps
CfnVPCEndpointProps.Builder, CfnVPCEndpointProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getPolicyDocument()
A policy that controls access to the service from the VPC.
|
java.lang.Object |
getPrivateDnsEnabled()
Indicate whether to associate a private hosted zone with the specified VPC.
|
java.util.List<java.lang.String> |
getRouteTableIds()
The route table IDs.
|
java.util.List<java.lang.String> |
getSecurityGroupIds()
The IDs of the security groups to associate with the endpoint network interface.
|
java.lang.String |
getServiceName()
The service name.
|
java.util.List<java.lang.String> |
getSubnetIds()
The ID of the subnets in which to create an endpoint network interface.
|
java.lang.String |
getVpcEndpointType()
The type of endpoint.
|
java.lang.String |
getVpcId()
The ID of the VPC in which the endpoint will be used.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getServiceName()
CfnVPCEndpointProps
To list the available services, use DescribeVpcEndpointServices . Otherwise, get the name from the service provider.
getServiceName
in interface CfnVPCEndpointProps
public final java.lang.String getVpcId()
CfnVPCEndpointProps
getVpcId
in interface CfnVPCEndpointProps
public final java.lang.Object getPolicyDocument()
CfnVPCEndpointProps
If this parameter is not specified, the default policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints.
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.
getPolicyDocument
in interface CfnVPCEndpointProps
public final java.lang.Object getPrivateDnsEnabled()
CfnVPCEndpointProps
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
.
This property is supported only for interface endpoints.
Default: false
getPrivateDnsEnabled
in interface CfnVPCEndpointProps
public final java.util.List<java.lang.String> getRouteTableIds()
CfnVPCEndpointProps
Routing is supported only for gateway endpoints.
getRouteTableIds
in interface CfnVPCEndpointProps
public final java.util.List<java.lang.String> getSecurityGroupIds()
CfnVPCEndpointProps
Security groups are supported only for interface endpoints.
getSecurityGroupIds
in interface CfnVPCEndpointProps
public final java.util.List<java.lang.String> getSubnetIds()
CfnVPCEndpointProps
You must specify this property for an interface endpoints or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
getSubnetIds
in interface CfnVPCEndpointProps
public final java.lang.String getVpcEndpointType()
CfnVPCEndpointProps
Default: Gateway
getVpcEndpointType
in interface CfnVPCEndpointProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()