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.104.0 (build e79254c)", date="2024-11-06T23:25:08.769Z") @Stability(Stable) public class InterfaceVpcEndpointAwsService extends software.amazon.jsii.JsiiObject implements IInterfaceVpcEndpointService
An AWS service for an interface VPC endpoint.

Example:

 import software.amazon.awscdk.services.ec2.*;
 Vpc vpc;
 InterfaceVpcEndpoint interfaceVpcEndpoint = InterfaceVpcEndpoint.Builder.create(this, "MyVpcEndpoint")
         .vpc(vpc)
         .service(InterfaceVpcEndpointAwsService.APP_RUNNER_REQUESTS)
         .privateDnsEnabled(false)
         .build();
 Service service = Service.Builder.create(this, "Service")
         .source(Source.fromEcrPublic(EcrPublicProps.builder()
                 .imageConfiguration(ImageConfiguration.builder()
                         .port(8000)
                         .build())
                 .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest")
                 .build()))
         .isPubliclyAccessible(false)
         .build();
 VpcIngressConnection.Builder.create(this, "VpcIngressConnection")
         .vpc(vpc)
         .interfaceVpcEndpoint(interfaceVpcEndpoint)
         .service(service)
         .build();