VpcIngressConnectionProps
- class aws_cdk.aws_apprunner_alpha.VpcIngressConnectionProps(*, interface_vpc_endpoint, service, vpc, vpc_ingress_connection_name=None)
Bases:
object
(experimental) Properties of the AppRunner VPC Ingress Connection.
- Parameters:
interface_vpc_endpoint (
IInterfaceVpcEndpoint
) – (experimental) The VPC Interface Endpoint for the VPC Ingress Connection.service (
IService
) – (experimental) The service to connect.vpc (
IVpc
) – (experimental) The VPC for the VPC Ingress Connection.vpc_ingress_connection_name (
Optional
[str
]) – (experimental) The name for the VPC Ingress Connection. Default: - a name generated by CloudFormation
- Stability:
experimental
- ExampleMetadata:
infused
Example:
import aws_cdk.aws_ec2 as ec2 # vpc: ec2.Vpc interface_vpc_endpoint = ec2.InterfaceVpcEndpoint(self, "MyVpcEndpoint", vpc=vpc, service=ec2.InterfaceVpcEndpointAwsService.APP_RUNNER_REQUESTS, private_dns_enabled=False ) service = apprunner.Service(self, "Service", source=apprunner.Source.from_ecr_public( image_configuration=apprunner.ImageConfiguration( port=8000 ), image_identifier="public.ecr.aws/aws-containers/hello-app-runner:latest" ), is_publicly_accessible=False ) apprunner.VpcIngressConnection(self, "VpcIngressConnection", vpc=vpc, interface_vpc_endpoint=interface_vpc_endpoint, service=service )
Attributes
- interface_vpc_endpoint
(experimental) The VPC Interface Endpoint for the VPC Ingress Connection.
- Stability:
experimental
- service
(experimental) The service to connect.
- Stability:
experimental
- vpc
(experimental) The VPC for the VPC Ingress Connection.
- Stability:
experimental
- vpc_ingress_connection_name
(experimental) The name for the VPC Ingress Connection.
- Default:
a name generated by CloudFormation
- Stability:
experimental