Class CfnVpcConnectorProps
Properties for defining a CfnVpcConnector
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.AWS.AppRunner.dll
Syntax (csharp)
public class CfnVpcConnectorProps : Object, ICfnVpcConnectorProps
Syntax (vb)
Public Class CfnVpcConnectorProps
Inherits Object
Implements ICfnVpcConnectorProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner;
var cfnVpcConnectorProps = new CfnVpcConnectorProps {
Subnets = new [] { "subnets" },
// the properties below are optional
SecurityGroups = new [] { "securityGroups" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VpcConnectorName = "vpcConnectorName"
};
Synopsis
Constructors
CfnVpcConnectorProps() |
Properties
SecurityGroups | A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. |
Subnets | A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. |
Tags | A list of metadata items that you can associate with your VPC connector resource. |
VpcConnectorName | A name for the VPC connector. |
Constructors
CfnVpcConnectorProps()
public CfnVpcConnectorProps()
Properties
SecurityGroups
A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.
public string[] SecurityGroups { get; set; }
Property Value
System.String[]
Remarks
If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
Subnets
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.
public string[] Subnets { get; set; }
Property Value
System.String[]
Remarks
Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
Tags
A list of metadata items that you can associate with your VPC connector resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
VpcConnectorName
A name for the VPC connector.
public string VpcConnectorName { get; set; }
Property Value
System.String
Remarks
If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.