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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb

Overview

Note:

When making an API call, you may pass BatchRestrictions data as a hash:

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

Specifies restrictions for the batch build.

Constant Summary collapse

SENSITIVE =
[]

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 CodeBuild User Guide for these values.

Returns:

  • (Array<String>)


270
271
272
273
274
275
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 270

class BatchRestrictions < Struct.new(
  :maximum_builds_allowed,
  :compute_types_allowed)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_builds_allowedInteger

Specifies the maximum number of builds allowed.

Returns:

  • (Integer)


270
271
272
273
274
275
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 270

class BatchRestrictions < Struct.new(
  :maximum_builds_allowed,
  :compute_types_allowed)
  SENSITIVE = []
  include Aws::Structure
end