Class CfnProject.VpcConfigProperty
The VPC security groups and subnets that are attached to a project.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DeviceFarm
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcConfigProperty : Object, CfnProject.IVpcConfigProperty
Syntax (vb)
Public Class VpcConfigProperty
Inherits Object
Implements CfnProject.IVpcConfigProperty
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.DeviceFarm;
var vpcConfigProperty = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
VpcId = "vpcId"
};
Synopsis
Constructors
VpcConfigProperty() |
Properties
SecurityGroupIds | A list of VPC security group IDs. |
SubnetIds | A subnet is a range of IP addresses in your VPC. |
VpcId | A list of VPC IDs. |
Constructors
VpcConfigProperty()
public VpcConfigProperty()
Properties
SecurityGroupIds
A list of VPC security group IDs.
public string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
A security group allows inbound traffic from network interfaces (and their associated instances) that are assigned to the same security group. See Security groups in the Amazon Virtual Private Cloud user guide .
SubnetIds
A subnet is a range of IP addresses in your VPC.
public string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
You can launch Amazon resources, such as EC2 instances, into a specific subnet. When you create a subnet, you specify the IPv4 CIDR block for the subnet, which is a subset of the VPC CIDR block. See VPCs and subnets in the Amazon Virtual Private Cloud user guide .
VpcId
A list of VPC IDs.
public string VpcId { get; set; }
Property Value
System.String
Remarks
Each VPC is given a unique ID upon creation.