Project

Provides a CodeBuild Project resource. See also the aws.codebuild.Webhook resource, which manages the webhook to the source (e.g. the “rebuild every time a code change is pushed” option in the CodeBuild web console).

Create a Project Resource

new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
def Project(resource_name, opts=None, artifacts=None, badge_enabled=None, build_timeout=None, cache=None, description=None, encryption_key=None, environment=None, logs_config=None, name=None, queued_timeout=None, secondary_artifacts=None, secondary_sources=None, service_role=None, source=None, source_version=None, tags=None, vpc_config=None, __props__=None);
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

Project Resource Properties

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

Inputs

The Project resource accepts the following input properties:

Artifacts ProjectArtifactsArgs

Information about the project’s build output artifacts. Artifact blocks are documented below.

Environment ProjectEnvironmentArgs

Information about the project’s build environment. Environment blocks are documented below.

ServiceRole string

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

Source ProjectSourceArgs

Information about the project’s input source code. Source blocks are documented below.

BadgeEnabled bool

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

BuildTimeout int

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

Cache ProjectCacheArgs

Information about the cache storage for the project. Cache blocks are documented below.

Description string

A short description of the project.

EncryptionKey string

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

LogsConfig ProjectLogsConfigArgs

Configuration for the builds to store log data to CloudWatch or S3.

Name string

The projects name.

QueuedTimeout int

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

SecondaryArtifacts List<ProjectSecondaryArtifactArgs>

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

SecondarySources List<ProjectSecondarySourceArgs>

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

SourceVersion string

A version of the build input to be built for this project. If not specified, the latest version is used.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

VpcConfig ProjectVpcConfigArgs

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

Artifacts ProjectArtifacts

Information about the project’s build output artifacts. Artifact blocks are documented below.

Environment ProjectEnvironment

Information about the project’s build environment. Environment blocks are documented below.

ServiceRole string

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

Source ProjectSource

Information about the project’s input source code. Source blocks are documented below.

BadgeEnabled bool

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

BuildTimeout int

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

Cache ProjectCache

Information about the cache storage for the project. Cache blocks are documented below.

Description string

A short description of the project.

EncryptionKey string

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

LogsConfig ProjectLogsConfig

Configuration for the builds to store log data to CloudWatch or S3.

Name string

The projects name.

QueuedTimeout int

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

SecondaryArtifacts []ProjectSecondaryArtifact

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

SecondarySources []ProjectSecondarySource

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

SourceVersion string

A version of the build input to be built for this project. If not specified, the latest version is used.

Tags map[string]string

A map of tags to assign to the resource.

VpcConfig ProjectVpcConfig

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

artifacts ProjectArtifacts

Information about the project’s build output artifacts. Artifact blocks are documented below.

environment ProjectEnvironment

Information about the project’s build environment. Environment blocks are documented below.

serviceRole string

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

source ProjectSource

Information about the project’s input source code. Source blocks are documented below.

badgeEnabled boolean

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

buildTimeout number

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

cache ProjectCache

Information about the cache storage for the project. Cache blocks are documented below.

description string

A short description of the project.

encryptionKey string

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

logsConfig ProjectLogsConfig

Configuration for the builds to store log data to CloudWatch or S3.

name string

The projects name.

queuedTimeout number

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

secondaryArtifacts ProjectSecondaryArtifact[]

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

secondarySources ProjectSecondarySource[]

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

sourceVersion string

A version of the build input to be built for this project. If not specified, the latest version is used.

tags {[key: string]: string}

A map of tags to assign to the resource.

vpcConfig ProjectVpcConfig

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

artifacts Dict[ProjectArtifacts]

Information about the project’s build output artifacts. Artifact blocks are documented below.

environment Dict[ProjectEnvironment]

Information about the project’s build environment. Environment blocks are documented below.

service_role str

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

source Dict[ProjectSource]

Information about the project’s input source code. Source blocks are documented below.

badge_enabled bool

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

build_timeout float

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

cache Dict[ProjectCache]

