enum VpcEndpointDnsRecordIpType
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.VpcEndpointDnsRecordIpType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#VpcEndpointDnsRecordIpType |
Java | software.amazon.awscdk.services.ec2.VpcEndpointDnsRecordIpType |
Python | aws_cdk.aws_ec2.VpcEndpointDnsRecordIpType |
TypeScript (source) | aws-cdk-lib » aws_ec2 » VpcEndpointDnsRecordIpType |
Enums for all Dns Record IP Address types.
Example
vpc.addInterfaceEndpoint('ExampleEndpoint', {
service: ec2.InterfaceVpcEndpointAwsService.ECR,
ipAddressType: ec2.VpcEndpointIpAddressType.IPV6,
dnsRecordIpType: ec2.VpcEndpointDnsRecordIpType.IPV6,
});
Members
| Name | Description |
|---|---|
| IPV4 | Create A records for the private, Regional, and zonal DNS names. |
| IPV6 | Create AAAA records for the private, Regional, and zonal DNS names. |
| DUALSTACK | Create A and AAAA records for the private, Regional, and zonal DNS names. |
| SERVICE_DEFINED | Create A records for the private, Regional, and zonal DNS names and AAAA records for the Regional and zonal DNS names. |
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.

.NET
Go
Java
Python
TypeScript (