Amazon CodeBuild · JSON Structure

Amazon Codebuild Batch Restrictions Structure

Specifies restrictions for the batch build.

Type: object Properties: 2
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

BatchRestrictions is a JSON Structure definition published by Amazon CodeBuild, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

maximumBuildsAllowed computeTypesAllowed

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-batch-restrictions-structure.json",
  "name": "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. "
        }
      ]
    }
  }
}