Skip to content

UpdateProjectInput

Source code in docs_src/capo_codebuild/types/update_project_input.py
class UpdateProjectInput(TypedDict, closed=True):
    name: "capo_codebuild.types.non_empty_string.NonEmptyString"
    """<p>The name of the build project.</p> <note> <p>You cannot change a build project's name.</p> </note>"""
    description: NotRequired[
        "capo_codebuild.types.project_description.ProjectDescription"
    ]
    """<p>A new or replacement description of the build project.</p>"""
    source: NotRequired["capo_codebuild.types.project_source.ProjectSource"]
    """<p>Information to be changed about the build input source code for the build project.</p>"""
    secondary_sources: NotRequired[
        "capo_codebuild.types.project_sources.ProjectSources"
    ]
    """<p> An array of <code>ProjectSource</code> objects. </p>"""
    source_version: NotRequired["capo_codebuild.types.string.String"]
    """<p> 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: </p> <ul> <li> <p>For CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li> <p>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 <code>pr/pull-request-ID</code> (for example <code>pr/25</code>). 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.</p> </li> <li> <p>For GitLab: the commit ID, branch, or Git tag to use.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon S3: the version ID of the object that represents the build input ZIP file to use.</p> </li> </ul> <p> If <code>sourceVersion</code> is specified at the build level, then that version takes precedence over this <code>sourceVersion</code> (at the project level). </p> <p> For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source Version Sample with CodeBuild</a> in the <i>CodeBuild User Guide</i>. </p>"""
    secondary_source_versions: NotRequired[
        "capo_codebuild.types.project_secondary_source_versions.ProjectSecondarySourceVersions"
    ]
    """<p> An array of <code>ProjectSourceVersion</code> objects. If <code>secondarySourceVersions</code> is specified at the build level, then they take over these <code>secondarySourceVersions</code> (at the project level). </p>"""
    artifacts: NotRequired["capo_codebuild.types.project_artifacts.ProjectArtifacts"]
    """<p>Information to be changed about the build output artifacts for the build project.</p>"""
    secondary_artifacts: NotRequired[
        "capo_codebuild.types.project_artifacts_list.ProjectArtifactsList"
    ]
    """<p> An array of <code>ProjectArtifact</code> objects. </p>"""
    cache: NotRequired["capo_codebuild.types.project_cache.ProjectCache"]
    """<p>Stores recently used information so that it can be quickly accessed at a later time.</p>"""
    environment: NotRequired[
        "capo_codebuild.types.project_environment.ProjectEnvironment"
    ]
    """<p>Information to be changed about the build environment for the build project.</p>"""
    service_role: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.</p>"""
    timeout_in_minutes: NotRequired["capo_codebuild.types.build_time_out.BuildTimeOut"]
    """<p>The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.</p>"""
    queued_timeout_in_minutes: NotRequired["capo_codebuild.types.time_out.TimeOut"]
    """<p> The number of minutes a build is allowed to be queued before it times out. </p>"""
    encryption_key: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.</p> <note> <p> You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. </p> </note> <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format <code>alias/<alias-name></code>). </p>"""
    tags: NotRequired["capo_codebuild.types.tag_list.TagList"]
    """<p>An updated list of tag key and value pairs associated with this build project.</p> <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.</p>"""
    vpc_config: NotRequired["capo_codebuild.types.vpc_config.VpcConfig"]
    """<p>VpcConfig enables CodeBuild to access resources in an Amazon VPC.</p>"""
    badge_enabled: NotRequired["capo_codebuild.types.wrapper_boolean.WrapperBoolean"]
    """<p>Set this to true to generate a publicly accessible URL for your project's build badge.</p>"""
    logs_config: NotRequired["capo_codebuild.types.logs_config.LogsConfig"]
    """<p> Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both. </p>"""
    file_system_locations: NotRequired[
        "capo_codebuild.types.project_file_system_locations.ProjectFileSystemLocations"
    ]
    """<p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild build project. A <code>ProjectFileSystemLocation</code> object specifies the <code>identifier</code>, <code>location</code>, <code>mountOptions</code>, <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon Elastic File System. </p>"""
    build_batch_config: NotRequired[
        "capo_codebuild.types.project_build_batch_config.ProjectBuildBatchConfig"
    ]
    concurrent_build_limit: NotRequired["capo_codebuild.types.wrapper_int.WrapperInt"]
    """<p>The maximum number of concurrent builds that are allowed for this project.</p> <p>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.</p> <p>To remove this limit, set this value to -1.</p>"""
    auto_retry_limit: NotRequired["capo_codebuild.types.wrapper_int.WrapperInt"]
    """<p>The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically retry your build for up to 2 additional times.</p>"""

artifacts instance-attribute

artifacts: NotRequired[ProjectArtifacts]

Information to be changed about the build output artifacts for the build project.

auto_retry_limit instance-attribute

auto_retry_limit: NotRequired[WrapperInt]

The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the RetryBuild API to automatically retry your build for up to 2 additional times.

badge_enabled instance-attribute

badge_enabled: NotRequired[WrapperBoolean]

Set this to true to generate a publicly accessible URL for your project's build badge.

build_batch_config instance-attribute

build_batch_config: NotRequired[ProjectBuildBatchConfig]

cache instance-attribute

cache: NotRequired[ProjectCache]

Stores recently used information so that it can be quickly accessed at a later time.

concurrent_build_limit instance-attribute

concurrent_build_limit: NotRequired[WrapperInt]

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.

To remove this limit, set this value to -1.

description instance-attribute

description: NotRequired[ProjectDescription]

A new or replacement description of the build project.

encryption_key instance-attribute

encryption_key: NotRequired[NonEmptyString]

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/).

environment instance-attribute

environment: NotRequired[ProjectEnvironment]

Information to be changed about the build environment for the build project.

file_system_locations instance-attribute

file_system_locations: NotRequired[ProjectFileSystemLocations]

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.

logs_config instance-attribute

logs_config: NotRequired[LogsConfig]

Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.

name instance-attribute

The name of the build project.

You cannot change a build project's name.

queued_timeout_in_minutes instance-attribute

queued_timeout_in_minutes: NotRequired[TimeOut]

The number of minutes a build is allowed to be queued before it times out.

secondary_artifacts instance-attribute

secondary_artifacts: NotRequired[ProjectArtifactsList]

An array of ProjectArtifact objects.

secondary_source_versions instance-attribute

secondary_source_versions: NotRequired[ProjectSecondarySourceVersions]

An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).

secondary_sources instance-attribute

secondary_sources: NotRequired[ProjectSources]

An array of ProjectSource objects.

service_role instance-attribute

service_role: NotRequired[NonEmptyString]

The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

source instance-attribute

source: NotRequired[ProjectSource]

Information to be changed about the build input source code for the build project.

source_version instance-attribute

source_version: NotRequired[String]

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 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 GitLab: the commit ID, branch, or Git tag to use.

  • 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.

tags instance-attribute

tags: NotRequired[TagList]

An updated 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.

timeout_in_minutes instance-attribute

timeout_in_minutes: NotRequired[BuildTimeOut]

The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

vpc_config instance-attribute

vpc_config: NotRequired[VpcConfig]

VpcConfig enables CodeBuild to access resources in an Amazon VPC.