Interface CfnProjectPropsMixin.IVpcConfigProperty
The VPC security groups and subnets that are attached to a project.
Namespace: Amazon.CDK.Mixins.Preview.AWS.DeviceFarm.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnProjectPropsMixin.IVpcConfigProperty
Syntax (vb)
Public Interface CfnProjectPropsMixin.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.Mixins.Preview.AWS.DeviceFarm.Mixins;
var vpcConfigProperty = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
VpcId = "vpcId"
};
Synopsis
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. |
Properties
SecurityGroupIds
A list of VPC security group IDs.
string[]? SecurityGroupIds { get; }
Property Value
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.
string[]? SubnetIds { get; }
Property Value
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.
string? VpcId { get; }
Property Value
Remarks
Each VPC is given a unique ID upon creation.