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:
IEnvironmentAware,IResource,IVpcIngressConnection,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:49.396Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forVpcIngressConnection.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.apprunner.alpha.IVpcIngressConnection
IVpcIngressConnection.Jsii$Default, IVpcIngressConnection.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVpcIngressConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedVpcIngressConnection(software.amazon.jsii.JsiiObjectRef objRef) VpcIngressConnection(software.constructs.Construct scope, String id, VpcIngressConnectionProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IVpcIngressConnection(experimental) Imports an App Runner VPC Ingress Connection from its ARN.static IVpcIngressConnectionfromVpcIngressConnectionAttributes(software.constructs.Construct scope, String id, VpcIngressConnectionAttributes attrs) (experimental) Import from VPC Ingress Connection from attributes.(experimental) The domain name associated with the VPC Ingress Connection resource.(experimental) The current status of the VPC Ingress Connection.(experimental) The ARN of the VPC Ingress Connection.(experimental) The name of the VPC Ingress Connection.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
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
(experimental) The domain name associated with the VPC Ingress Connection resource. -
getStatus
(experimental) The current status of the VPC Ingress Connection. -
getVpcIngressConnectionArn
(experimental) The ARN of the VPC Ingress Connection.- Specified by:
getVpcIngressConnectionArnin interfaceIVpcIngressConnection
-
getVpcIngressConnectionName
(experimental) The name of the VPC Ingress Connection.- Specified by:
getVpcIngressConnectionNamein interfaceIVpcIngressConnection
-