interface BatchRestrictionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeBuild.CfnProject.BatchRestrictionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnProject_BatchRestrictionsProperty |
![]() | software.amazon.awscdk.services.codebuild.CfnProject.BatchRestrictionsProperty |
![]() | aws_cdk.aws_codebuild.CfnProject.BatchRestrictionsProperty |
![]() | 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
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.