AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS CodeBuild Project ProjectCache

The ProjectCache property type specifies settings that AWS CodeBuild uses to store and reuse build dependencies.

ProjectCache is the property type for the Cache property of the AWS::CodeBuild::Project resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Location" : String, "Type" : String }

YAML

Location: String Type: String

Properties

Location

The Amazon S3 bucket name and prefix—for example, mybucket/prefix. This value is ignored when Type is set to NO_CACHE.

Required: No

Type: String

Update requires: No interruption

Type

The type of cache for the build project to use. Valid values are:

  • NO_CACHE: The build project doesn't use any cache.

  • S3: The build project reads from and writes to Amazon S3.

Required: Yes

Type: String

Update requires: No interruption

See Also

On this page: