Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

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

Copy
{ "SecurityGroupIds" : [ String, ... ], "Subnets" : [ String, ... ], "VpcId" : String }

YAML

Copy
SecurityGroupIds: - String Subnets: - String VpcId: 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

On this page: