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 Project = Project' {
- secondaryArtifacts :: Maybe [ProjectArtifacts]
- resourceAccessRole :: Maybe Text
- arn :: Maybe Text
- artifacts :: Maybe ProjectArtifacts
- environment :: Maybe ProjectEnvironment
- created :: Maybe POSIX
- concurrentBuildLimit :: Maybe Int
- secondarySourceVersions :: Maybe [ProjectSourceVersion]
- queuedTimeoutInMinutes :: Maybe Natural
- cache :: Maybe ProjectCache
- secondarySources :: Maybe [ProjectSource]
- sourceVersion :: Maybe Text
- name :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- publicProjectAlias :: Maybe Text
- source :: Maybe ProjectSource
- badge :: Maybe ProjectBadge
- logsConfig :: Maybe LogsConfig
- fileSystemLocations :: Maybe [ProjectFileSystemLocation]
- buildBatchConfig :: Maybe ProjectBuildBatchConfig
- encryptionKey :: Maybe Text
- lastModified :: Maybe POSIX
- projectVisibility :: Maybe ProjectVisibilityType
- webhook :: Maybe Webhook
- description :: Maybe Text
- serviceRole :: Maybe Text
- tags :: Maybe [Tag]
- timeoutInMinutes :: Maybe Natural
- newProject :: Project
- project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts])
- project_resourceAccessRole :: Lens' Project (Maybe Text)
- project_arn :: Lens' Project (Maybe Text)
- project_artifacts :: Lens' Project (Maybe ProjectArtifacts)
- project_environment :: Lens' Project (Maybe ProjectEnvironment)
- project_created :: Lens' Project (Maybe UTCTime)
- project_concurrentBuildLimit :: Lens' Project (Maybe Int)
- project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion])
- project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural)
- project_cache :: Lens' Project (Maybe ProjectCache)
- project_secondarySources :: Lens' Project (Maybe [ProjectSource])
- project_sourceVersion :: Lens' Project (Maybe Text)
- project_name :: Lens' Project (Maybe Text)
- project_vpcConfig :: Lens' Project (Maybe VpcConfig)
- project_publicProjectAlias :: Lens' Project (Maybe Text)
- project_source :: Lens' Project (Maybe ProjectSource)
- project_badge :: Lens' Project (Maybe ProjectBadge)
- project_logsConfig :: Lens' Project (Maybe LogsConfig)
- project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation])
- project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig)
- project_encryptionKey :: Lens' Project (Maybe Text)
- project_lastModified :: Lens' Project (Maybe UTCTime)
- project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType)
- project_webhook :: Lens' Project (Maybe Webhook)
- project_description :: Lens' Project (Maybe Text)
- project_serviceRole :: Lens' Project (Maybe Text)
- project_tags :: Lens' Project (Maybe [Tag])
- project_timeoutInMinutes :: Lens' Project (Maybe Natural)
Documentation
Information about a build project.
See: newProject
smart constructor.
Project' | |
|
Instances
newProject :: Project Source #
Create a value of Project
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:secondaryArtifacts:Project'
, project_secondaryArtifacts
- An array of ProjectArtifacts
objects.
$sel:resourceAccessRole:Project'
, project_resourceAccessRole
- The ARN of the IAM role that enables CodeBuild to access the CloudWatch
Logs and Amazon S3 artifacts for the project's builds.
$sel:arn:Project'
, project_arn
- The Amazon Resource Name (ARN) of the build project.
$sel:artifacts:Project'
, project_artifacts
- Information about the build output artifacts for the build project.
$sel:environment:Project'
, project_environment
- Information about the build environment for this build project.
$sel:created:Project'
, project_created
- When the build project was created, expressed in Unix time format.
$sel:concurrentBuildLimit:Project'
, project_concurrentBuildLimit
- The maximum number of concurrent builds that are allowed for this
project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
$sel:secondarySourceVersions:Project'
, project_secondarySourceVersions
- An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at the build level, then they take over these
secondarySourceVersions
(at the project level).
$sel:queuedTimeoutInMinutes:Project'
, project_queuedTimeoutInMinutes
- The number of minutes a build is allowed to be queued before it times
out.
$sel:cache:Project'
, project_cache
- Information about the cache for the build project.
$sel:secondarySources:Project'
, project_secondarySources
- An array of ProjectSource
objects.
$sel:sourceVersion:Project'
, project_sourceVersion
- A version of the build input to be built for this project. If not
specified, the latest version is used. If specified, it 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 examplepr/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.
If sourceVersion
is specified at the build level, then that version
takes precedence over this sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
$sel:name:Project'
, project_name
- The name of the build project.
$sel:vpcConfig:Project'
, project_vpcConfig
- Information about the VPC configuration that CodeBuild accesses.
$sel:publicProjectAlias:Project'
, project_publicProjectAlias
- Contains the project identifier used with the public build APIs.
$sel:source:Project'
, project_source
- Information about the build input source code for this build project.
$sel:badge:Project'
, project_badge
- Information about the build badge for the build project.
$sel:logsConfig:Project'
, project_logsConfig
- Information about logs for the build project. A project can create logs
in CloudWatch Logs, an S3 bucket, or both.
$sel:fileSystemLocations:Project'
, project_fileSystemLocations
- An array of ProjectFileSystemLocation
objects for a CodeBuild 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:Project'
, project_buildBatchConfig
- A ProjectBuildBatchConfig object that defines the batch build options
for the project.
$sel:encryptionKey:Project'
, project_encryptionKey
- The Key Management Service customer master key (CMK) to be used for
encrypting the 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>
).
If you don't specify a value, CodeBuild uses the managed CMK for Amazon
Simple Storage Service (Amazon S3).
$sel:lastModified:Project'
, project_lastModified
- When the build project's settings were last modified, expressed in Unix
time format.
$sel:projectVisibility:Project'
, project_projectVisibility
- Undocumented member.
$sel:webhook:Project'
, project_webhook
- Information about a webhook that connects repository events to a build
project in CodeBuild.
$sel:description:Project'
, project_description
- A description that makes the build project easy to identify.
$sel:serviceRole:Project'
, project_serviceRole
- The ARN of the IAM role that enables CodeBuild to interact with
dependent Amazon Web Services services on behalf of the Amazon Web
Services account.
$sel:tags:Project'
, project_tags
- A list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
$sel:timeoutInMinutes:Project'
, project_timeoutInMinutes
- How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
before timing out any related build that did not get marked as
completed. The default is 60 minutes.
project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts]) Source #
An array of ProjectArtifacts
objects.
project_resourceAccessRole :: Lens' Project (Maybe Text) Source #
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
project_arn :: Lens' Project (Maybe Text) Source #
The Amazon Resource Name (ARN) of the build project.
project_artifacts :: Lens' Project (Maybe ProjectArtifacts) Source #
Information about the build output artifacts for the build project.
project_environment :: Lens' Project (Maybe ProjectEnvironment) Source #
Information about the build environment for this build project.
project_created :: Lens' Project (Maybe UTCTime) Source #
When the build project was created, expressed in Unix time format.
project_concurrentBuildLimit :: Lens' Project (Maybe Int) Source #
The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion]) Source #
An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at the build level, then they take over these
secondarySourceVersions
(at the project level).
project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural) Source #
The number of minutes a build is allowed to be queued before it times out.
project_cache :: Lens' Project (Maybe ProjectCache) Source #
Information about the cache for the build project.
project_secondarySources :: Lens' Project (Maybe [ProjectSource]) Source #
An array of ProjectSource
objects.
project_sourceVersion :: Lens' Project (Maybe Text) Source #
A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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 examplepr/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.
If sourceVersion
is specified at the build level, then that version
takes precedence over this sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
project_vpcConfig :: Lens' Project (Maybe VpcConfig) Source #
Information about the VPC configuration that CodeBuild accesses.
project_publicProjectAlias :: Lens' Project (Maybe Text) Source #
Contains the project identifier used with the public build APIs.
project_source :: Lens' Project (Maybe ProjectSource) Source #
Information about the build input source code for this build project.
project_badge :: Lens' Project (Maybe ProjectBadge) Source #
Information about the build badge for the build project.
project_logsConfig :: Lens' Project (Maybe LogsConfig) Source #
Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation]) Source #
An array of ProjectFileSystemLocation
objects for a CodeBuild build
project. A ProjectFileSystemLocation
object specifies the
identifier
, location
, mountOptions
, mountPoint
, and type
of a
file system created using Amazon Elastic File System.
project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig) Source #
A ProjectBuildBatchConfig object that defines the batch build options for the project.
project_encryptionKey :: Lens' Project (Maybe Text) Source #
The Key Management Service customer master key (CMK) to be used for encrypting the 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>
).
If you don't specify a value, CodeBuild uses the managed CMK for Amazon
Simple Storage Service (Amazon S3).
project_lastModified :: Lens' Project (Maybe UTCTime) Source #
When the build project's settings were last modified, expressed in Unix time format.
project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType) Source #
Undocumented member.
project_webhook :: Lens' Project (Maybe Webhook) Source #
Information about a webhook that connects repository events to a build project in CodeBuild.
project_description :: Lens' Project (Maybe Text) Source #
A description that makes the build project easy to identify.
project_serviceRole :: Lens' Project (Maybe Text) Source #
The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.