Class CfnVPCEndpointProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnVPCEndpointProps.Jsii$Proxy
All Implemented Interfaces:
CfnVPCEndpointProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnVPCEndpointProps

@Stability(Stable) @Internal public static final class CfnVPCEndpointProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVPCEndpointProps
An implementation for CfnVPCEndpointProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnVPCEndpointProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnVPCEndpointProps.Builder.
  • Method Details

    • getServiceName

      public final String getServiceName()
      Description copied from interface: CfnVPCEndpointProps
      The name of the endpoint service.
      Specified by:
      getServiceName in interface CfnVPCEndpointProps
    • getVpcId

      public final String getVpcId()
      Description copied from interface: CfnVPCEndpointProps
      The ID of the VPC.
      Specified by:
      getVpcId in interface CfnVPCEndpointProps
    • getPolicyDocument

      public final Object getPolicyDocument()
      Description copied from interface: CfnVPCEndpointProps
      An endpoint policy, which controls access to the service from the VPC.

      The default endpoint 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.

      Specified by:
      getPolicyDocument in interface CfnVPCEndpointProps
    • getPrivateDnsEnabled

      public final Object getPrivateDnsEnabled()
      Description copied from interface: CfnVPCEndpointProps
      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 .

      This property is supported only for interface endpoints.

      Default: false

      Specified by:
      getPrivateDnsEnabled in interface CfnVPCEndpointProps
    • getRouteTableIds

      public final List<String> getRouteTableIds()
      Description copied from interface: CfnVPCEndpointProps
      The IDs of the route tables.

      Routing is supported only for gateway endpoints.

      Specified by:
      getRouteTableIds in interface CfnVPCEndpointProps
    • getSecurityGroupIds

      public final List<String> getSecurityGroupIds()
      Description copied from interface: CfnVPCEndpointProps
      The IDs of the security groups to associate with the endpoint network interfaces.

      If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.

      Specified by:
      getSecurityGroupIds in interface CfnVPCEndpointProps
    • getSubnetIds

      public final List<String> getSubnetIds()
      Description copied from interface: CfnVPCEndpointProps
      The IDs of the subnets in which to create endpoint network interfaces.

      You must specify this property for an interface endpoint 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.

      Specified by:
      getSubnetIds in interface CfnVPCEndpointProps
    • getVpcEndpointType

      public final String getVpcEndpointType()
      Description copied from interface: CfnVPCEndpointProps
      The type of endpoint.

      Default: Gateway

      Specified by:
      getVpcEndpointType in interface CfnVPCEndpointProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object