Class InterfaceVpcEndpoint

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ec2.VpcEndpoint
software.amazon.awscdk.services.ec2.InterfaceVpcEndpoint
All Implemented Interfaces:
IResource, IConnectable, IInterfaceVpcEndpoint, IVpcEndpoint, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-03-04T22:57:23.454Z") @Stability(Stable) public class InterfaceVpcEndpoint extends VpcEndpoint implements IInterfaceVpcEndpoint
A interface VPC endpoint.

Example:

 Vpc vpc;
 InterfaceVpcEndpoint.Builder.create(this, "VPC Endpoint")
         .vpc(vpc)
         .service(new InterfaceVpcEndpointService("com.amazonaws.vpce.us-east-1.vpce-svc-uuddlrlrbastrtsvc", 443))
         .subnets(SubnetSelection.builder()
                 .subnetType(SubnetType.PRIVATE_ISOLATED)
                 .availabilityZones(List.of("us-east-1a", "us-east-1c"))
                 .build())
         .build();
 
  • Constructor Details

    • InterfaceVpcEndpoint

      protected InterfaceVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
    • InterfaceVpcEndpoint

      protected InterfaceVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • InterfaceVpcEndpoint

      @Stability(Stable) public InterfaceVpcEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull InterfaceVpcEndpointProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromInterfaceVpcEndpointAttributes

      @Stability(Stable) @NotNull public static IInterfaceVpcEndpoint fromInterfaceVpcEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull InterfaceVpcEndpointAttributes attrs)
      Imports an existing interface VPC endpoint.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      attrs - This parameter is required.
    • getConnections

      @Stability(Stable) @NotNull public Connections getConnections()
      Access to network connections.
      Specified by:
      getConnections in interface IConnectable
    • getVpcEndpointCreationTimestamp

      @Stability(Stable) @NotNull public String getVpcEndpointCreationTimestamp()
      The date and time the interface VPC endpoint was created.
    • getVpcEndpointDnsEntries

      @Stability(Stable) @NotNull public List<String> getVpcEndpointDnsEntries()
      The DNS entries for the interface VPC endpoint.

      Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services.

      The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com.

      ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"]

      If you update the PrivateDnsEnabled or SubnetIds properties, the DNS entries in the list will change.

    • getVpcEndpointId

      @Stability(Stable) @NotNull public String getVpcEndpointId()
      The interface VPC endpoint identifier.
      Specified by:
      getVpcEndpointId in interface IVpcEndpoint
      Specified by:
      getVpcEndpointId in class VpcEndpoint
    • getVpcEndpointNetworkInterfaceIds

      @Stability(Stable) @NotNull public List<String> getVpcEndpointNetworkInterfaceIds()
      One or more network interfaces for the interface VPC endpoint.