This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CodeBuild::Project VpcConfig
VpcConfig is a property of the AWS::CodeBuild::Project resource
that enable Amazon CodeBuild to access resources in an Amazon VPC. For more information, see
Use Amazon CodeBuild with Amazon Virtual Private Cloud in
the Amazon CodeBuild User Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "SecurityGroupIds" :[ String, ... ], "Subnets" :[ String, ... ], "VpcId" :String}
YAML
SecurityGroupIds:- StringSubnets:- StringVpcId:String
Properties
SecurityGroupIds-
A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
Required: No
Type: Array of String
Maximum:
5Update requires: No interruption
Subnets-
A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
Required: No
Type: Array of String
Maximum:
16Update requires: No interruption
VpcId-
The ID of the Amazon VPC.
Required: No
Type: String
Minimum:
1Update requires: No interruption
See also
-
VpcConfig in the Amazon CodeBuild API Reference