Show / Hide Table of Contents

Class VpcConnector

(experimental) The App Runner VPC Connector.

Inheritance
object
Resource
VpcConnector
Implements
IVpcConnector
IResource
IConstruct
IDependable
IConnectable
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class VpcConnector : Resource, IVpcConnector, IResource, IConstruct, IDependable, IConnectable
Syntax (vb)
Public Class VpcConnector Inherits Resource Implements IVpcConnector, IResource, IConstruct, IDependable, IConnectable
Remarks

Stability: Experimental

Resource: AWS::AppRunner::VpcConnector

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.EC2;


             var vpc = new Vpc(this, "Vpc", new VpcProps {
                 IpAddresses = IpAddresses.Cidr("10.0.0.0/16")
             });

             var vpcConnector = new VpcConnector(this, "VpcConnector", new VpcConnectorProps {
                 Vpc = vpc,
                 VpcSubnets = vpc.SelectSubnets(new SubnetSelection { SubnetType = SubnetType.PUBLIC }),
                 VpcConnectorName = "MyVpcConnector"
             });

             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"
                 }),
                 VpcConnector = vpcConnector
             });

Synopsis

Constructors

VpcConnector(Construct, string, IVpcConnectorProps)

(experimental) The App Runner VPC Connector.

Properties

Connections

(experimental) Allows specifying security group connections for the VPC connector.

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

VpcConnectorArn

(experimental) The ARN of the VPC connector.

VpcConnectorName

(experimental) The name of the VPC connector.

VpcConnectorRevision

(experimental) The revision of the VPC connector.

Methods

FromVpcConnectorAttributes(Construct, string, IVpcConnectorAttributes)

(experimental) Import from VPC connector attributes.

Constructors

VpcConnector(Construct, string, IVpcConnectorProps)

(experimental) The App Runner VPC Connector.

public VpcConnector(Construct scope, string id, IVpcConnectorProps props)
Parameters
scope Construct
id string
props IVpcConnectorProps
Remarks

Stability: Experimental

Properties

Connections

(experimental) Allows specifying security group connections for the VPC connector.

public virtual Connections_ Connections { get; }
Property Value

Connections_

Remarks

Stability: Experimental

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Stability: Experimental

VpcConnectorArn

(experimental) The ARN of the VPC connector.

public virtual string VpcConnectorArn { get; }
Property Value

string

Remarks

Stability: Experimental

Attribute: true

VpcConnectorName

(experimental) The name of the VPC connector.

public virtual string VpcConnectorName { get; }
Property Value

string

Remarks

Stability: Experimental

Attribute: true

VpcConnectorRevision

(experimental) The revision of the VPC connector.

public virtual double VpcConnectorRevision { get; }
Property Value

double

Remarks

Stability: Experimental

Attribute: true

Methods

FromVpcConnectorAttributes(Construct, string, IVpcConnectorAttributes)

(experimental) Import from VPC connector attributes.

public static IVpcConnector FromVpcConnectorAttributes(Construct scope, string id, IVpcConnectorAttributes attrs)
Parameters
scope Construct
id string
attrs IVpcConnectorAttributes
Returns

IVpcConnector

Remarks

Stability: Experimental

Implements

IVpcConnector
IResource
Constructs.IConstruct
Constructs.IDependable
IConnectable
Back to top Generated by DocFX