You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeBuild::Types::BatchRestrictions

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchRestrictions as input to an Aws::Client method, you can use a vanilla Hash:

{
  maximum_builds_allowed: 1,
  compute_types_allowed: ["NonEmptyString"],
}

Specifies restrictions for the batch build.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#compute_types_allowedArray<String>

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.

Returns:

  • (Array<String>)

    An array of strings that specify the compute types that are allowed for the batch build.

#maximum_builds_allowedInteger

Specifies the maximum number of builds allowed.

Returns:

  • (Integer)

    Specifies the maximum number of builds allowed.