VpcEndpointDnsRecordIpType

class aws_cdk.aws_ec2.VpcEndpointDnsRecordIpType(*values)

Bases: Enum

Enums for all Dns Record IP Address types.

ExampleMetadata:

fixture=with-vpc infused

Example:

vpc.add_interface_endpoint("ExampleEndpoint",
    service=ec2.InterfaceVpcEndpointAwsService.ECR,
    ip_address_type=ec2.VpcEndpointIpAddressType.IPV6,
    dns_record_ip_type=ec2.VpcEndpointDnsRecordIpType.IPV6
)

Attributes

DUALSTACK

Create A and AAAA records for the private, Regional, and zonal DNS names.

The IP address type must be Dualstack.

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.

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.