AWS::CodeBuild::Project VpcConfig - AWS CloudFormation (original) (raw)

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

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

YAML

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

Update 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: 16

Update requires: No interruption

VpcId

The ID of the Amazon VPC.

Required: No

Type: String

Minimum: 1

Update requires: No interruption

See also

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.