- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
account_id
Type: STRING
arn
Type: STRING
Provider name: arn
Description: The Amazon Resource Name (ARN) of the build project.
artifacts
Type: STRUCT
Provider name: artifacts
Description: Information about the build output artifacts for the build project.
artifact_identifier
STRING
artifactIdentifier
bucket_owner_access
STRING
bucketOwnerAccess
encryption_disabled
BOOLEAN
encryptionDisabled
location
STRING
location
type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.type
is set to S3
, this is the name of the output bucket.name
STRING
name
path
and namespaceType
, the pattern that CodeBuild uses to name and store the output artifact:type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.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.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
.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.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>
.namespace_type
STRING
namespaceType
path
and name
, the pattern that CodeBuild uses to determine the name and location to store the output artifact:type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.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.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
BOOLEAN
overrideArtifactName
packaging
STRING
packaging
type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.type
is set to S3
, valid values include:NONE
: CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging
is not specified.ZIP
: CodeBuild creates in the output bucket a ZIP file that contains the build output.path
STRING
path
namespaceType
and name
, the pattern that CodeBuild uses to name and store the output artifact:type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.type
is set to S3
, this is the path to the output artifact. If path
is not specified, path
is not used.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
type
CODEPIPELINE
: The build project has build output generated through CodePipeline. 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.badge
Type: STRUCT
Provider name: badge
Description: Information about the build badge for the build project.
badge_enabled
BOOLEAN
badgeEnabled
badge_request_url
STRING
badgeRequestUrl
build_batch_config
Type: STRUCT
Provider name: buildBatchConfig
Description: A ProjectBuildBatchConfig object that defines the batch build options for the project.
batch_report_mode
STRING
batchReportMode
combine_artifacts
BOOLEAN
combineArtifacts
restrictions
STRUCT
restrictions
BatchRestrictions
object that specifies the restrictions for the batch build.compute_types_allowed
UNORDERED_LIST_STRING
computeTypesAllowed
maximum_builds_allowed
INT32
maximumBuildsAllowed
service_role
STRING
serviceRole
timeout_in_mins
INT32
timeoutInMins
cache
Type: STRUCT
Provider name: cache
Description: Information about the cache for the build project.
location
STRING
location
NO_CACHE
or LOCAL
: This value is ignored.S3
: This is the S3 bucket name/prefix.modes
UNORDERED_LIST_STRING
modes
LOCAL
cache types. Possible values are:privileged
flag must be set so that your project has the required Docker permissions.type
STRING
type
NO_CACHE
: The build project does not use any cache.S3
: The build project reads and writes from and to S3.LOCAL
: The build project stores a cache locally on a build host that is only available to that build host.concurrent_build_limit
Type: INT32
Provider name: concurrentBuildLimit
Description: The maximum number of concurrent builds that are allowed for this project. New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
created
Type: TIMESTAMP
Provider name: created
Description: When the build project was created, expressed in Unix time format.
description
Type: STRING
Provider name: description
Description: A description that makes the build project easy to identify.
encryption_key
Type: STRING
Provider name: encryptionKey
Description: The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. alias/<alias-name>
). If you don’t specify a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
environment
Type: STRUCT
Provider name: environment
Description: Information about the build environment for this build project.
certificate
STRING
certificate
compute_type
STRING
computeType
BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for builds.BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for builds.BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type.BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type.BUILD_GENERAL1_2XLARGE
: Use up to 145 GB 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 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.BUILD_LAMBDA_2GB
: Use up to 2 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.BUILD_LAMBDA_4GB
: Use up to 4 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.BUILD_LAMBDA_8GB
: Use up to 8 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.BUILD_LAMBDA_10GB
: Use up to 10 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.BUILD_GENERAL1_SMALL
:LINUX_CONTAINER
, you can use up to 3 GB memory and 2 vCPUs for builds.LINUX_GPU_CONTAINER
, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.ARM_CONTAINER
, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.BUILD_GENERAL1_LARGE
:LINUX_CONTAINER
, you can use up to 15 GB memory and 8 vCPUs for builds.LINUX_GPU_CONTAINER
, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.ARM_CONTAINER
, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.computeType
will be ignored. environment_variables
UNORDERED_LIST_STRUCT
environmentVariables
name
STRING
name
type
STRING
type
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 CodeBuild User Guide.PLAINTEXT
: An environment variable in plain text format. This is the default value.SECRETS_MANAGER
: An environment variable stored in 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 Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the CodeBuild User Guide.value
STRING
value
PLAINTEXT
environment variables to store sensitive values, especially Amazon Web Services secret key IDs. PLAINTEXT
environment variables can be displayed in plain text using the CodeBuild console and the CLI. For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE
or SECRETS_MANAGER
.fleet
STRUCT
fleet
fleet_arn
STRING
fleetArn
image
STRING
image
<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
.<registry>/<repository>@<digest>
. For example, to specify an image with the digest “sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,” use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf
.image_pull_credentials_type
STRING
imagePullCredentialsType
CODEBUILD
specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild service principal.SERVICE_ROLE
specifies that CodeBuild uses your build project’s service role.privileged_mode
BOOLEAN
privilegedMode
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
STRUCT
registryCredential
credential
STRING
credential
credential
can use the name of the credentials only if they exist in your current Amazon Web Services Region.credential_provider
STRING
credentialProvider
type
STRING
type
ARM_CONTAINER
is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).LINUX_CONTAINER
is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia).LINUX_GPU_CONTAINER
is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).ARM_LAMBDA_CONTAINER
and LINUX_LAMBDA_CONTAINER
are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo).WINDOWS_CONTAINER
and WINDOWS_SERVER_2019_CONTAINER
are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland).type
will be ignored. file_system_locations
Type: UNORDERED_LIST_STRUCT
Provider name: fileSystemLocations
Description: 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.
identifier
STRING
identifier
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
location
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_options
STRING
mountOptions
nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2
. For more information, see Recommended NFS Mount Options.mount_point
STRING
mountPoint
type
STRING
type
EFS
.last_modified
Type: TIMESTAMP
Provider name: lastModified
Description: When the build project’s settings were last modified, expressed in Unix time format.
logs_config
Type: STRUCT
Provider name: logsConfig
Description: Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
cloud_watch_logs
STRUCT
cloudWatchLogs
group_name
STRING
groupName
status
STRING
status
ENABLED
: CloudWatch Logs are enabled for this build project.DISABLED
: CloudWatch Logs are not enabled for this build project.stream_name
STRING
streamName
s3_logs
STRUCT
s3Logs
bucket_owner_access
STRING
bucketOwnerAccess
encryption_disabled
BOOLEAN
encryptionDisabled
location
STRING
location
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
status
ENABLED
: S3 build logs are enabled for this build project.DISABLED
: S3 build logs are not enabled for this build project.name
Type: STRING
Provider name: name
Description: The name of the build project.
project_source
Type: STRUCT
Provider name: source
Description: Information about the build input source code for this build project.
auth
STRUCT
auth
resource
STRING
resource
type
STRING
type
build_status_config
STRUCT
buildStatusConfig
GITHUB
, GITHUB_ENTERPRISE
, or BITBUCKET
.context
STRING
context
name
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.context
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.target_url
STRING
targetUrl
url
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.target_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.buildspec
STRING
buildspec
CODEBUILD_SRC_DIR
environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.git_clone_depth
INT32
gitCloneDepth
git_submodules_config
STRUCT
gitSubmodulesConfig
fetch_submodules
BOOLEAN
fetchSubmodules
insecure_ssl
BOOLEAN
insecureSsl
location
STRING
location
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.https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>
).<bucket-name>/<path>/<object-name>.zip
).<bucket-name>/<path-to-source-code>/<folder>/
).source
object, set the auth
object’s type
value to OAUTH
.auth
object’s type
value to CODECONNECTIONS
in the source
object.source
object, set the auth
object’s type
value to OAUTH
.CODEPIPELINE
for the Type
property, don’t specify this property. For all of the other types, you must specify Location
.report_build_status
BOOLEAN
reportBuildStatus
invalidInputException
is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide. The status of a build triggered by a webhook is always reported to your source provider. If your project’s builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.source_identifier
STRING
sourceIdentifier
type
STRING
type
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.project_visibility
Type: STRING
Provider name: projectVisibility
public_project_alias
Type: STRING
Provider name: publicProjectAlias
Description: Contains the project identifier used with the public build APIs.
queued_timeout_in_minutes
Type: INT32
Provider name: queuedTimeoutInMinutes
Description: The number of minutes a build is allowed to be queued before it times out.
resource_access_role
Type: STRING
Provider name: resourceAccessRole
Description: 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
Type: UNORDERED_LIST_STRUCT
Provider name: secondaryArtifacts
Description: An array of ProjectArtifacts
objects.
artifact_identifier
STRING
artifactIdentifier
bucket_owner_access
STRING
bucketOwnerAccess
encryption_disabled
BOOLEAN
encryptionDisabled
location
STRING
location
type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.type
is set to S3
, this is the name of the output bucket.name
STRING
name
path
and namespaceType
, the pattern that CodeBuild uses to name and store the output artifact:type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.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.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
.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.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>
.namespace_type
STRING
namespaceType
path
and name
, the pattern that CodeBuild uses to determine the name and location to store the output artifact:type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.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.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
BOOLEAN
overrideArtifactName
packaging
STRING
packaging
type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.type
is set to S3
, valid values include:NONE
: CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging
is not specified.ZIP
: CodeBuild creates in the output bucket a ZIP file that contains the build output.path
STRING
path
namespaceType
and name
, the pattern that CodeBuild uses to name and store the output artifact:type
is set to CODEPIPELINE
, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild.type
is set to NO_ARTIFACTS
, this value is ignored if specified, because no build output is produced.type
is set to S3
, this is the path to the output artifact. If path
is not specified, path
is not used.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
type
CODEPIPELINE
: The build project has build output generated through CodePipeline. 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.secondary_source_versions
Type: UNORDERED_LIST_STRUCT
Provider name: secondarySourceVersions
Description: An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at the build level, then they take over these secondarySourceVersions
(at the project level).
source_identifier
STRING
sourceIdentifier
source_version
STRING
sourceVersion
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.secondary_sources
Type: UNORDERED_LIST_STRUCT
Provider name: secondarySources
Description: An array of ProjectSource
objects.
auth
STRUCT
auth
resource
STRING
resource
type
STRING
type
build_status_config
STRUCT
buildStatusConfig
GITHUB
, GITHUB_ENTERPRISE
, or BITBUCKET
.context
STRING
context
name
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.context
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.target_url
STRING
targetUrl
url
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.target_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.buildspec
STRING
buildspec
CODEBUILD_SRC_DIR
environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.git_clone_depth
INT32
gitCloneDepth
git_submodules_config
STRUCT
gitSubmodulesConfig
fetch_submodules
BOOLEAN
fetchSubmodules
insecure_ssl
BOOLEAN
insecureSsl
location
STRING
location
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.https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>
).<bucket-name>/<path>/<object-name>.zip
).<bucket-name>/<path-to-source-code>/<folder>/
).source
object, set the auth
object’s type
value to OAUTH
.auth
object’s type
value to CODECONNECTIONS
in the source
object.source
object, set the auth
object’s type
value to OAUTH
.CODEPIPELINE
for the Type
property, don’t specify this property. For all of the other types, you must specify Location
.report_build_status
BOOLEAN
reportBuildStatus
invalidInputException
is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide. The status of a build triggered by a webhook is always reported to your source provider. If your project’s builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.source_identifier
STRING
sourceIdentifier
type
STRING
type
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.service_role
Type: STRING
Provider name: serviceRole
Description: The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
source_version
Type: STRING
Provider name: sourceVersion
Description: 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:
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.sourceVersion
is specified at the build level, then that version takes precedence over this sourceVersion
(at the project level). For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.tags
Type: UNORDERED_LIST_STRING
timeout_in_minutes
Type: INT32
Provider name: timeoutInMinutes
Description: How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
vpc_config
Type: STRUCT
Provider name: vpcConfig
Description: Information about the VPC configuration that CodeBuild accesses.
security_group_ids
UNORDERED_LIST_STRING
securityGroupIds
subnets
UNORDERED_LIST_STRING
subnets
vpc_id
STRING
vpcId
webhook
Type: STRUCT
Provider name: webhook
Description: Information about a webhook that connects repository events to a build project in CodeBuild.
branch_filter
STRING
branchFilter
branchFilter
is empty, then all branches are built. filterGroups
instead of branchFilter
.build_type
STRING
buildType
last_modified_secret
TIMESTAMP
lastModifiedSecret
manual_creation
BOOLEAN
manualCreation
payloadUrl
and secret
values for the webhook. The payloadUrl
and secret
values in the output can be used to manually create a webhook within GitHub. payload_url
STRING
payloadUrl
secret
STRING
secret
secret
.url
STRING
url