Information about the cache storage for the project. Cache blocks are documented below.

description str

A short description of the project.

encryption_key str

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

logs_config Dict[ProjectLogsConfig]

Configuration for the builds to store log data to CloudWatch or S3.

name str

The projects name.

queued_timeout float

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

secondary_artifacts List[ProjectSecondaryArtifact]

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

secondary_sources List[ProjectSecondarySource]

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

source_version str

A version of the build input to be built for this project. If not specified, the latest version is used.

tags Dict[str, str]

A map of tags to assign to the resource.

vpc_config Dict[ProjectVpcConfig]

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

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 CodeBuild project.

BadgeUrl string

The URL of the build badge when badge_enabled is enabled.

Id string
The provider-assigned unique ID for this managed resource.
Arn string

The ARN of the CodeBuild project.

BadgeUrl string

The URL of the build badge when badge_enabled is enabled.

Id string
The provider-assigned unique ID for this managed resource.
arn string

The ARN of the CodeBuild project.

badgeUrl string

The URL of the build badge when badge_enabled is enabled.

id string
The provider-assigned unique ID for this managed resource.
arn str

The ARN of the CodeBuild project.

badge_url str

The URL of the build badge when badge_enabled is enabled.

id str
The provider-assigned unique ID for this managed resource.

Look up an 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>, state?: ProjectState, opts?: CustomResourceOptions): Project
static get(resource_name, id, opts=None, arn=None, artifacts=None, badge_enabled=None, badge_url=None, build_timeout=None, cache=None, description=None, encryption_key=None, environment=None, logs_config=None, name=None, queued_timeout=None, secondary_artifacts=None, secondary_sources=None, service_role=None, source=None, source_version=None, tags=None, vpc_config=None, __props__=None);
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

The ARN of the CodeBuild project.

Artifacts ProjectArtifactsArgs

Information about the project’s build output artifacts. Artifact blocks are documented below.

BadgeEnabled bool

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

BadgeUrl string

The URL of the build badge when badge_enabled is enabled.

BuildTimeout int

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

Cache ProjectCacheArgs

Information about the cache storage for the project. Cache blocks are documented below.

Description string

A short description of the project.

EncryptionKey string

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

Environment ProjectEnvironmentArgs

Information about the project’s build environment. Environment blocks are documented below.

LogsConfig ProjectLogsConfigArgs

Configuration for the builds to store log data to CloudWatch or S3.

Name string

The projects name.

QueuedTimeout int

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

SecondaryArtifacts List<ProjectSecondaryArtifactArgs>

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

SecondarySources List<ProjectSecondarySourceArgs>

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

ServiceRole string

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

Source ProjectSourceArgs

Information about the project’s input source code. Source blocks are documented below.

SourceVersion string

A version of the build input to be built for this project. If not specified, the latest version is used.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

VpcConfig ProjectVpcConfigArgs

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

Arn string

The ARN of the CodeBuild project.

Artifacts ProjectArtifacts

Information about the project’s build output artifacts. Artifact blocks are documented below.

BadgeEnabled bool

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

BadgeUrl string

The URL of the build badge when badge_enabled is enabled.

BuildTimeout int

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

Cache ProjectCache

Information about the cache storage for the project. Cache blocks are documented below.

Description string

A short description of the project.

EncryptionKey string

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

Environment ProjectEnvironment

Information about the project’s build environment. Environment blocks are documented below.

LogsConfig ProjectLogsConfig

Configuration for the builds to store log data to CloudWatch or S3.

Name string

The projects name.

QueuedTimeout int

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

SecondaryArtifacts []ProjectSecondaryArtifact

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

SecondarySources []ProjectSecondarySource

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

ServiceRole string

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

Source ProjectSource

Information about the project’s input source code. Source blocks are documented below.

SourceVersion string

A version of the build input to be built for this project. If not specified, the latest version is used.

Tags map[string]string

A map of tags to assign to the resource.

VpcConfig ProjectVpcConfig

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

arn string

The ARN of the CodeBuild project.

