AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeBuild::Project

CodeBuild Project

Resource Type definition for AWS::CodeBuild::Project

Properties

25 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
Artifacts
Artifacts
Required
Environment
Environment
Required
ServiceRole
string
Required
Source
Source
Required
AutoRetryLimit
integer
BadgeEnabled
boolean
BuildBatchConfig
ProjectBuildBatchConfig
Cache
ProjectCache
ConcurrentBuildLimit
integer
Description
string
EncryptionKey
string
FileSystemLocations
Array<ProjectFileSystemLocation>
LogsConfig
LogsConfig
Name
string
Create-only
QueuedTimeoutInMinutes
integer
ResourceAccessRole
string
SecondaryArtifacts
Array<Artifacts>
SecondarySources
Array<Source>
SecondarySourceVersions
Array<ProjectSourceVersion>
SourceVersion
string
Tags
Array<Tag>
TimeoutInMinutes
integer
Triggers
ProjectTriggers
Visibility
string
VpcConfig
VpcConfig

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeBuild::Project

Resources:
  MyResource:
    Type: AWS::CodeBuild::Project
    Properties:
      Artifacts: "value"
      ServiceRole: "value"
      Environment: "value"
      Source: "value"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"
      Name: !Ref "AWS::StackName"

Get the CodeBuild Cheat Sheet

Everything you need to know about CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCodeBuild
Properties27
Required4
TaggingNot supported
Primary IDId

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Name

External Links