Interface CfnProject.IProjectCacheProperty
ProjectCache
is a property of the AWS CodeBuild Project resource that specifies information about the cache for the build project. If ProjectCache
is not specified, then both of its properties default to NO_CACHE
.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IProjectCacheProperty
Syntax (vb)
Public Interface IProjectCacheProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
var projectCacheProperty = new ProjectCacheProperty {
Type = "type",
// the properties below are optional
Location = "location",
Modes = new [] { "modes" }
};
Synopsis
Properties
Location | Information about the cache location:. |
Modes | An array of strings that specify the local cache modes. |
Type | The type of cache used by the build project. Valid values include:. |
Properties
Location
Information about the cache location:.
virtual string Location { get; }
Property Value
System.String
Remarks
Modes
An array of strings that specify the local cache modes.
virtual string[] Modes { get; }
Property Value
System.String[]
Remarks
You can use one or more local cache modes at the same time. This is only used for LOCAL
cache types.
Possible values are:
Type
The type of cache used by the build project. Valid values include:.
string Type { get; }
Property Value
System.String