artifacts ProjectArtifacts

Information about the project’s build output artifacts. Artifact blocks are documented below.

badgeEnabled boolean

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

badgeUrl string

The URL of the build badge when badge_enabled is enabled.

buildTimeout number

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

cache ProjectCache

Information about the cache storage for the project. Cache blocks are documented below.

description string

A short description of the project.

encryptionKey string

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

environment ProjectEnvironment

Information about the project’s build environment. Environment blocks are documented below.

logsConfig ProjectLogsConfig

Configuration for the builds to store log data to CloudWatch or S3.

name string

The projects name.

queuedTimeout number

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

secondaryArtifacts ProjectSecondaryArtifact[]

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

secondarySources ProjectSecondarySource[]

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

serviceRole string

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

source ProjectSource

Information about the project’s input source code. Source blocks are documented below.

sourceVersion string

A version of the build input to be built for this project. If not specified, the latest version is used.

tags {[key: string]: string}

A map of tags to assign to the resource.

vpcConfig ProjectVpcConfig

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

arn str

The ARN of the CodeBuild project.

artifacts Dict[ProjectArtifacts]

Information about the project’s build output artifacts. Artifact blocks are documented below.

badge_enabled bool

Generates a publicly-accessible URL for the projects build badge. Available as badge_url attribute when enabled.

badge_url str

The URL of the build badge when badge_enabled is enabled.

build_timeout float

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

cache Dict[ProjectCache]

Information about the cache storage for the project. Cache blocks are documented below.

description str

A short description of the project.

encryption_key str

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project’s build output artifacts.

environment Dict[ProjectEnvironment]

Information about the project’s build environment. Environment blocks are documented below.

logs_config Dict[ProjectLogsConfig]

Configuration for the builds to store log data to CloudWatch or S3.

name str

The projects name.

queued_timeout float

How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

secondary_artifacts List[ProjectSecondaryArtifact]

A set of secondary artifacts to be used inside the build. Secondary artifacts blocks are documented below.

secondary_sources List[ProjectSecondarySource]

A set of secondary sources to be used inside the build. Secondary sources blocks are documented below.

service_role str

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

source Dict[ProjectSource]

Information about the project’s input source code. Source blocks are documented below.

source_version str

A version of the build input to be built for this project. If not specified, the latest version is used.

tags Dict[str, str]

A map of tags to assign to the resource.

vpc_config Dict[ProjectVpcConfig]

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

Supporting Types

ProjectArtifacts

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

ArtifactIdentifier string

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

EncryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

Location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

Name string

The name of the project. If type is set to S3, this is the name of the output artifact object

NamespaceType string

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

OverrideArtifactName bool

If set to true, a name specified in the build spec file overrides the artifact name.

Packaging string

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

Path string

If type is set to S3, this is the path to the output artifact

Type string

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

ArtifactIdentifier string

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

EncryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

Location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

Name string

The name of the project. If type is set to S3, this is the name of the output artifact object

NamespaceType string

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

OverrideArtifactName bool

If set to true, a name specified in the build spec file overrides the artifact name.

Packaging string

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

Path string

If type is set to S3, this is the path to the output artifact

type string

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

artifactIdentifier string

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

encryptionDisabled boolean

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

name string

The name of the project. If type is set to S3, this is the name of the output artifact object

namespaceType string

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

overrideArtifactName boolean

If set to true, a name specified in the build spec file overrides the artifact name.

packaging string

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

path string

If type is set to S3, this is the path to the output artifact

type str

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

artifactIdentifier str

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

encryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

location str

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

name str

The name of the project. If type is set to S3, this is the name of the output artifact object

namespaceType str

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

overrideArtifactName bool

If set to true, a name specified in the build spec file overrides the artifact name.

packaging str

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

path str

If type is set to S3, this is the path to the output artifact

ProjectCache

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Location string

The location where the AWS CodeBuild project stores cached resources. For type S3 the value must be a valid S3 bucket name/prefix.

