Class: Aws::CodeBuild::Types::BuildBatch

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

Overview

Contains information about a batch build.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the batch build.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#artifactsTypes::BuildArtifacts

A BuildArtifacts object the defines the build artifacts for this batch build.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#build_batch_configTypes::ProjectBuildBatchConfig

Contains configuration information about a batch build project.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#build_batch_numberInteger

The number of the batch build. For each project, the buildBatchNumber of its first batch build is 1. The buildBatchNumber of each subsequent batch build is incremented by 1. If a batch build is deleted, the buildBatchNumber of other batch builds does not change.

Returns:

  • (Integer)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#build_batch_statusString

The status of the batch build.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#build_groupsArray<Types::BuildGroup>

An array of BuildGroup objects that define the build groups for the batch build.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#build_timeout_in_minutesInteger

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

Returns:

  • (Integer)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#cacheTypes::ProjectCache

Information about the cache for the build project.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#completeBoolean

Indicates if the batch build is complete.

Returns:

  • (Boolean)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#current_phaseString

The current phase of the batch build.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#debug_session_enabledBoolean

Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.

Returns:

  • (Boolean)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_keyString

The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts.

You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The date and time that the batch build ended.

Returns:

  • (Time)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#environmentTypes::ProjectEnvironment

Information about the build environment of the build project.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#file_system_locationsArray<Types::ProjectFileSystemLocation>

An array of ProjectFileSystemLocation objects for the batch build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the batch build.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#initiatorString

The entity that started the batch build. Valid values include:

  • If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If a user started the build, the user's name.

  • If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#log_configTypes::LogsConfig

Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#phasesArray<Types::BuildBatchPhase>

An array of BuildBatchPhase objects the specify the phases of the batch build.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#project_nameString

The name of the batch build project.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#queued_timeout_in_minutesInteger

Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.

Returns:

  • (Integer)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#resolved_source_versionString

The identifier of the resolved version of this batch build's source code.

  • For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For CodePipeline, the source revision provided by CodePipeline.

  • For Amazon S3, this does not apply.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_artifactsArray<Types::BuildArtifacts>

An array of BuildArtifacts objects the define the build artifacts for this batch build.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_source_versionsArray<Types::ProjectSourceVersion>

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For CodeCommit: the commit ID, branch, or Git tag to use.

  • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

  • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

  • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_sourcesArray<Types::ProjectSource>

An array of ProjectSource objects that define the sources for the batch build.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#service_roleString

The name of a service role used for builds in the batch.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::ProjectSource

Information about the build input source code for the build project.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#source_versionString

The identifier of the version of the source code to be built.

Returns:

  • (String)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The date and time that the batch build started.

Returns:

  • (Time)


856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_configTypes::VpcConfig

Information about the VPC configuration that CodeBuild accesses.

Returns:



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 856

class BuildBatch < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_batch_status,
  :source_version,
  :resolved_source_version,
  :project_name,
  :phases,
  :source,
  :secondary_sources,
  :secondary_source_versions,
  :artifacts,
  :secondary_artifacts,
  :cache,
  :environment,
  :service_role,
  :log_config,
  :build_timeout_in_minutes,
  :queued_timeout_in_minutes,
  :complete,
  :initiator,
  :vpc_config,
  :encryption_key,
  :build_batch_number,
  :file_system_locations,
  :build_batch_config,
  :build_groups,
  :debug_session_enabled)
  SENSITIVE = []
  include Aws::Structure
end