1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. codebuild
  6. Project

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource type definition for AWS::CodeBuild::Project

    Create Project Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
    @overload
    def Project(resource_name: str,
                args: ProjectArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Project(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                artifacts: Optional[ProjectArtifactsArgs] = None,
                source: Optional[ProjectSourceArgs] = None,
                service_role: Optional[str] = None,
                environment: Optional[ProjectEnvironmentArgs] = None,
                description: Optional[str] = None,
                secondary_source_versions: Optional[Sequence[ProjectSourceVersionArgs]] = None,
                cache: Optional[ProjectCacheArgs] = None,
                encryption_key: Optional[str] = None,
                build_batch_config: Optional[ProjectBuildBatchConfigArgs] = None,
                file_system_locations: Optional[Sequence[ProjectFileSystemLocationArgs]] = None,
                logs_config: Optional[ProjectLogsConfigArgs] = None,
                name: Optional[str] = None,
                queued_timeout_in_minutes: Optional[int] = None,
                resource_access_role: Optional[str] = None,
                secondary_artifacts: Optional[Sequence[ProjectArtifactsArgs]] = None,
                concurrent_build_limit: Optional[int] = None,
                secondary_sources: Optional[Sequence[ProjectSourceArgs]] = None,
                badge_enabled: Optional[bool] = None,
                auto_retry_limit: Optional[int] = None,
                source_version: Optional[str] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                timeout_in_minutes: Optional[int] = None,
                triggers: Optional[ProjectTriggersArgs] = None,
                visibility: Optional[str] = None,
                vpc_config: Optional[ProjectVpcConfigArgs] = None)
    func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
    public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
    public Project(String name, ProjectArgs args)
    public Project(String name, ProjectArgs args, CustomResourceOptions options)
    
    type: aws-native:codebuild:Project
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_codebuild_project" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Project Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Project resource accepts the following input properties:

    Artifacts Pulumi.AwsNative.CodeBuild.Inputs.ProjectArtifacts
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    Environment Pulumi.AwsNative.CodeBuild.Inputs.ProjectEnvironment
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    ServiceRole string
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    Source Pulumi.AwsNative.CodeBuild.Inputs.ProjectSource
    The source code settings for the project, such as the source code's repository type and location.
    AutoRetryLimit int
    BadgeEnabled bool
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    BuildBatchConfig Pulumi.AwsNative.CodeBuild.Inputs.ProjectBuildBatchConfig
    Defines the batch build options for the project.
    Cache Pulumi.AwsNative.CodeBuild.Inputs.ProjectCache
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    ConcurrentBuildLimit int
    The maximum number of concurrent builds that are allowed for this project.
    Description string
    A description that makes the build project easy to identify.
    EncryptionKey string

    The AWS 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).

    FileSystemLocations List<Pulumi.AwsNative.CodeBuild.Inputs.ProjectFileSystemLocation>
    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.
    LogsConfig Pulumi.AwsNative.CodeBuild.Inputs.ProjectLogsConfig
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    Name string
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    QueuedTimeoutInMinutes int
    The number of minutes a build is allowed to be queued before it times out.
    ResourceAccessRole string
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    SecondaryArtifacts List<Pulumi.AwsNative.CodeBuild.Inputs.ProjectArtifacts>
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    SecondarySourceVersions List<Pulumi.AwsNative.CodeBuild.Inputs.ProjectSourceVersion>
    An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
    SecondarySources List<Pulumi.AwsNative.CodeBuild.Inputs.ProjectSource>
    An array of ProjectSource objects.
    SourceVersion 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 AWS CodeBuild User Guide .

    Tags List<Pulumi.AwsNative.Inputs.Tag>

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    TimeoutInMinutes int
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    Triggers Pulumi.AwsNative.CodeBuild.Inputs.ProjectTriggers
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    Visibility string
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    VpcConfig Pulumi.AwsNative.CodeBuild.Inputs.ProjectVpcConfig
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
    Artifacts ProjectArtifactsArgs
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    Environment ProjectEnvironmentArgs
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    ServiceRole string
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    Source ProjectSourceArgs
    The source code settings for the project, such as the source code's repository type and location.
    AutoRetryLimit int
    BadgeEnabled bool
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    BuildBatchConfig ProjectBuildBatchConfigArgs
    Defines the batch build options for the project.
    Cache ProjectCacheArgs
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    ConcurrentBuildLimit int
    The maximum number of concurrent builds that are allowed for this project.
    Description string
    A description that makes the build project easy to identify.
    EncryptionKey string

    The AWS 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).

    FileSystemLocations []ProjectFileSystemLocationArgs
    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.
    LogsConfig ProjectLogsConfigArgs
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    Name string
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    QueuedTimeoutInMinutes int
    The number of minutes a build is allowed to be queued before it times out.
    ResourceAccessRole string
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    SecondaryArtifacts []ProjectArtifactsArgs
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    SecondarySourceVersions []ProjectSourceVersionArgs
    An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
    SecondarySources []ProjectSourceArgs
    An array of ProjectSource objects.
    SourceVersion 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 AWS CodeBuild User Guide .

    Tags TagArgs

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    TimeoutInMinutes int
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    Triggers ProjectTriggersArgs
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    Visibility string
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    VpcConfig ProjectVpcConfigArgs
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
    artifacts object
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    environment object
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    service_role string
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    source object
    The source code settings for the project, such as the source code's repository type and location.
    auto_retry_limit number
    badge_enabled bool
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    build_batch_config object
    Defines the batch build options for the project.
    cache object
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    concurrent_build_limit number
    The maximum number of concurrent builds that are allowed for this project.
    description string
    A description that makes the build project easy to identify.
    encryption_key string

    The AWS 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).

    file_system_locations list(object)
    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 object
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    name string
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    queued_timeout_in_minutes number
    The number of minutes a build is allowed to be queued before it times out.
    resource_access_role string
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    secondary_artifacts list(object)
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    secondary_source_versions list(object)
    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 list(object)
    An array of ProjectSource objects.
    source_version 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 AWS CodeBuild User Guide .

    tags list(object)

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    timeout_in_minutes number
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    triggers object
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    visibility string
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    vpc_config object
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
    artifacts ProjectArtifacts
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    environment ProjectEnvironment
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    serviceRole String
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    source ProjectSource
    The source code settings for the project, such as the source code's repository type and location.
    autoRetryLimit Integer
    badgeEnabled Boolean
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    buildBatchConfig ProjectBuildBatchConfig
    Defines the batch build options for the project.
    cache ProjectCache
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    concurrentBuildLimit Integer
    The maximum number of concurrent builds that are allowed for this project.
    description String
    A description that makes the build project easy to identify.
    encryptionKey String

    The AWS 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).

    fileSystemLocations List<ProjectFileSystemLocation>
    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.
    logsConfig ProjectLogsConfig
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    name String
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    queuedTimeoutInMinutes Integer
    The number of minutes a build is allowed to be queued before it times out.
    resourceAccessRole String
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    secondaryArtifacts List<ProjectArtifacts>
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    secondarySourceVersions List<ProjectSourceVersion>
    An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
    secondarySources List<ProjectSource>
    An array of ProjectSource objects.
    sourceVersion 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 AWS CodeBuild User Guide .

    tags List<Tag>

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    timeoutInMinutes Integer
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    triggers ProjectTriggers
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    visibility String
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    vpcConfig ProjectVpcConfig
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
    artifacts ProjectArtifacts
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    environment ProjectEnvironment
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    serviceRole string
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    source ProjectSource
    The source code settings for the project, such as the source code's repository type and location.
    autoRetryLimit number
    badgeEnabled boolean
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    buildBatchConfig ProjectBuildBatchConfig
    Defines the batch build options for the project.
    cache ProjectCache
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    concurrentBuildLimit number
    The maximum number of concurrent builds that are allowed for this project.
    description string
    A description that makes the build project easy to identify.
    encryptionKey string

    The AWS 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).

    fileSystemLocations ProjectFileSystemLocation[]
    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.
    logsConfig ProjectLogsConfig
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    name string
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    queuedTimeoutInMinutes number
    The number of minutes a build is allowed to be queued before it times out.
    resourceAccessRole string
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    secondaryArtifacts ProjectArtifacts[]
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    secondarySourceVersions ProjectSourceVersion[]
    An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
    secondarySources ProjectSource[]
    An array of ProjectSource objects.
    sourceVersion 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 AWS CodeBuild User Guide .

    tags Tag[]

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    timeoutInMinutes number
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    triggers ProjectTriggers
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    visibility string
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    vpcConfig ProjectVpcConfig
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
    artifacts ProjectArtifactsArgs
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    environment ProjectEnvironmentArgs
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    service_role str
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    source ProjectSourceArgs
    The source code settings for the project, such as the source code's repository type and location.
    auto_retry_limit int
    badge_enabled bool
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    build_batch_config ProjectBuildBatchConfigArgs
    Defines the batch build options for the project.
    cache ProjectCacheArgs
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    concurrent_build_limit int
    The maximum number of concurrent builds that are allowed for this project.
    description str
    A description that makes the build project easy to identify.
    encryption_key str

    The AWS 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).

    file_system_locations Sequence[ProjectFileSystemLocationArgs]
    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 ProjectLogsConfigArgs
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    name str
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    queued_timeout_in_minutes int
    The number of minutes a build is allowed to be queued before it times out.
    resource_access_role str
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    secondary_artifacts Sequence[ProjectArtifactsArgs]
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    secondary_source_versions Sequence[ProjectSourceVersionArgs]
    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 Sequence[ProjectSourceArgs]
    An array of ProjectSource objects.
    source_version str

    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 AWS CodeBuild User Guide .

    tags Sequence[TagArgs]

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    timeout_in_minutes int
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    triggers ProjectTriggersArgs
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    visibility str
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    vpc_config ProjectVpcConfigArgs
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
    artifacts Property Map
    Specifies output settings for artifacts generated by an AWS CodeBuild build.
    environment Property Map
    The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
    serviceRole String
    The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
    source Property Map
    The source code settings for the project, such as the source code's repository type and location.
    autoRetryLimit Number
    badgeEnabled Boolean
    Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
    buildBatchConfig Property Map
    Defines the batch build options for the project.
    cache Property Map
    Settings that AWS CodeBuild uses to store and reuse build dependencies.
    concurrentBuildLimit Number
    The maximum number of concurrent builds that are allowed for this project.
    description String
    A description that makes the build project easy to identify.
    encryptionKey String

    The AWS 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).

    fileSystemLocations List<Property Map>
    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.
    logsConfig Property Map
    Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
    name String
    The name of the build project. The name must be unique across all of the projects in your AWS account .
    queuedTimeoutInMinutes Number
    The number of minutes a build is allowed to be queued before it times out.
    resourceAccessRole String
    The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
    secondaryArtifacts List<Property Map>
    A list of Artifacts objects. Each artifacts object specifies output settings that the project generates during a build.
    secondarySourceVersions List<Property Map>
    An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
    secondarySources List<Property Map>
    An array of ProjectSource objects.
    sourceVersion 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 AWS CodeBuild User Guide .

    tags List<Property Map>

    An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.

    These tags are available for use by AWS services that support AWS CodeBuild build project tags.

    timeoutInMinutes Number
    How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
    triggers Property Map
    For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    visibility String
    Specifies the visibility of the project's builds. Possible values are:

    • PUBLIC_READ - The project builds are visible to the public.
    • PRIVATE - The project builds are not visible to the public.
    vpcConfig Property Map
    VpcConfig specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

    Arn string
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    Id string
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the AWS CodeBuild project, such as arn:aws:codebuild:us-west-2:123456789012:project/myProjectName .
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Project Resource

    Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Project
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Project
    func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
    public static Project Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Project get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingProject:    type: aws-native:codebuild:Project    get:      id: ${id}
    import {
      to = aws-native_codebuild_project.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ProjectState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    ProjectArtifacts, ProjectArtifactsArgs

    Type string
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    ArtifactIdentifier string
    An identifier for this artifact definition.
    EncryptionDisabled bool
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    Location string
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    Name string

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    NamespaceType string

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    OverrideArtifactName bool
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    Packaging string

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    Path string

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    Type string
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    ArtifactIdentifier string
    An identifier for this artifact definition.
    EncryptionDisabled bool
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    Location string
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    Name string

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    NamespaceType string

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    OverrideArtifactName bool
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    Packaging string

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    Path string

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    type string
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    artifact_identifier string
    An identifier for this artifact definition.
    encryption_disabled bool
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    location string
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    name string

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    namespace_type string

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    override_artifact_name bool
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    packaging string

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    path string

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    type String
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    artifactIdentifier String
    An identifier for this artifact definition.
    encryptionDisabled Boolean
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    location String
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    name String

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    namespaceType String

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    overrideArtifactName Boolean
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    packaging String

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    path String

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    type string
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    artifactIdentifier string
    An identifier for this artifact definition.
    encryptionDisabled boolean
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    location string
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    name string

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    namespaceType string

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    overrideArtifactName boolean
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    packaging string

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    path string

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    type str
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    artifact_identifier str
    An identifier for this artifact definition.
    encryption_disabled bool
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    location str
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    name str

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    namespace_type str

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    override_artifact_name bool
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    packaging str

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    path str

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    type String
    The type of build output artifact. Valid values include:

    • CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    • NO_ARTIFACTS: The build project does not produce any build output.
    • S3: The build project stores build output in Amazon S3.
    artifactIdentifier String
    An identifier for this artifact definition.
    encryptionDisabled Boolean
    Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
    location String
    Information about the build output artifact location:

    • If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.
    • If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced.
    • If type is set to S3, this is the name of the output bucket. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.
    name String

    Along with path and namespaceType , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.

    For example:

    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , then the output artifact is stored in MyArtifacts/ *build-ID* /MyArtifact.zip .
    • If path is empty, namespaceType is set to NONE , and name is set to " / ", the output artifact is stored in the root of the output bucket.
    • If path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to " / ", the output artifact is stored in MyArtifacts/ *build-ID* .

    If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

    namespaceType String

    Along with path and name , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • BUILD_ID : Include the build ID in the location of the build output artifact.

    • NONE : Do not include the build ID. This is the default if namespaceType is not specified.

    For example, if path is set to MyArtifacts , namespaceType is set to BUILD_ID , and name is set to MyArtifact.zip , the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip .

    overrideArtifactName Boolean
    If set to true a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.
    packaging String

    The type of build output artifact to create:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .

    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.

    • If type is set to S3 , valid values include:

    • NONE : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified.

    • ZIP : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.

    path String

    Along with namespaceType and name , the pattern that AWS CodeBuild uses to name and store the output artifact:

    • If type is set to CODEPIPELINE , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .
    • If type is set to NO_ARTIFACTS , this value is ignored if specified, because no build output is produced.
    • If type is set to S3 , this is the path to the output artifact. If path is not specified, path is not used.

    For example, if path is set to MyArtifacts , namespaceType is set to NONE , and name is set to MyArtifact.zip , the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip .

    ProjectBatchRestrictions, ProjectBatchRestrictionsArgs

    ComputeTypesAllowed List<string>
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    FleetsAllowed List<string>
    MaximumBuildsAllowed int
    Specifies the maximum number of builds allowed.
    ComputeTypesAllowed []string
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    FleetsAllowed []string
    MaximumBuildsAllowed int
    Specifies the maximum number of builds allowed.
    compute_types_allowed list(string)
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    fleets_allowed list(string)
    maximum_builds_allowed number
    Specifies the maximum number of builds allowed.
    computeTypesAllowed List<String>
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    fleetsAllowed List<String>
    maximumBuildsAllowed Integer
    Specifies the maximum number of builds allowed.
    computeTypesAllowed string[]
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    fleetsAllowed string[]
    maximumBuildsAllowed number
    Specifies the maximum number of builds allowed.
    compute_types_allowed Sequence[str]
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    fleets_allowed Sequence[str]
    maximum_builds_allowed int
    Specifies the maximum number of builds allowed.
    computeTypesAllowed List<String>
    An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the AWS CodeBuild User Guide for these values.
    fleetsAllowed List<String>
    maximumBuildsAllowed Number
    Specifies the maximum number of builds allowed.

    ProjectBuildBatchConfig, ProjectBuildBatchConfigArgs

    BatchReportMode string
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    CombineArtifacts bool
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    Restrictions Pulumi.AwsNative.CodeBuild.Inputs.ProjectBatchRestrictions
    A BatchRestrictions object that specifies the restrictions for the batch build.
    ServiceRole string
    Specifies the service role ARN for the batch build project.
    TimeoutInMins int
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    BatchReportMode string
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    CombineArtifacts bool
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    Restrictions ProjectBatchRestrictions
    A BatchRestrictions object that specifies the restrictions for the batch build.
    ServiceRole string
    Specifies the service role ARN for the batch build project.
    TimeoutInMins int
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    batch_report_mode string
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    combine_artifacts bool
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    restrictions object
    A BatchRestrictions object that specifies the restrictions for the batch build.
    service_role string
    Specifies the service role ARN for the batch build project.
    timeout_in_mins number
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    batchReportMode String
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    combineArtifacts Boolean
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    restrictions ProjectBatchRestrictions
    A BatchRestrictions object that specifies the restrictions for the batch build.
    serviceRole String
    Specifies the service role ARN for the batch build project.
    timeoutInMins Integer
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    batchReportMode string
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    combineArtifacts boolean
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    restrictions ProjectBatchRestrictions
    A BatchRestrictions object that specifies the restrictions for the batch build.
    serviceRole string
    Specifies the service role ARN for the batch build project.
    timeoutInMins number
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    batch_report_mode str
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    combine_artifacts bool
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    restrictions ProjectBatchRestrictions
    A BatchRestrictions object that specifies the restrictions for the batch build.
    service_role str
    Specifies the service role ARN for the batch build project.
    timeout_in_mins int
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    batchReportMode String
    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
    • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    combineArtifacts Boolean
    Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    restrictions Property Map
    A BatchRestrictions object that specifies the restrictions for the batch build.
    serviceRole String
    Specifies the service role ARN for the batch build project.
    timeoutInMins Number
    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

    ProjectBuildStatusConfig, ProjectBuildStatusConfigArgs

    Context string
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    TargetUrl string
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    Context string
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    TargetUrl string
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    context string
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    target_url string
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    context String
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    targetUrl String
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    context string
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    targetUrl string
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    context str
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    target_url str
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    context String
    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
    targetUrl String
    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    • Bitbucket - This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    • GitHub/GitHub Enterprise Server - This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

    ProjectCache, ProjectCacheArgs

    Type string
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    CacheNamespace string
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    Location string
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    Modes List<string>

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    Type string
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    CacheNamespace string
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    Location string
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    Modes []string

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    type string
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    cache_namespace string
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    location string
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    modes list(string)

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    type String
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    cacheNamespace String
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    location String
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    modes List<String>

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    type string
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    cacheNamespace string
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    location string
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    modes string[]

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    type str
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    cache_namespace str
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    location str
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    modes Sequence[str]

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    type String
    The type of cache used by the build project. Allowed values: NO_CACHE | S3 | LOCAL.
    cacheNamespace String
    Defines the scope of the cache. You can use this namespace to share a cache across multiple projects.
    location String
    Information about the cache location:

    • NO_CACHE or LOCAL : This value is ignored.
    • S3 : This is the S3 bucket name/prefix.
    modes List<String>

    An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.

    Possible values are:

    • LOCAL_SOURCE_CACHE - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
    • LOCAL_DOCKER_LAYER_CACHE - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.
    • You can use a Docker layer cache in the Linux environment only.
    • The privileged flag must be set so that your project has the required Docker permissions.
    • You should consider the security implications before you use a Docker layer cache.
    • LOCAL_CUSTOM_CACHE - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:

    • Only directories can be specified for caching. You cannot specify individual files.

    • Symlinks are used to reference cached directories.

    • Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

    ProjectCloudWatchLogsConfig, ProjectCloudWatchLogsConfigArgs

    Status string
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    GroupName string
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    StreamName string
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    Status string
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    GroupName string
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    StreamName string
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    status string
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    group_name string
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    stream_name string
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    status String
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    groupName String
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    streamName String
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    status string
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    groupName string
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    streamName string
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    status str
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    group_name str
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    stream_name str
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    status String
    The current status of the logs in CloudWatch Logs for a build project. Valid values are:

    • ENABLED : CloudWatch Logs are enabled for this build project.
    • DISABLED : CloudWatch Logs are not enabled for this build project.
    groupName String
    The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .
    streamName String
    The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams .

    ProjectDockerServer, ProjectDockerServerArgs

    ComputeType string
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    SecurityGroupIds List<string>
    A list of one or more security groups IDs.
    ComputeType string
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    SecurityGroupIds []string
    A list of one or more security groups IDs.
    compute_type string
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    security_group_ids list(string)
    A list of one or more security groups IDs.
    computeType String
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    securityGroupIds List<String>
    A list of one or more security groups IDs.
    computeType string
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    securityGroupIds string[]
    A list of one or more security groups IDs.
    compute_type str
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    security_group_ids Sequence[str]
    A list of one or more security groups IDs.
    computeType String
    Information about the compute resources the docker server uses. Valid Values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE | BUILD_GENERAL1_XLARGE | BUILD_GENERAL1_2XLARGE | BUILD_LAMBDA_1GB | BUILD_LAMBDA_2GB | BUILD_LAMBDA_4GB | BUILD_LAMBDA_8GB | BUILD_LAMBDA_10GB | ATTRIBUTE_BASED_COMPUTE | CUSTOM_INSTANCE_TYPE
    securityGroupIds List<String>
    A list of one or more security groups IDs.

    ProjectEnvironment, ProjectEnvironmentArgs

    ComputeType string

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    Image string

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    Type string

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    Certificate string
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    DockerServer Pulumi.AwsNative.CodeBuild.Inputs.ProjectDockerServer
    Contains docker server information.
    EnvironmentVariables List<Pulumi.AwsNative.CodeBuild.Inputs.ProjectEnvironmentVariable>
    A set of environment variables to make available to builds for this build project.
    Fleet Pulumi.AwsNative.CodeBuild.Inputs.ProjectFleet
    HostKernel string
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    ImagePullCredentialsType string

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    PrivilegedMode bool

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    RegistryCredential Pulumi.AwsNative.CodeBuild.Inputs.ProjectRegistryCredential
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.
    ComputeType string

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    Image string

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    Type string

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    Certificate string
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    DockerServer ProjectDockerServer
    Contains docker server information.
    EnvironmentVariables []ProjectEnvironmentVariable
    A set of environment variables to make available to builds for this build project.
    Fleet ProjectFleet
    HostKernel string
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    ImagePullCredentialsType string

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    PrivilegedMode bool

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    RegistryCredential ProjectRegistryCredential
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.
    compute_type string

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    image string

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    type string

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    certificate string
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    docker_server object
    Contains docker server information.
    environment_variables list(object)
    A set of environment variables to make available to builds for this build project.
    fleet object
    host_kernel string
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    image_pull_credentials_type string

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    privileged_mode bool

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    registry_credential object
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.
    computeType String

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    image String

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    type String

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    certificate String
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    dockerServer ProjectDockerServer
    Contains docker server information.
    environmentVariables List<ProjectEnvironmentVariable>
    A set of environment variables to make available to builds for this build project.
    fleet ProjectFleet
    hostKernel String
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    imagePullCredentialsType String

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    privilegedMode Boolean

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    registryCredential ProjectRegistryCredential
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.
    computeType string

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    image string

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    type string

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    certificate string
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    dockerServer ProjectDockerServer
    Contains docker server information.
    environmentVariables ProjectEnvironmentVariable[]
    A set of environment variables to make available to builds for this build project.
    fleet ProjectFleet
    hostKernel string
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    imagePullCredentialsType string

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    privilegedMode boolean

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    registryCredential ProjectRegistryCredential
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.
    compute_type str

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    image str

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    type str

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    certificate str
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    docker_server ProjectDockerServer
    Contains docker server information.
    environment_variables Sequence[ProjectEnvironmentVariable]
    A set of environment variables to make available to builds for this build project.
    fleet ProjectFleet
    host_kernel str
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    image_pull_credentials_type str

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    privileged_mode bool

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    registry_credential ProjectRegistryCredential
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.
    computeType String

    The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include:

    • ATTRIBUTE_BASED_COMPUTE : Specify the amount of vCPUs, memory, disk space, and the type of machine.

    If you use ATTRIBUTE_BASED_COMPUTE , you must define your attributes by using computeConfiguration . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the AWS CodeBuild User Guide .

    • BUILD_GENERAL1_SMALL : Use up to 4 GiB memory and 2 vCPUs for builds.
    • BUILD_GENERAL1_MEDIUM : Use up to 8 GiB memory and 4 vCPUs for builds.
    • BUILD_GENERAL1_LARGE : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_XLARGE : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
    • BUILD_GENERAL1_2XLARGE : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
    • BUILD_LAMBDA_1GB : Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_2GB : Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_4GB : Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_8GB : Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .
    • BUILD_LAMBDA_10GB : Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER .

    If you use BUILD_GENERAL1_SMALL :

    • For environment type LINUX_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
    • For environment type ARM_CONTAINER , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.

    If you use BUILD_GENERAL1_LARGE :

    • For environment type LINUX_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs for builds.
    • For environment type LINUX_GPU_CONTAINER , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    • For environment type ARM_CONTAINER , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.

    For more information, see On-demand environment types in the AWS CodeBuild User Guide.

    image String

    The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:

    • For an image tag: <registry>/<repository>:<tag> . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0 .
    • For an image digest: <registry>/<repository>@<digest> . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf .

    For more information, see Docker images provided by CodeBuild in the AWS CodeBuild user guide .

    type String

    The type of build environment to use for related builds.

    If you're using compute fleets during project creation, type will be ignored.

    For more information, see Build environment compute types in the AWS CodeBuild user guide .

    certificate String
    The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the AWS CodeBuild User Guide .
    dockerServer Property Map
    Contains docker server information.
    environmentVariables List<Property Map>
    A set of environment variables to make available to builds for this build project.
    fleet Property Map
    hostKernel String
    The kernel version of the host operating system for the build environment. Allowed values: LINUX_KERNEL_4 | LINUX_KERNEL_6 | LINUX_KERNEL_LATEST
    imagePullCredentialsType String

    The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:

    • CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.
    • SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role.

    When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.

    privilegedMode Boolean

    Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false .

    You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

    If the operating system's base image is Ubuntu Linux:

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

    If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout :

    - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

    - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"

    registryCredential Property Map
    RegistryCredential is a property of the AWS::CodeBuild::Project Environment property that specifies information about credentials that provide access to a private Docker registry. When this is set:

    • imagePullCredentialsType must be set to SERVICE_ROLE .
    • images cannot be curated or an Amazon ECR image.

    ProjectEnvironmentVariable, ProjectEnvironmentVariableArgs

    Name string
    The name or key of the environment variable.
    Value string

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    Type string
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
    Name string
    The name or key of the environment variable.
    Value string

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    Type string
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
    name string
    The name or key of the environment variable.
    value string

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    type string
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
    name String
    The name or key of the environment variable.
    value String

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    type String
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
    name string
    The name or key of the environment variable.
    value string

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    type string
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
    name str
    The name or key of the environment variable.
    value str

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    type str
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
    name String
    The name or key of the environment variable.
    value String

    The value of the environment variable.

    We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially AWS secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER .

    type String
    The type of environment variable. Valid values include:

    • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the AWS CodeBuild User Guide .
    • PLAINTEXT : An environment variable in plain text format. This is the default value.
    • SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .

    ProjectFileSystemLocation, ProjectFileSystemLocationArgs

    Identifier string

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    Location string

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    MountPoint string
    The location in the container where you mount the file system.
    Type string
    The type of the file system. The one supported type is EFS .
    MountOptions string
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .
    Identifier string

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    Location string

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    MountPoint string
    The location in the container where you mount the file system.
    Type string
    The type of the file system. The one supported type is EFS .
    MountOptions string
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .
    identifier string

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    location string

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    mount_point string
    The location in the container where you mount the file system.
    type string
    The type of the file system. The one supported type is EFS .
    mount_options string
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .
    identifier String

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    location String

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    mountPoint String
    The location in the container where you mount the file system.
    type String
    The type of the file system. The one supported type is EFS .
    mountOptions String
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .
    identifier string

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    location string

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    mountPoint string
    The location in the container where you mount the file system.
    type string
    The type of the file system. The one supported type is EFS .
    mountOptions string
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .
    identifier str

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    location str

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    mount_point str
    The location in the container where you mount the file system.
    type str
    The type of the file system. The one supported type is EFS .
    mount_options str
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .
    identifier String

    The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_ . For example, if you specify my_efs for identifier , a new environment variable is create named CODEBUILD_MY_EFS .

    The identifier is used to mount your file system.

    location String

    A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com , and its mount directory is my-efs-mount-directory , then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory .

    The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

    mountPoint String
    The location in the container where you mount the file system.
    type String
    The type of the file system. The one supported type is EFS .
    mountOptions String
    The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 . For more information, see Recommended NFS Mount Options .

    ProjectFleet, ProjectFleetArgs

    FleetArn string
    Specifies the compute fleet ARN for the build project.
    FleetArn string
    Specifies the compute fleet ARN for the build project.
    fleet_arn string
    Specifies the compute fleet ARN for the build project.
    fleetArn String
    Specifies the compute fleet ARN for the build project.
    fleetArn string
    Specifies the compute fleet ARN for the build project.
    fleet_arn str
    Specifies the compute fleet ARN for the build project.
    fleetArn String
    Specifies the compute fleet ARN for the build project.

    ProjectGitSubmodulesConfig, ProjectGitSubmodulesConfigArgs

    FetchSubmodules bool
    Set to true to fetch Git submodules for your AWS CodeBuild build project.
    FetchSubmodules bool
    Set to true to fetch Git submodules for your AWS CodeBuild build project.
    fetch_submodules bool
    Set to true to fetch Git submodules for your AWS CodeBuild build project.
    fetchSubmodules Boolean
    Set to true to fetch Git submodules for your AWS CodeBuild build project.
    fetchSubmodules boolean
    Set to true to fetch Git submodules for your AWS CodeBuild build project.
    fetch_submodules bool
    Set to true to fetch Git submodules for your AWS CodeBuild build project.
    fetchSubmodules Boolean
    Set to true to fetch Git submodules for your AWS CodeBuild build project.

    ProjectLogsConfig, ProjectLogsConfigArgs

    CloudWatchLogs Pulumi.AwsNative.CodeBuild.Inputs.ProjectCloudWatchLogsConfig
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    S3Logs Pulumi.AwsNative.CodeBuild.Inputs.ProjectS3LogsConfig
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
    CloudWatchLogs ProjectCloudWatchLogsConfig
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    S3Logs ProjectS3LogsConfig
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
    cloud_watch_logs object
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    s3_logs object
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
    cloudWatchLogs ProjectCloudWatchLogsConfig
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    s3Logs ProjectS3LogsConfig
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
    cloudWatchLogs ProjectCloudWatchLogsConfig
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    s3Logs ProjectS3LogsConfig
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
    cloud_watch_logs ProjectCloudWatchLogsConfig
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    s3_logs ProjectS3LogsConfig
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
    cloudWatchLogs Property Map
    Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
    s3Logs Property Map
    Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.

    ProjectPullRequestBuildPolicy, ProjectPullRequestBuildPolicyArgs

    ProjectRegistryCredential, ProjectRegistryCredentialArgs

    Credential string

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    CredentialProvider string
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .
    Credential string

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    CredentialProvider string
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .
    credential string

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    credential_provider string
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .
    credential String

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    credentialProvider String
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .
    credential string

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    credentialProvider string
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .
    credential str

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    credential_provider str
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .
    credential String

    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .

    The credential can use the name of the credentials only if they exist in your current AWS Region .

    credentialProvider String
    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .

    ProjectS3LogsConfig, ProjectS3LogsConfigArgs

    Status string
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    EncryptionDisabled bool
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    Location string
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
    Status string
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    EncryptionDisabled bool
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    Location string
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
    status string
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    encryption_disabled bool
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    location string
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
    status String
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    encryptionDisabled Boolean
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    location String
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
    status string
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    encryptionDisabled boolean
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    location string
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
    status str
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    encryption_disabled bool
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    location str
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
    status String
    The current status of the S3 build logs. Valid values are:

    • ENABLED : S3 build logs are enabled for this build project.
    • DISABLED : S3 build logs are not enabled for this build project.
    encryptionDisabled Boolean
    Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
    location String
    The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .

    ProjectScopeConfiguration, ProjectScopeConfigurationArgs

    Name string
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    Domain string
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    Scope string
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP
    Name string
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    Domain string
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    Scope string
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP
    name string
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    domain string
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    scope string
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP
    name String
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    domain String
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    scope String
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP
    name string
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    domain string
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    scope string
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP
    name str
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    domain str
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    scope str
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP
    name String
    The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
    domain String
    The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
    scope String
    The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION. Allowed values: GITHUB_ORGANIZATION | GITHUB_GLOBAL | GITLAB_GROUP

    ProjectSource, ProjectSourceArgs

    Type string
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    Auth Pulumi.AwsNative.CodeBuild.Inputs.ProjectSourceAuth
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    BuildSpec string
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    BuildStatusConfig Pulumi.AwsNative.CodeBuild.Inputs.ProjectBuildStatusConfig
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    GitCloneDepth int
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    GitSubmodulesConfig Pulumi.AwsNative.CodeBuild.Inputs.ProjectGitSubmodulesConfig
    Information about the Git submodules configuration for the build project.
    InsecureSsl bool
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    Location string

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    ReportBuildStatus bool
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    SourceIdentifier string
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    Type string
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    Auth ProjectSourceAuth
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    BuildSpec string
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    BuildStatusConfig ProjectBuildStatusConfig
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    GitCloneDepth int
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    GitSubmodulesConfig ProjectGitSubmodulesConfig
    Information about the Git submodules configuration for the build project.
    InsecureSsl bool
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    Location string

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    ReportBuildStatus bool
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    SourceIdentifier string
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    type string
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    auth object
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    build_spec string
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    build_status_config object
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    git_clone_depth number
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    git_submodules_config object
    Information about the Git submodules configuration for the build project.
    insecure_ssl bool
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    location string

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    report_build_status bool
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    source_identifier string
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    type String
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    auth ProjectSourceAuth
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    buildSpec String
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    buildStatusConfig ProjectBuildStatusConfig
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    gitCloneDepth Integer
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    gitSubmodulesConfig ProjectGitSubmodulesConfig
    Information about the Git submodules configuration for the build project.
    insecureSsl Boolean
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    location String

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    reportBuildStatus Boolean
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    sourceIdentifier String
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    type string
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    auth ProjectSourceAuth
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    buildSpec string
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    buildStatusConfig ProjectBuildStatusConfig
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    gitCloneDepth number
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    gitSubmodulesConfig ProjectGitSubmodulesConfig
    Information about the Git submodules configuration for the build project.
    insecureSsl boolean
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    location string

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    reportBuildStatus boolean
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    sourceIdentifier string
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    type str
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    auth ProjectSourceAuth
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    build_spec str
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    build_status_config ProjectBuildStatusConfig
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    git_clone_depth int
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    git_submodules_config ProjectGitSubmodulesConfig
    Information about the Git submodules configuration for the build project.
    insecure_ssl bool
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    location str

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    report_build_status bool
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    source_identifier str
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    type String
    The type of repository that contains the source code to be built. Valid values include:

    • BITBUCKET : The source code is in a Bitbucket repository.
    • CODECOMMIT : The source code is in an CodeCommit repository.
    • CODEPIPELINE : The source code settings are specified in the source action of a pipeline in CodePipeline.
    • GITHUB : The source code is in a GitHub repository.
    • GITHUB_ENTERPRISE : The source code is in a GitHub Enterprise Server repository.
    • GITLAB : The source code is in a GitLab repository.
    • GITLAB_SELF_MANAGED : The source code is in a self-managed GitLab repository.
    • NO_SOURCE : The project does not have input source code.
    • S3 : The source code is in an Amazon S3 bucket.
    auth Property Map
    Information about the authorization settings for AWS CodeBuild to access the source code to be built.
    buildSpec String
    The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
    buildStatusConfig Property Map
    Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
    gitCloneDepth Number
    The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
    gitSubmodulesConfig Property Map
    Information about the Git submodules configuration for the build project.
    insecureSsl Boolean
    This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
    location String

    Information about the location of the source code to be built. Valid values include:

    • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

    • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).

    • For source code in an Amazon S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip ).

    • The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/ ).

    • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    • For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize . Then on the AWS CodeConnections Create GitLab connection page, choose Connect to GitLab . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object.

    • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH .

    If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .

    reportBuildStatus Boolean
    Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
    sourceIdentifier String
    An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.

    ProjectSourceAuth, ProjectSourceAuthArgs

    Type string
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    Resource string
    The resource value that applies to the specified authorization type.
    Type string
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    Resource string
    The resource value that applies to the specified authorization type.
    type string
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    resource string
    The resource value that applies to the specified authorization type.
    type String
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    resource String
    The resource value that applies to the specified authorization type.
    type string
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    resource string
    The resource value that applies to the specified authorization type.
    type str
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    resource str
    The resource value that applies to the specified authorization type.
    type String
    The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
    resource String
    The resource value that applies to the specified authorization type.

    ProjectSourceVersion, ProjectSourceVersionArgs

    SourceIdentifier string
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    SourceVersion string

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    SourceIdentifier string
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    SourceVersion string

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    source_identifier string
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    source_version string

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    sourceIdentifier String
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    sourceVersion String

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    sourceIdentifier string
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    sourceVersion string

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    source_identifier str
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    source_version str

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    sourceIdentifier String
    An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
    sourceVersion String

    The source version for the corresponding source identifier. If specified, 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.

    For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .

    ProjectTriggers, ProjectTriggersArgs

    BuildType string
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    FilterGroups List<ImmutableArray<Pulumi.AwsNative.CodeBuild.Inputs.ProjectWebhookFilter>>
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    PullRequestBuildPolicy Pulumi.AwsNative.CodeBuild.Inputs.ProjectPullRequestBuildPolicy
    ScopeConfiguration Pulumi.AwsNative.CodeBuild.Inputs.ProjectScopeConfiguration
    Contains configuration information about the scope for a webhook.
    Webhook bool
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    BuildType string
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    FilterGroups [][]ProjectWebhookFilter
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    PullRequestBuildPolicy ProjectPullRequestBuildPolicy
    ScopeConfiguration ProjectScopeConfiguration
    Contains configuration information about the scope for a webhook.
    Webhook bool
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    build_type string
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    filter_groups list(list(object))
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    pull_request_build_policy object
    scope_configuration object
    Contains configuration information about the scope for a webhook.
    webhook bool
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    buildType String
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    filterGroups List<List<ProjectWebhookFilter>>
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    pullRequestBuildPolicy ProjectPullRequestBuildPolicy
    scopeConfiguration ProjectScopeConfiguration
    Contains configuration information about the scope for a webhook.
    webhook Boolean
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    buildType string
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    filterGroups ProjectWebhookFilter[][]
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    pullRequestBuildPolicy ProjectPullRequestBuildPolicy
    scopeConfiguration ProjectScopeConfiguration
    Contains configuration information about the scope for a webhook.
    webhook boolean
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    build_type str
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    filter_groups Sequence[Sequence[ProjectWebhookFilter]]
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    pull_request_build_policy ProjectPullRequestBuildPolicy
    scope_configuration ProjectScopeConfiguration
    Contains configuration information about the scope for a webhook.
    webhook bool
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
    buildType String
    Specifies the type of build this webhook will trigger. Allowed values are:

    • BUILD - A single build
    • BUILD_BATCH - A batch build
    filterGroups List<List<Property Map>>
    A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
    pullRequestBuildPolicy Property Map
    scopeConfiguration Property Map
    Contains configuration information about the scope for a webhook.
    webhook Boolean
    Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.

    ProjectVpcConfig, ProjectVpcConfigArgs

    SecurityGroupIds List<string>
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    Subnets List<string>
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    VpcId string
    The ID of the Amazon VPC.
    SecurityGroupIds []string
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    Subnets []string
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    VpcId string
    The ID of the Amazon VPC.
    security_group_ids list(string)
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    subnets list(string)
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    vpc_id string
    The ID of the Amazon VPC.
    securityGroupIds List<String>
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    subnets List<String>
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    vpcId String
    The ID of the Amazon VPC.
    securityGroupIds string[]
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    subnets string[]
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    vpcId string
    The ID of the Amazon VPC.
    security_group_ids Sequence[str]
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    subnets Sequence[str]
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    vpc_id str
    The ID of the Amazon VPC.
    securityGroupIds List<String>
    A list of one or more security groups IDs in your Amazon VPC. The maximum count is 5.
    subnets List<String>
    A list of one or more subnet IDs in your Amazon VPC. The maximum count is 16.
    vpcId String
    The ID of the Amazon VPC.

    ProjectWebhookFilter, ProjectWebhookFilterArgs

    pattern String
    type String
    excludeMatchedPattern Boolean
    pattern string
    type string
    excludeMatchedPattern boolean
    pattern String
    type String
    excludeMatchedPattern Boolean

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial