Class: Aws::CodeBuild::Types::ProjectCache

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codebuild/types.rb

Overview

Note:

When making an API call, you may pass ProjectCache data as a hash:

{
  type: "NO_CACHE", # required, accepts NO_CACHE, S3
  location: "String",
}

Information about the cache for the build project.

Instance Attribute Summary collapse

Instance Attribute Details

#locationString

Information about the cache location:

  • ‘NO_CACHE`: This value is ignored.

  • ‘S3`: This is the S3 bucket name/prefix.

Returns:

  • (String)


1769
1770
1771
1772
1773
# File 'lib/aws-sdk-codebuild/types.rb', line 1769

class ProjectCache < Struct.new(
  :type,
  :location)
  include Aws::Structure
end

#typeString

The type of cache used by the build project. Valid values include:

  • ‘NO_CACHE`: The build project does not use any cache.

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

Returns:

  • (String)


1769
1770
1771
1772
1773
# File 'lib/aws-sdk-codebuild/types.rb', line 1769

class ProjectCache < Struct.new(
  :type,
  :location)
  include Aws::Structure
end