Class InterfaceVpcEndpoint

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, IConnectable, IInterfaceVpcEndpoint, IVpcEndpoint, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.409Z") @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))
         // Choose which availability zones to place the VPC endpoint in, based on
         // available AZs
         .subnets(SubnetSelection.builder()
                 .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
    • getSecurityGroupId

      @Stability(Deprecated) @Deprecated @NotNull public String getSecurityGroupId()
      Deprecated.
      use the connections object
      (deprecated) The identifier of the first security group associated with this interface VPC endpoint.

    • 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.
    • 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.