aws-cdk-lib.aws_codebuild.CfnProject.BatchRestrictionsProperty

interface BatchRestrictionsProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeBuild.CfnProject.BatchRestrictionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnProject_BatchRestrictionsProperty
Javasoftware.amazon.awscdk.services.codebuild.CfnProject.BatchRestrictionsProperty
Pythonaws_cdk.aws_codebuild.CfnProject.BatchRestrictionsProperty
TypeScript aws-cdk-lib » 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 { aws_codebuild as codebuild } from 'aws-cdk-lib';
const batchRestrictionsProperty: codebuild.CfnProject.BatchRestrictionsProperty = {
  computeTypesAllowed: ['computeTypesAllowed'],
  maximumBuildsAllowed: 123,
};

Properties

NameTypeDescription
computeTypesAllowed?string[]An array of strings that specify the compute types that are allowed for the batch build.
maximumBuildsAllowed?numberSpecifies 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.