AWS CodeBuild Project VpcConfig
The
VpcConfig property type specifies settings that enable AWS CodeBuild to access resources in
an Amazon VPC.
VpcConfig is a property of the AWS::CodeBuild::Project resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "SecurityGroupIds" : [String, ... ], "Subnets" : [String, ... ], "VpcId" :String}
YAML
SecurityGroupIds: -StringSubnets: -StringVpcId:String
Properties
SecurityGroupIds-
The IDs of the security groups in the Amazon VPC. The maximum count is 5.
Required: Yes
Type: List of String values
Update requires: No interruption
Subnets-
The IDs of the subnets in the Amazon VPC. The maximum count is 16.
Required: Yes
Type: List of String values
Update requires: No interruption
VpcId-
The ID of the Amazon VPC.
Required: Yes
Type: String
Update requires: No interruption
See Also
-
VpcConfig in the AWS CodeBuild API Reference
