Enum VpcEndpointType

java.lang.Object
java.lang.Enum<VpcEndpointType>
software.amazon.awscdk.services.ec2.VpcEndpointType
All Implemented Interfaces:
Serializable, Comparable<VpcEndpointType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.562Z") @Stability(Stable) public enum VpcEndpointType extends Enum<VpcEndpointType>
The type of VPC endpoint.
  • Enum Constant Details

    • INTERFACE

      @Stability(Stable) public static final VpcEndpointType INTERFACE
      Interface.

      An interface endpoint is an elastic network interface with a private IP address that serves as an entry point for traffic destined to a supported service.

    • GATEWAY

      @Stability(Stable) public static final VpcEndpointType GATEWAY
      Gateway.

      A gateway endpoint is a gateway that is a target for a specified route in your route table, used for traffic destined to a supported AWS service.

  • Method Details

    • values

      public static VpcEndpointType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static VpcEndpointType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null