Class: Aws::CodeBuild::Types::ProjectBuildBatchConfig

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 ProjectBuildBatchConfig data as a hash:

{
  service_role: "NonEmptyString",
  combine_artifacts: false,
  restrictions: {
    maximum_builds_allowed: 1,
    compute_types_allowed: ["NonEmptyString"],
  },
  timeout_in_mins: 1,
  batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
}

Contains configuration information about a batch build project.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#batch_report_modeString

Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

REPORT_AGGREGATED_BATCH

(Default) Aggregate all of the build statuses into a single status report.

REPORT_INDIVIDUAL_BUILDS

Send a separate status report for each individual build.

Returns:

  • (String)


4172
4173
4174
4175
4176
4177
4178
4179
4180
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4172

class ProjectBuildBatchConfig < Struct.new(
  :service_role,
  :combine_artifacts,
  :restrictions,
  :timeout_in_mins,
  :batch_report_mode)
  SENSITIVE = []
  include Aws::Structure
end

#combine_artifactsBoolean

Specifies if the build artifacts for the batch build should be combined into a single artifact location.

Returns:

  • (Boolean)


4172
4173
4174
4175
4176
4177
4178
4179
4180
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4172

class ProjectBuildBatchConfig < Struct.new(
  :service_role,
  :combine_artifacts,
  :restrictions,
  :timeout_in_mins,
  :batch_report_mode)
  SENSITIVE = []
  include Aws::Structure
end

#restrictionsTypes::BatchRestrictions

A BatchRestrictions object that specifies the restrictions for the batch build.



4172
4173
4174
4175
4176
4177
4178
4179
4180
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4172

class ProjectBuildBatchConfig < Struct.new(
  :service_role,
  :combine_artifacts,
  :restrictions,
  :timeout_in_mins,
  :batch_report_mode)
  SENSITIVE = []
  include Aws::Structure
end

#service_roleString

Specifies the service role ARN for the batch build project.

Returns:

  • (String)


4172
4173
4174
4175
4176
4177
4178
4179
4180
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4172

class ProjectBuildBatchConfig < Struct.new(
  :service_role,
  :combine_artifacts,
  :restrictions,
  :timeout_in_mins,
  :batch_report_mode)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_in_minsInteger

Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

Returns:

  • (Integer)


4172
4173
4174
4175
4176
4177
4178
4179
4180
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4172

class ProjectBuildBatchConfig < Struct.new(
  :service_role,
  :combine_artifacts,
  :restrictions,
  :timeout_in_mins,
  :batch_report_mode)
  SENSITIVE = []
  include Aws::Structure
end