Interface VpcIngressConnectionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
VpcIngressConnectionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-02-12T12:32:13.302Z") @Stability(Experimental) public interface VpcIngressConnectionProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties of the AppRunner VPC Ingress Connection.

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();
 
  • Method Details

    • getInterfaceVpcEndpoint

      @Stability(Experimental) @NotNull IInterfaceVpcEndpoint getInterfaceVpcEndpoint()
      (experimental) The VPC Interface Endpoint for the VPC Ingress Connection.
    • getService

      @Stability(Experimental) @NotNull IService getService()
      (experimental) The service to connect.
    • getVpc

      @Stability(Experimental) @NotNull IVpc getVpc()
      (experimental) The VPC for the VPC Ingress Connection.
    • getVpcIngressConnectionName

      @Stability(Experimental) @Nullable default String getVpcIngressConnectionName()
      (experimental) The name for the VPC Ingress Connection.

      Default: - a name generated by CloudFormation

    • builder

      @Stability(Experimental) static VpcIngressConnectionProps.Builder builder()
      Returns:
      a VpcIngressConnectionProps.Builder of VpcIngressConnectionProps