Modes List<string>

Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL_SOURCE_CACHE, LOCAL_DOCKER_LAYER_CACHE, and LOCAL_CUSTOM_CACHE

Type string

The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO_CACHE, LOCAL, and S3. Defaults to NO_CACHE.

Location string

The location where the AWS CodeBuild project stores cached resources. For type S3 the value must be a valid S3 bucket name/prefix.

Modes []string

Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL_SOURCE_CACHE, LOCAL_DOCKER_LAYER_CACHE, and LOCAL_CUSTOM_CACHE

Type string

The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO_CACHE, LOCAL, and S3. Defaults to NO_CACHE.

location string

The location where the AWS CodeBuild project stores cached resources. For type S3 the value must be a valid S3 bucket name/prefix.

modes string[]

Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL_SOURCE_CACHE, LOCAL_DOCKER_LAYER_CACHE, and LOCAL_CUSTOM_CACHE

type string

The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO_CACHE, LOCAL, and S3. Defaults to NO_CACHE.

location str

The location where the AWS CodeBuild project stores cached resources. For type S3 the value must be a valid S3 bucket name/prefix.

modes List[str]

Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL_SOURCE_CACHE, LOCAL_DOCKER_LAYER_CACHE, and LOCAL_CUSTOM_CACHE

type str

The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO_CACHE, LOCAL, and S3. Defaults to NO_CACHE.

ProjectEnvironment

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ComputeType string

Information about the compute resources the build project will use. Available values for this parameter are: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE or BUILD_GENERAL1_2XLARGE. BUILD_GENERAL1_SMALL is only valid if type is set to LINUX_CONTAINER. When type is set to LINUX_GPU_CONTAINER, compute_type need to be BUILD_GENERAL1_LARGE.

Image string

The Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g aws/codebuild/standard:2.0), Docker Hub images (e.g. nginx:latest), and full Docker repository URIs such as those for ECR (e.g. 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).

Type string

The type of build environment to use for related builds. Available values are: LINUX_CONTAINER, LINUX_GPU_CONTAINER, WINDOWS_CONTAINER or ARM_CONTAINER.

Certificate string

The ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

EnvironmentVariables List<ProjectEnvironmentEnvironmentVariableArgs>

A set of environment variables to make available to builds for this build project.

ImagePullCredentialsType string

The type of credentials AWS CodeBuild uses to pull images in your build. Available values for this parameter are CODEBUILD or 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. Default to CODEBUILD

PrivilegedMode bool

If set to true, enables running the Docker daemon inside a Docker container. Defaults to false.

RegistryCredential ProjectEnvironmentRegistryCredentialArgs

Information about credentials for access to a private Docker registry. Registry Credential config blocks are documented below.

ComputeType string

Information about the compute resources the build project will use. Available values for this parameter are: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE or BUILD_GENERAL1_2XLARGE. BUILD_GENERAL1_SMALL is only valid if type is set to LINUX_CONTAINER. When type is set to LINUX_GPU_CONTAINER, compute_type need to be BUILD_GENERAL1_LARGE.

Image string

The Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g aws/codebuild/standard:2.0), Docker Hub images (e.g. nginx:latest), and full Docker repository URIs such as those for ECR (e.g. 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).

Type string

The type of build environment to use for related builds. Available values are: LINUX_CONTAINER, LINUX_GPU_CONTAINER, WINDOWS_CONTAINER or ARM_CONTAINER.

Certificate string

The ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

EnvironmentVariables []ProjectEnvironmentEnvironmentVariable

A set of environment variables to make available to builds for this build project.

ImagePullCredentialsType string

The type of credentials AWS CodeBuild uses to pull images in your build. Available values for this parameter are CODEBUILD or 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. Default to CODEBUILD

PrivilegedMode bool

If set to true, enables running the Docker daemon inside a Docker container. Defaults to false.

RegistryCredential ProjectEnvironmentRegistryCredential

Information about credentials for access to a private Docker registry. Registry Credential config blocks are documented below.

computeType string

