Show / Hide Table of Contents

Interface CfnProjectPropsMixin.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.CfnPropertyMixins.AWS.CodeBuild
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnProjectPropsMixin.IProjectCacheProperty
Syntax (vb)
Public Interface CfnProjectPropsMixin.IProjectCacheProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html

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.CfnPropertyMixins.AWS.CodeBuild;

             var projectCacheProperty = new ProjectCacheProperty {
                 CacheNamespace = "cacheNamespace",
                 Location = "location",
                 Modes = new [] { "modes" },
                 Type = "type"
             };

Synopsis

Properties

CacheNamespace

Defines the scope of the cache.

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

CacheNamespace

Defines the scope of the cache.

string? CacheNamespace { get; }
Property Value

string

Remarks

You can use this namespace to share a cache across multiple projects. For more information, see Cache sharing between projects in the AWS CodeBuild User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-cachenamespace

Location

Information about the cache location:.

string? Location { get; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-location

    Modes

    An array of strings that specify the local cache modes.

    string[]? Modes { get; }
    Property Value

    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:

      <ul></ul>
      

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-modes

        Type

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

        string? Type { get; }
        Property Value

        string

        Remarks

          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-type

          Back to top Generated by DocFX