interface BatchRestrictionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeBuild.CfnProject.BatchRestrictionsProperty |
Java | software.amazon.awscdk.services.codebuild.CfnProject.BatchRestrictionsProperty |
Python | aws_cdk.aws_codebuild.CfnProject.BatchRestrictionsProperty |
TypeScript | @aws-cdk/aws-codebuild » CfnProject » BatchRestrictionsProperty |
Specifies restrictions for the batch build.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as codebuild from '@aws-cdk/aws-codebuild';
const batchRestrictionsProperty: codebuild.CfnProject.BatchRestrictionsProperty = {
computeTypesAllowed: ['computeTypesAllowed'],
maximumBuildsAllowed: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| compute | string[] | An array of strings that specify the compute types that are allowed for the batch build. |
| maximum | number | Specifies the maximum number of builds allowed. |
computeTypesAllowed?
Type:
string[]
(optional)
An array of strings that specify the compute types that are allowed for the batch build.
See Build environment compute types in the AWS CodeBuild User Guide for these values.
maximumBuildsAllowed?
Type:
number
(optional)
Specifies the maximum number of builds allowed.

.NET
Java
Python
TypeScript