Class CfnProject.VpcConfigProperty
VpcConfig
is a property of the AWS::CodeBuild::Project resource that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
Inheritance
System.Object
CfnProject.VpcConfigProperty
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
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.CodeBuild;
var vpcConfigProperty = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" },
VpcId = "vpcId"
};
Synopsis
Constructors
VpcConfigProperty() |
Properties
SecurityGroupIds | A list of one or more security groups IDs in your Amazon VPC. |
Subnets | A list of one or more subnet IDs in your Amazon VPC. |
VpcId | The ID of the Amazon VPC. |
Constructors
VpcConfigProperty()
public VpcConfigProperty()
Properties
SecurityGroupIds
A list of one or more security groups IDs in your Amazon VPC.
public string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
Subnets
A list of one or more subnet IDs in your Amazon VPC.
public string[] Subnets { get; set; }
Property Value
System.String[]
Remarks
VpcId
The ID of the Amazon VPC.
public string VpcId { get; set; }
Property Value
System.String