Information about the compute resources the build project will use. Available values for this parameter are: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE or BUILD_GENERAL1_2XLARGE. BUILD_GENERAL1_SMALL is only valid if type is set to LINUX_CONTAINER. When type is set to LINUX_GPU_CONTAINER, compute_type need to be BUILD_GENERAL1_LARGE.

image string

The Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g aws/codebuild/standard:2.0), Docker Hub images (e.g. nginx:latest), and full Docker repository URIs such as those for ECR (e.g. 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).

type string

The type of build environment to use for related builds. Available values are: LINUX_CONTAINER, LINUX_GPU_CONTAINER, WINDOWS_CONTAINER or ARM_CONTAINER.

certificate string

The ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

environmentVariables ProjectEnvironmentEnvironmentVariable[]

A set of environment variables to make available to builds for this build project.

imagePullCredentialsType string

The type of credentials AWS CodeBuild uses to pull images in your build. Available values for this parameter are CODEBUILD or 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. Default to CODEBUILD

privilegedMode boolean

If set to true, enables running the Docker daemon inside a Docker container. Defaults to false.

registryCredential ProjectEnvironmentRegistryCredential

Information about credentials for access to a private Docker registry. Registry Credential config blocks are documented below.

computeType str

Information about the compute resources the build project will use. Available values for this parameter are: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE or BUILD_GENERAL1_2XLARGE. BUILD_GENERAL1_SMALL is only valid if type is set to LINUX_CONTAINER. When type is set to LINUX_GPU_CONTAINER, compute_type need to be BUILD_GENERAL1_LARGE.

image str

The Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g aws/codebuild/standard:2.0), Docker Hub images (e.g. nginx:latest), and full Docker repository URIs such as those for ECR (e.g. 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).

type str

The type of build environment to use for related builds. Available values are: LINUX_CONTAINER, LINUX_GPU_CONTAINER, WINDOWS_CONTAINER or ARM_CONTAINER.

certificate str

The ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

environmentVariables List[ProjectEnvironmentEnvironmentVariable]

A set of environment variables to make available to builds for this build project.

imagePullCredentialsType str

The type of credentials AWS CodeBuild uses to pull images in your build. Available values for this parameter are CODEBUILD or 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. Default to CODEBUILD

privilegedMode bool

If set to true, enables running the Docker daemon inside a Docker container. Defaults to false.

registryCredential Dict[ProjectEnvironmentRegistryCredential]

Information about credentials for access to a private Docker registry. Registry Credential config blocks are documented below.

ProjectEnvironmentEnvironmentVariable

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The environment variable’s name or key.

Value string

The environment variable’s value.

Type string

The type of environment variable. Valid values: PARAMETER_STORE, PLAINTEXT.

Name string

The environment variable’s name or key.

Value string

The environment variable’s value.

Type string

The type of environment variable. Valid values: PARAMETER_STORE, PLAINTEXT.

name string

The environment variable’s name or key.

value string

The environment variable’s value.

type string

The type of environment variable. Valid values: PARAMETER_STORE, PLAINTEXT.

name str

The environment variable’s name or key.

value str

The environment variable’s value.

type str

The type of environment variable. Valid values: PARAMETER_STORE, PLAINTEXT.

ProjectEnvironmentRegistryCredential

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Credential string

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

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.

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.

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.

credentialProvider str

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

ProjectLogsConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CloudwatchLogs ProjectLogsConfigCloudwatchLogsArgs

Configuration for the builds to store logs to CloudWatch

S3Logs ProjectLogsConfigS3LogsArgs

Configuration for the builds to store logs to S3.

CloudwatchLogs ProjectLogsConfigCloudwatchLogs

Configuration for the builds to store logs to CloudWatch

S3Logs ProjectLogsConfigS3Logs

Configuration for the builds to store logs to S3.

cloudwatchLogs ProjectLogsConfigCloudwatchLogs

Configuration for the builds to store logs to CloudWatch

s3Logs ProjectLogsConfigS3Logs

Configuration for the builds to store logs to S3.

cloudwatchLogs Dict[ProjectLogsConfigCloudwatchLogs]

