Enum VpcEndpointDnsRecordIpType

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

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-16T11:43:13.717Z") @Stability(Stable) public enum VpcEndpointDnsRecordIpType extends Enum<VpcEndpointDnsRecordIpType>
Enums for all Dns Record IP Address types.

Example:

 vpc.addInterfaceEndpoint("ExampleEndpoint", InterfaceVpcEndpointOptions.builder()
         .service(InterfaceVpcEndpointAwsService.ECR)
         .ipAddressType(VpcEndpointIpAddressType.IPV6)
         .dnsRecordIpType(VpcEndpointDnsRecordIpType.IPV6)
         .build());
 
  • Enum Constant Details

    • IPV4

      @Stability(Stable) public static final VpcEndpointDnsRecordIpType IPV4
      Create A records for the private, Regional, and zonal DNS names.

      The IP address type must be IPv4 or Dualstack.

    • IPV6

      @Stability(Stable) public static final VpcEndpointDnsRecordIpType IPV6
      Create AAAA records for the private, Regional, and zonal DNS names.

      The IP address type must be IPv6 or Dualstack.

    • DUALSTACK

      @Stability(Stable) public static final VpcEndpointDnsRecordIpType DUALSTACK
      Create A and AAAA records for the private, Regional, and zonal DNS names.

      The IP address type must be Dualstack.

    • SERVICE_DEFINED

      @Stability(Stable) public static final VpcEndpointDnsRecordIpType SERVICE_DEFINED
      Create A records for the private, Regional, and zonal DNS names and AAAA records for the Regional and zonal DNS names.

      The IP address type must be Dualstack.

  • Method Details

    • values

      public static VpcEndpointDnsRecordIpType[] 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 VpcEndpointDnsRecordIpType 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