You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/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, as follows:

  • NO_CACHE: This value will be ignored.

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

Returns:

  • (String)


1296
1297
1298
1299
1300
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1296

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 will not use any cache.

  • S3: The build project will read and write from/to S3.

Returns:

  • (String)


1296
1297
1298
1299
1300
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1296

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