Configuration for the builds to store logs to CloudWatch

s3Logs Dict[ProjectLogsConfigS3Logs]

Configuration for the builds to store logs to S3.

ProjectLogsConfigCloudwatchLogs

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

GroupName string

The group name of the logs in CloudWatch Logs.

Status string

Current status of logs in S3 for a build project. Valid values: ENABLED, DISABLED. Defaults to DISABLED.

StreamName string

The stream name of the logs in CloudWatch Logs.

GroupName string

The group name of the logs in CloudWatch Logs.

Status string

Current status of logs in S3 for a build project. Valid values: ENABLED, DISABLED. Defaults to DISABLED.

StreamName string

The stream name of the logs in CloudWatch Logs.

groupName string

The group name of the logs in CloudWatch Logs.

status string

Current status of logs in S3 for a build project. Valid values: ENABLED, DISABLED. Defaults to DISABLED.

streamName string

The stream name of the logs in CloudWatch Logs.

group_name str

The group name of the logs in CloudWatch Logs.

status str

Current status of logs in S3 for a build project. Valid values: ENABLED, DISABLED. Defaults to DISABLED.

streamName str

The stream name of the logs in CloudWatch Logs.

ProjectLogsConfigS3Logs

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

EncryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

Location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

Status string

Current status of logs in CloudWatch Logs for a build project. Valid values: ENABLED, DISABLED. Defaults to ENABLED.

EncryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

Location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

Status string

Current status of logs in CloudWatch Logs for a build project. Valid values: ENABLED, DISABLED. Defaults to ENABLED.

encryptionDisabled boolean

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

status string

Current status of logs in CloudWatch Logs for a build project. Valid values: ENABLED, DISABLED. Defaults to ENABLED.

encryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

location str

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket.

status str

Current status of logs in CloudWatch Logs for a build project. Valid values: ENABLED, DISABLED. Defaults to ENABLED.

ProjectSecondaryArtifact

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ArtifactIdentifier string

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

Type string

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

EncryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

Location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket. If path is not also specified, then location can also specify the path of the output artifact in the output bucket.

Name string

The name of the project. If type is set to S3, this is the name of the output artifact object

NamespaceType string

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

OverrideArtifactName bool

If set to true, a name specified in the build spec file overrides the artifact name.

Packaging string

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

Path string

If type is set to S3, this is the path to the output artifact

ArtifactIdentifier string

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

Type string

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

EncryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

Location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket. If path is not also specified, then location can also specify the path of the output artifact in the output bucket.

Name string

The name of the project. If type is set to S3, this is the name of the output artifact object

NamespaceType string

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

OverrideArtifactName bool

If set to true, a name specified in the build spec file overrides the artifact name.

Packaging string

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

Path string

If type is set to S3, this is the path to the output artifact

artifactIdentifier string

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

type string

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

encryptionDisabled boolean

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

location string

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket. If path is not also specified, then location can also specify the path of the output artifact in the output bucket.

name string

The name of the project. If type is set to S3, this is the name of the output artifact object

namespaceType string

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

overrideArtifactName boolean

If set to true, a name specified in the build spec file overrides the artifact name.

packaging string

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

path string

If type is set to S3, this is the path to the output artifact

artifactIdentifier str

The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec.

type str

The build output artifact’s type. Valid values for this parameter are: CODEPIPELINE, NO_ARTIFACTS or S3.

encryptionDisabled bool

If set to true, output artifacts will not be encrypted. If type is set to NO_ARTIFACTS then this value will be ignored. Defaults to false.

location str

Information about the build output artifact location. If type is set to CODEPIPELINE or NO_ARTIFACTS then this value will be ignored. If type is set to S3, this is the name of the output bucket. If path is not also specified, then location can also specify the path of the output artifact in the output bucket.

name str

The name of the project. If type is set to S3, this is the name of the output artifact object

namespaceType str

The namespace to use in storing build artifacts. If type is set to S3, then valid values for this parameter are: BUILD_ID or NONE.

