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.139.0 (build 26a6b54)", date="2026-08-19T15:41:17.375Z") @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());