Class VpcIngressConnectionProps
(experimental) Properties of the AppRunner VPC Ingress Connection.
Inheritance
System.Object
VpcIngressConnectionProps
Implements
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class VpcIngressConnectionProps : Object, IVpcIngressConnectionProps
Syntax (vb)
Public Class VpcIngressConnectionProps
Inherits Object
Implements IVpcIngressConnectionProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EC2;
Vpc vpc;
var interfaceVpcEndpoint = new InterfaceVpcEndpoint(this, "MyVpcEndpoint", new InterfaceVpcEndpointProps {
Vpc = vpc,
Service = InterfaceVpcEndpointAwsService.APP_RUNNER_REQUESTS,
PrivateDnsEnabled = false
});
var service = new Service(this, "Service", new ServiceProps {
Source = Source.FromEcrPublic(new EcrPublicProps {
ImageConfiguration = new ImageConfiguration {
Port = 8000
},
ImageIdentifier = "public.ecr.aws/aws-containers/hello-app-runner:latest"
}),
IsPubliclyAccessible = false
});
new VpcIngressConnection(this, "VpcIngressConnection", new VpcIngressConnectionProps {
Vpc = vpc,
InterfaceVpcEndpoint = interfaceVpcEndpoint,
Service = service
});
Synopsis
Constructors
VpcIngressConnectionProps() |
Properties
InterfaceVpcEndpoint | (experimental) The VPC Interface Endpoint for the VPC Ingress Connection. |
Service | (experimental) The service to connect. |
Vpc | (experimental) The VPC for the VPC Ingress Connection. |
VpcIngressConnectionName | (experimental) The name for the VPC Ingress Connection. |
Constructors
VpcIngressConnectionProps()
public VpcIngressConnectionProps()
Properties
InterfaceVpcEndpoint
(experimental) The VPC Interface Endpoint for the VPC Ingress Connection.
public IInterfaceVpcEndpoint InterfaceVpcEndpoint { get; set; }
Property Value
Remarks
Stability: Experimental
Service
(experimental) The service to connect.
public IService Service { get; set; }
Property Value
Remarks
Stability: Experimental
Vpc
(experimental) The VPC for the VPC Ingress Connection.
public IVpc Vpc { get; set; }
Property Value
Remarks
Stability: Experimental
VpcIngressConnectionName
(experimental) The name for the VPC Ingress Connection.
public string VpcIngressConnectionName { get; set; }
Property Value
System.String
Remarks
Default: - a name generated by CloudFormation
Stability: Experimental