overrideArtifactName bool

If set to true, a name specified in the build spec file overrides the artifact name.

packaging str

The type of build output artifact to create. If type is set to S3, valid values for this parameter are: NONE or ZIP

path str

If type is set to S3, this is the path to the output artifact

ProjectSecondarySource

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SourceIdentifier string

The source identifier. Source data will be put inside a folder named as this parameter inside AWS CodeBuild source directory

Type string

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET or S3.

Auths List<ProjectSecondarySourceAuthArgs>

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

Buildspec string

The build spec declaration to use for this build project’s related builds.

GitCloneDepth int

Truncate git history to this many commits.

GitSubmodulesConfig ProjectSecondarySourceGitSubmodulesConfigArgs

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

InsecureSsl bool

Ignore SSL warnings when connecting to source control.

Location string

The location of the source code from git or s3.

ReportBuildStatus bool

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when your source provider is GITHUB, BITBUCKET, or GITHUB_ENTERPRISE.

SourceIdentifier string

The source identifier. Source data will be put inside a folder named as this parameter inside AWS CodeBuild source directory

Type string

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET or S3.

Auths []ProjectSecondarySourceAuth

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

Buildspec string

The build spec declaration to use for this build project’s related builds.

GitCloneDepth int

Truncate git history to this many commits.

GitSubmodulesConfig ProjectSecondarySourceGitSubmodulesConfig

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

InsecureSsl bool

Ignore SSL warnings when connecting to source control.

Location string

The location of the source code from git or s3.

ReportBuildStatus bool

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when your source provider is GITHUB, BITBUCKET, or GITHUB_ENTERPRISE.

sourceIdentifier string

The source identifier. Source data will be put inside a folder named as this parameter inside AWS CodeBuild source directory

type string

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET or S3.

auths ProjectSecondarySourceAuth[]

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

buildspec string

The build spec declaration to use for this build project’s related builds.

gitCloneDepth number

Truncate git history to this many commits.

gitSubmodulesConfig ProjectSecondarySourceGitSubmodulesConfig

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

insecureSsl boolean

Ignore SSL warnings when connecting to source control.

location string

The location of the source code from git or s3.

reportBuildStatus boolean

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when your source provider is GITHUB, BITBUCKET, or GITHUB_ENTERPRISE.

sourceIdentifier str

The source identifier. Source data will be put inside a folder named as this parameter inside AWS CodeBuild source directory

type str

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET or S3.

auths List[ProjectSecondarySourceAuth]

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

buildspec str

The build spec declaration to use for this build project’s related builds.

gitCloneDepth float

Truncate git history to this many commits.

gitSubmodulesConfig Dict[ProjectSecondarySourceGitSubmodulesConfig]

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

insecureSsl bool

Ignore SSL warnings when connecting to source control.

location str

The location of the source code from git or s3.

reportBuildStatus bool

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when your source provider is GITHUB, BITBUCKET, or GITHUB_ENTERPRISE.

ProjectSecondarySourceAuth

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The authorization type to use. The only valid value is OAUTH

Resource string

The resource value that applies to the specified authorization type.

Type string

The authorization type to use. The only valid value is OAUTH

Resource string

The resource value that applies to the specified authorization type.

type string

The authorization type to use. The only valid value is OAUTH

resource string

The resource value that applies to the specified authorization type.

type str

The authorization type to use. The only valid value is OAUTH

resource str

The resource value that applies to the specified authorization type.

ProjectSecondarySourceGitSubmodulesConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

FetchSubmodules bool

If set to true, fetches Git submodules for the AWS CodeBuild build project.

FetchSubmodules bool

If set to true, fetches Git submodules for the AWS CodeBuild build project.

fetchSubmodules boolean

If set to true, fetches Git submodules for the AWS CodeBuild build project.

fetchSubmodules bool

If set to true, fetches Git submodules for the AWS CodeBuild build project.

ProjectSource

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET, S3 or NO_SOURCE.

Auths List<ProjectSourceAuthArgs>

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

