VpcEndpointDnsRecordIpType
- class aws_cdk.aws_ec2.VpcEndpointDnsRecordIpType(*values)
Bases:
EnumEnums for all Dns Record IP Address types.
- ExampleMetadata:
fixture=with-vpc infused
Example:
# Interface endpoint with IPv6 vpc.add_interface_endpoint("ExampleEndpoint", service=ec2.InterfaceVpcEndpointAwsService.ECR, ip_address_type=ec2.VpcEndpointIpAddressType.IPV6, dns_record_ip_type=ec2.VpcEndpointDnsRecordIpType.IPV6 ) # Gateway endpoint with dualstack vpc.add_gateway_endpoint("S3DualstackEndpoint", service=ec2.GatewayVpcEndpointAwsService.S3, ip_address_type=ec2.VpcEndpointIpAddressType.DUALSTACK, dns_record_ip_type=ec2.VpcEndpointDnsRecordIpType.DUALSTACK )
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.