@Stability(value=Stable) @Internal public static final class CfnProject.ProjectCacheProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnProject.ProjectCacheProperty
CfnProject.ProjectCachePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnProject.ProjectCacheProperty.Builder, CfnProject.ProjectCacheProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnProject.ProjectCacheProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnProject.ArtifactsProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getLocation()
Information about the cache location:.
|
List<String> |
getModes()
An array of strings that specify the local cache modes.
|
String |
getType()
The type of cache used by the build project.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnProject.ProjectCacheProperty.Builder builder)
CfnProject.ArtifactsProperty.Builder.public final String getType()
CfnProject.ProjectCacheProperty
NO_CACHE : The build project does not use any cache.S3 : The build project reads and writes from and to S3.LOCAL : The build project stores a cache locally on a build host that is only available to that build host.getType in interface CfnProject.ProjectCachePropertypublic final String getLocation()
CfnProject.ProjectCacheProperty
NO_CACHE or LOCAL : This value is ignored.S3 : This is the S3 bucket name/prefix.getLocation in interface CfnProject.ProjectCachePropertypublic final List<String> getModes()
CfnProject.ProjectCacheProperty
You can use one or more local cache modes at the same time. This is only used for LOCAL cache types.
Possible values are:
- You can use a Docker layer cache in the Linux environment only.
- The
privilegedflag must be set so that your project has the required Docker permissions.- You should consider the security implications before you use a Docker layer cache.
getModes in interface CfnProject.ProjectCacheProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.