IpAddressType Enum
IP address types supported for VPC endpoint service.
Example
ts
declare const networkLoadBalancer: elbv2.NetworkLoadBalancer;
new ec2.VpcEndpointService(this, 'EndpointService', {
vpcEndpointServiceLoadBalancers: [networkLoadBalancer],
// Support both IPv4 and IPv6 connections to the endpoint service
supportedIpAddressTypes: [
ec2.IpAddressType.IPV4,
ec2.IpAddressType.IPV6,
],
});
Members
| Member | Description |
|---|---|
IPV4 | ipv4 address type. |
IPV6 | ipv6 address type. |
Referenced by
VpcEndpointServiceProps.supportedIpAddressTypessupported_ip_address_typessupportedIpAddressTypesSupportedIpAddressTypesSupportedIpAddressTypes