# BatchRestrictionsProperty

Specifies restrictions for the batch build.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const batchRestrictionsProperty: codebuild.CfnProject.BatchRestrictionsProperty = {
  computeTypesAllowed: ['computeTypesAllowed'],
  maximumBuildsAllowed: 123,
};
```

## Properties

- `computeTypesAllowed`: string[] — An array of strings that specify the compute types that are allowed for the batch build.

  See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the *AWS CodeBuild User Guide* for these values.

- `maximumBuildsAllowed`: number — Specifies the maximum number of builds allowed.
