@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:52.442Z") @Stability(value=Experimental) public abstract class Cache extends software.amazon.jsii.JsiiObject
A cache can store reusable pieces of your build environment and use them across multiple builds.
https://docs.aws.amazon.com/codebuild/latest/userguide/build-caching.html| Modifier | Constructor and Description |
|---|---|
protected |
Cache() |
protected |
Cache(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Cache(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Cache |
bucket(IBucket bucket)
(experimental) Create an S3 caching strategy.
|
static Cache |
bucket(IBucket bucket,
BucketCacheOptions options)
(experimental) Create an S3 caching strategy.
|
static Cache |
local(LocalCacheMode... modes)
(experimental) Create a local caching strategy.
|
static Cache |
none() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Cache(software.amazon.jsii.JsiiObjectRef objRef)
protected Cache(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected Cache()
@Stability(value=Experimental) @NotNull public static Cache bucket(@NotNull IBucket bucket, @Nullable BucketCacheOptions options)
bucket - the S3 bucket to use for caching. This parameter is required.options - additional options to pass to the S3 caching.@Stability(value=Experimental) @NotNull public static Cache bucket(@NotNull IBucket bucket)
bucket - the S3 bucket to use for caching. This parameter is required.@Stability(value=Experimental) @NotNull public static Cache local(@NotNull LocalCacheMode... modes)
modes - the mode(s) to enable for local caching. This parameter is required.@Stability(value=Experimental) @NotNull public static Cache none()
Copyright © 2021. All rights reserved.