Show / Hide Table of Contents

Class VpcIngressConnectionProps

(experimental) Properties of the AppRunner VPC Ingress Connection.

Inheritance
object
VpcIngressConnectionProps
Implements
IVpcIngressConnectionProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class VpcIngressConnectionProps : IVpcIngressConnectionProps
Syntax (vb)
Public Class VpcIngressConnectionProps 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()

(experimental) Properties of the AppRunner VPC Ingress Connection.

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()

(experimental) Properties of the AppRunner VPC Ingress Connection.

public VpcIngressConnectionProps()
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
             });

Properties

InterfaceVpcEndpoint

(experimental) The VPC Interface Endpoint for the VPC Ingress Connection.

public IInterfaceVpcEndpoint InterfaceVpcEndpoint { get; set; }
Property Value

IInterfaceVpcEndpoint

Remarks

Stability: Experimental

Service

(experimental) The service to connect.

public IService Service { get; set; }
Property Value

IService

Remarks

Stability: Experimental

Vpc

(experimental) The VPC for the VPC Ingress Connection.

public IVpc Vpc { get; set; }
Property Value

IVpc

Remarks

Stability: Experimental

VpcIngressConnectionName

(experimental) The name for the VPC Ingress Connection.

public string? VpcIngressConnectionName { get; set; }
Property Value

string

Remarks

Default: - a name generated by CloudFormation

Stability: Experimental

Implements

IVpcIngressConnectionProps
Back to top Generated by DocFX