Menu
AWS CodeBuild
API Reference (API Version 2016-10-06)

VpcConfig

If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID.

Contents

Note

In the following list, the required parameters are described first.

securityGroupIds

A list of one or more security groups IDs in your Amazon VPC.

Type: Array of strings

Array Members: Maximum number of 5 items.

Length Constraints: Minimum length of 1.

Required: No

subnets

A list of one or more subnet IDs in your Amazon VPC.

Type: Array of strings

Array Members: Maximum number of 16 items.

Length Constraints: Minimum length of 1.

Required: No

vpcId

The ID of the Amazon VPC.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: