Interface VpcIngressConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcIngressConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:49.579Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcIngressConnectionPropsstatic final classAn implementation forVpcIngressConnectionProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInterfaceVpcEndpoint
(experimental) The VPC Interface Endpoint for the VPC Ingress Connection. -
getService
(experimental) The service to connect. -
getVpc
(experimental) The VPC for the VPC Ingress Connection. -
getVpcIngressConnectionName
(experimental) The name for the VPC Ingress Connection.Default: - a name generated by CloudFormation
-
builder
- Returns:
- a
VpcIngressConnectionProps.BuilderofVpcIngressConnectionProps
-