{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-schema/amazon-codebuild-batch-restrictions-schema.json",
"title": "BatchRestrictions",
"description": "Specifies restrictions for the batch build.",
"type": "object",
"properties": {
"maximumBuildsAllowed": {
"allOf": [
{
"$ref": "#/components/schemas/WrapperInt"
},
{
"description": "Specifies the maximum number of builds allowed."
}
]
},
"computeTypesAllowed": {
"allOf": [
{
"$ref": "#/components/schemas/ComputeTypesAllowed"
},
{
"description": "An array of strings that specify the compute types that are allowed for the batch build. See <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html\">Build environment compute types</a> in the <i>CodeBuild User Guide</i> for these values. "
}
]
}
}
}