Class InterfaceVpcEndpointAwsService

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.InterfaceVpcEndpointAwsService
All Implemented Interfaces:
IInterfaceVpcEndpointService, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-25T13:53:49.245Z") @Stability(Stable) public class InterfaceVpcEndpointAwsService extends software.amazon.jsii.JsiiObject implements IInterfaceVpcEndpointService
An AWS service for an interface VPC endpoint.

Example:

 // Interface endpoint with IPv6
 vpc.addInterfaceEndpoint("ExampleEndpoint", InterfaceVpcEndpointOptions.builder()
         .service(InterfaceVpcEndpointAwsService.ECR)
         .ipAddressType(VpcEndpointIpAddressType.IPV6)
         .dnsRecordIpType(VpcEndpointDnsRecordIpType.IPV6)
         .build());
 // Gateway endpoint with dualstack
 vpc.addGatewayEndpoint("S3DualstackEndpoint", GatewayVpcEndpointOptions.builder()
         .service(GatewayVpcEndpointAwsService.S3)
         .ipAddressType(VpcEndpointIpAddressType.DUALSTACK)
         .dnsRecordIpType(VpcEndpointDnsRecordIpType.DUALSTACK)
         .build());