Buildspec string

The build spec declaration to use for this build project’s related builds. This must be set when type is NO_SOURCE.

GitCloneDepth int

Truncate git history to this many commits.

GitSubmodulesConfig ProjectSourceGitSubmodulesConfigArgs

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

InsecureSsl bool

Ignore SSL warnings when connecting to source control.

Location string

The location of the source code from git or s3.

ReportBuildStatus bool

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when the type is BITBUCKET or GITHUB.

Type string

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET, S3 or NO_SOURCE.

Auths []ProjectSourceAuth

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

Buildspec string

The build spec declaration to use for this build project’s related builds. This must be set when type is NO_SOURCE.

GitCloneDepth int

Truncate git history to this many commits.

GitSubmodulesConfig ProjectSourceGitSubmodulesConfig

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

InsecureSsl bool

Ignore SSL warnings when connecting to source control.

Location string

The location of the source code from git or s3.

ReportBuildStatus bool

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when the type is BITBUCKET or GITHUB.

type string

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET, S3 or NO_SOURCE.

auths ProjectSourceAuth[]

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

buildspec string

The build spec declaration to use for this build project’s related builds. This must be set when type is NO_SOURCE.

gitCloneDepth number

Truncate git history to this many commits.

gitSubmodulesConfig ProjectSourceGitSubmodulesConfig

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

insecureSsl boolean

Ignore SSL warnings when connecting to source control.

location string

The location of the source code from git or s3.

reportBuildStatus boolean

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when the type is BITBUCKET or GITHUB.

type str

The type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, BITBUCKET, S3 or NO_SOURCE.

auths List[ProjectSourceAuth]

Information about the authorization settings for AWS CodeBuild to access the source code to be built. Auth blocks are documented below.

buildspec str

The build spec declaration to use for this build project’s related builds. This must be set when type is NO_SOURCE.

gitCloneDepth float

Truncate git history to this many commits.

gitSubmodulesConfig Dict[ProjectSourceGitSubmodulesConfig]

Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is CODECOMMIT, GITHUB or GITHUB_ENTERPRISE.

insecureSsl bool

Ignore SSL warnings when connecting to source control.

location str

The location of the source code from git or s3.

reportBuildStatus bool

Set to true to report the status of a build’s start and finish to your source provider. This option is only valid when the type is BITBUCKET or GITHUB.

ProjectSourceAuth

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The authorization type to use. The only valid value is OAUTH

Resource string

The resource value that applies to the specified authorization type.

Type string

The authorization type to use. The only valid value is OAUTH

Resource string

The resource value that applies to the specified authorization type.

type string

The authorization type to use. The only valid value is OAUTH

resource string

The resource value that applies to the specified authorization type.

type str

The authorization type to use. The only valid value is OAUTH

resource str

The resource value that applies to the specified authorization type.

ProjectSourceGitSubmodulesConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

FetchSubmodules bool

If set to true, fetches Git submodules for the AWS CodeBuild build project.

FetchSubmodules bool

If set to true, fetches Git submodules for the AWS CodeBuild build project.

fetchSubmodules boolean

If set to true, fetches Git submodules for the AWS CodeBuild build project.

fetchSubmodules bool

If set to true, fetches Git submodules for the AWS CodeBuild build project.

ProjectVpcConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SecurityGroupIds List<string>

The security group IDs to assign to running builds.

Subnets List<string>

The subnet IDs within which to run builds.

VpcId string

The ID of the VPC within which to run builds.

SecurityGroupIds []string

The security group IDs to assign to running builds.

Subnets []string

The subnet IDs within which to run builds.

VpcId string

The ID of the VPC within which to run builds.

securityGroupIds string[]

The security group IDs to assign to running builds.

subnets string[]

The subnet IDs within which to run builds.

vpcId string

The ID of the VPC within which to run builds.

security_group_ids List[str]

The security group IDs to assign to running builds.

subnets List[str]

The subnet IDs within which to run builds.

vpc_id str

The ID of the VPC within which to run builds.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.