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());
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreate A and AAAA records for the private, Regional, and zonal DNS names.Create A records for the private, Regional, and zonal DNS names.Create AAAA records for the private, Regional, and zonal DNS names.Create A records for the private, Regional, and zonal DNS names and AAAA records for the Regional and zonal DNS names. -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcEndpointDnsRecordIpType
Returns the enum constant of this type with the specified name.static VpcEndpointDnsRecordIpType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IPV4
Create A records for the private, Regional, and zonal DNS names.The IP address type must be IPv4 or Dualstack.
-
IPV6
Create AAAA records for the private, Regional, and zonal DNS names.The IP address type must be IPv6 or Dualstack.
-
DUALSTACK
Create A and AAAA records for the private, Regional, and zonal DNS names.The IP address type must be Dualstack.
-
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
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
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 nameNullPointerException
- if the argument is null
-