NAME
Paws::CodeBuild::BuildBatch
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CodeBuild::BuildBatch object:
$service_obj->Method(Att1 => { Arn => $value, ..., VpcConfig => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::BuildBatch object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Contains information about a batch build.
ATTRIBUTES
Arn => Str
The ARN of the batch build.
Artifacts => Paws::CodeBuild::BuildArtifacts
A BuildArtifacts
object the defines the build artifacts for this batch build.
BuildBatchConfig => Paws::CodeBuild::ProjectBuildBatchConfig
BuildBatchNumber => Int
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.
BuildBatchStatus => Str
The status of the batch build.
BuildGroups => ArrayRef[Paws::CodeBuild::BuildGroup]
An array of BuildGroup
objects that define the build groups for the batch build.
BuildTimeoutInMinutes => Int
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
Cache => Paws::CodeBuild::ProjectCache
Complete => Bool
Indicates if the batch build is complete.
CurrentPhase => Str
The current phase of the batch build.
DebugSessionEnabled => Bool
Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager (https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html). Batch session debugging is not supported for matrix batch builds.
EncryptionKey => Str
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>
).
EndTime => Str
The date and time that the batch build ended.
Environment => Paws::CodeBuild::ProjectEnvironment
FileSystemLocations => ArrayRef[Paws::CodeBuild::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.
Id => Str
The identifier of the batch build.
Initiator => Str
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 an Identity and Access Management user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin
.
LogConfig => Paws::CodeBuild::LogsConfig
Phases => ArrayRef[Paws::CodeBuild::BuildBatchPhase]
An array of BuildBatchPhase
objects the specify the phases of the batch build.
ProjectName => Str
The name of the batch build project.
QueuedTimeoutInMinutes => Int
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
ResolvedSourceVersion => Str
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.
SecondaryArtifacts => ArrayRef[Paws::CodeBuild::BuildArtifacts]
An array of BuildArtifacts
objects the define the build artifacts for this batch build.
SecondarySources => ArrayRef[Paws::CodeBuild::ProjectSource]
An array of ProjectSource
objects that define the sources for the batch build.
SecondarySourceVersions => ArrayRef[Paws::CodeBuild::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.
ServiceRole => Str
The name of a service role used for builds in the batch.
Source => Paws::CodeBuild::ProjectSource
SourceVersion => Str
The identifier of the version of the source code to be built.
StartTime => Str
The date and time that the batch build started.
VpcConfig => Paws::CodeBuild::VpcConfig
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CodeBuild
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues