Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BuildBatch = BuildBatch' {
- phases :: Maybe [BuildBatchPhase]
- secondaryArtifacts :: Maybe [BuildArtifacts]
- buildTimeoutInMinutes :: Maybe Int
- debugSessionEnabled :: Maybe Bool
- arn :: Maybe Text
- startTime :: Maybe POSIX
- artifacts :: Maybe BuildArtifacts
- environment :: Maybe ProjectEnvironment
- initiator :: Maybe Text
- secondarySourceVersions :: Maybe [ProjectSourceVersion]
- buildBatchStatus :: Maybe StatusType
- currentPhase :: Maybe Text
- buildBatchNumber :: Maybe Integer
- queuedTimeoutInMinutes :: Maybe Int
- cache :: Maybe ProjectCache
- secondarySources :: Maybe [ProjectSource]
- sourceVersion :: Maybe Text
- resolvedSourceVersion :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- endTime :: Maybe POSIX
- projectName :: Maybe Text
- buildGroups :: Maybe [BuildGroup]
- source :: Maybe ProjectSource
- id :: Maybe Text
- fileSystemLocations :: Maybe [ProjectFileSystemLocation]
- buildBatchConfig :: Maybe ProjectBuildBatchConfig
- encryptionKey :: Maybe Text
- logConfig :: Maybe LogsConfig
- serviceRole :: Maybe Text
- complete :: Maybe Bool
- newBuildBatch :: BuildBatch
- buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase])
- buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts])
- buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
- buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool)
- buildBatch_arn :: Lens' BuildBatch (Maybe Text)
- buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime)
- buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts)
- buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment)
- buildBatch_initiator :: Lens' BuildBatch (Maybe Text)
- buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion])
- buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType)
- buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text)
- buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer)
- buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
- buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache)
- buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource])
- buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text)
- buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text)
- buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig)
- buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime)
- buildBatch_projectName :: Lens' BuildBatch (Maybe Text)
- buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup])
- buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource)
- buildBatch_id :: Lens' BuildBatch (Maybe Text)
- buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation])
- buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig)
- buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text)
- buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig)
- buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text)
- buildBatch_complete :: Lens' BuildBatch (Maybe Bool)
Documentation
data BuildBatch Source #
Contains information about a batch build.
See: newBuildBatch
smart constructor.
BuildBatch' | |
|
Instances
newBuildBatch :: BuildBatch Source #
Create a value of BuildBatch
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:phases:BuildBatch'
, buildBatch_phases
- An array of BuildBatchPhase
objects the specify the phases of the
batch build.
$sel:secondaryArtifacts:BuildBatch'
, buildBatch_secondaryArtifacts
- An array of BuildArtifacts
objects the define the build artifacts for
this batch build.
$sel:buildTimeoutInMinutes:BuildBatch'
, buildBatch_buildTimeoutInMinutes
- Specifies the maximum amount of time, in minutes, that the build in a
batch must be completed in.
$sel:debugSessionEnabled:BuildBatch'
, buildBatch_debugSessionEnabled
- 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.
$sel:arn:BuildBatch'
, buildBatch_arn
- The ARN of the batch build.
$sel:startTime:BuildBatch'
, buildBatch_startTime
- The date and time that the batch build started.
$sel:artifacts:BuildBatch'
, buildBatch_artifacts
- A BuildArtifacts
object the defines the build artifacts for this batch
build.
$sel:environment:BuildBatch'
, buildBatch_environment
- Undocumented member.
$sel:initiator:BuildBatch'
, buildBatch_initiator
- 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 IAM user started the build, the user's name.
- If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin
.
$sel:secondarySourceVersions:BuildBatch'
, buildBatch_secondarySourceVersions
- 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.
$sel:buildBatchStatus:BuildBatch'
, buildBatch_buildBatchStatus
- The status of the batch build.
$sel:currentPhase:BuildBatch'
, buildBatch_currentPhase
- The current phase of the batch build.
$sel:buildBatchNumber:BuildBatch'
, buildBatch_buildBatchNumber
- 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.
$sel:queuedTimeoutInMinutes:BuildBatch'
, buildBatch_queuedTimeoutInMinutes
- Specifies the amount of time, in minutes, that the batch build is
allowed to be queued before it times out.
$sel:cache:BuildBatch'
, buildBatch_cache
- Undocumented member.
$sel:secondarySources:BuildBatch'
, buildBatch_secondarySources
- An array of ProjectSource
objects that define the sources for the
batch build.
$sel:sourceVersion:BuildBatch'
, buildBatch_sourceVersion
- The identifier of the version of the source code to be built.
$sel:resolvedSourceVersion:BuildBatch'
, buildBatch_resolvedSourceVersion
- 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.
$sel:vpcConfig:BuildBatch'
, buildBatch_vpcConfig
- Undocumented member.
$sel:endTime:BuildBatch'
, buildBatch_endTime
- The date and time that the batch build ended.
$sel:projectName:BuildBatch'
, buildBatch_projectName
- The name of the batch build project.
$sel:buildGroups:BuildBatch'
, buildBatch_buildGroups
- An array of BuildGroup
objects that define the build groups for the
batch build.
$sel:source:BuildBatch'
, buildBatch_source
- Undocumented member.
$sel:id:BuildBatch'
, buildBatch_id
- The identifier of the batch build.
$sel:fileSystemLocations:BuildBatch'
, buildBatch_fileSystemLocations
- 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.
$sel:buildBatchConfig:BuildBatch'
, buildBatch_buildBatchConfig
- Undocumented member.
$sel:encryptionKey:BuildBatch'
, buildBatch_encryptionKey
- 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>
).
$sel:logConfig:BuildBatch'
, buildBatch_logConfig
- Undocumented member.
$sel:serviceRole:BuildBatch'
, buildBatch_serviceRole
- The name of a service role used for builds in the batch.
$sel:complete:BuildBatch'
, buildBatch_complete
- Indicates if the batch build is complete.
buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase]) Source #
An array of BuildBatchPhase
objects the specify the phases of the
batch build.
buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts]) Source #
An array of BuildArtifacts
objects the define the build artifacts for
this batch build.
buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int) Source #
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool) Source #
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.
buildBatch_arn :: Lens' BuildBatch (Maybe Text) Source #
The ARN of the batch build.
buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime) Source #
The date and time that the batch build started.
buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts) Source #
A BuildArtifacts
object the defines the build artifacts for this batch
build.
buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment) Source #
Undocumented member.
buildBatch_initiator :: Lens' BuildBatch (Maybe Text) Source #
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 IAM user started the build, the user's name.
- If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin
.
buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion]) Source #
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.
buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType) Source #
The status of the batch build.
buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text) Source #
The current phase of the batch build.
buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer) Source #
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.
buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int) Source #
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache) Source #
Undocumented member.
buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource]) Source #
An array of ProjectSource
objects that define the sources for the
batch build.
buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text) Source #
The identifier of the version of the source code to be built.
buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text) Source #
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.
buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig) Source #
Undocumented member.
buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime) Source #
The date and time that the batch build ended.
buildBatch_projectName :: Lens' BuildBatch (Maybe Text) Source #
The name of the batch build project.
buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup]) Source #
An array of BuildGroup
objects that define the build groups for the
batch build.
buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource) Source #
Undocumented member.
buildBatch_id :: Lens' BuildBatch (Maybe Text) Source #
The identifier of the batch build.
buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation]) Source #
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.
buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig) Source #
Undocumented member.
buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text) Source #
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>
).
buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig) Source #
Undocumented member.
buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text) Source #
The name of a service role used for builds in the batch.
buildBatch_complete :: Lens' BuildBatch (Maybe Bool) Source #
Indicates if the batch build is complete.