Class VpcIngressConnection

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.apprunner.alpha.VpcIngressConnection
All Implemented Interfaces:
IResource, IVpcIngressConnection, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-19T18:01:44.650Z") @Stability(Experimental) public class VpcIngressConnection extends Resource implements IVpcIngressConnection
(experimental) The App Runner 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();
 
  • Constructor Details

    • VpcIngressConnection

      protected VpcIngressConnection(software.amazon.jsii.JsiiObjectRef objRef)
    • VpcIngressConnection

      protected VpcIngressConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • VpcIngressConnection

      @Stability(Experimental) public VpcIngressConnection(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull VpcIngressConnectionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromArn

      @Stability(Experimental) @NotNull public static IVpcIngressConnection fromArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String vpcIngressConnectionArn)
      (experimental) Imports an App Runner VPC Ingress Connection from its ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      vpcIngressConnectionArn - This parameter is required.
    • fromVpcIngressConnectionAttributes

      @Stability(Experimental) @NotNull public static IVpcIngressConnection fromVpcIngressConnectionAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull VpcIngressConnectionAttributes attrs)
      (experimental) Import from VPC Ingress Connection from attributes.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      attrs - This parameter is required.
    • getDomainName

      @Stability(Experimental) @NotNull public String getDomainName()
      (experimental) The domain name associated with the VPC Ingress Connection resource.
    • getStatus

      @Stability(Experimental) @NotNull public String getStatus()
      (experimental) The current status of the VPC Ingress Connection.
    • getVpcIngressConnectionArn

      @Stability(Experimental) @NotNull public String getVpcIngressConnectionArn()
      (experimental) The ARN of the VPC Ingress Connection.
      Specified by:
      getVpcIngressConnectionArn in interface IVpcIngressConnection
    • getVpcIngressConnectionName

      @Stability(Experimental) @NotNull public String getVpcIngressConnectionName()
      (experimental) The name of the VPC Ingress Connection.
      Specified by:
      getVpcIngressConnectionName in interface IVpcIngressConnection