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();
-
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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apprunner.alpha.IVpcIngressConnection
IVpcIngressConnection.Jsii$Default, IVpcIngressConnection.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
VpcIngressConnection
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
VpcIngressConnection
(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 IVpcIngressConnection
fromVpcIngressConnectionAttributes
(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, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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:
getVpcIngressConnectionArn
in interfaceIVpcIngressConnection
-
getVpcIngressConnectionName
(experimental) The name of the VPC Ingress Connection.- Specified by:
getVpcIngressConnectionName
in interfaceIVpcIngressConnection
-