Interface ContainerImageAssetCacheOption
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ContainerImageAssetCacheOption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.771Z") @Stability(Stable) public interface ContainerImageAssetCacheOption extends software.amazon.jsii.JsiiSerializable
Options for configuring the Docker cache backend.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContainerImageAssetCacheOption.BuilderA builder forContainerImageAssetCacheOptionstatic classContainerImageAssetCacheOption.Jsii$ProxyAn implementation forContainerImageAssetCacheOption
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ContainerImageAssetCacheOption.Builderbuilder()default Map<String,String>getParams()Any parameters to pass into the docker cache backend configuration.StringgetType()The type of cache to use.
-
-
-
Method Detail
-
getType
@Stability(Stable) @NotNull String getType()
The type of cache to use.Refer to https://docs.docker.com/build/cache/backends/ for full list of backends.
Default: - unspecified
Example:
"registry";
-
getParams
@Stability(Stable) @Nullable default Map<String,String> getParams()
Any parameters to pass into the docker cache backend configuration.Refer to https://docs.docker.com/build/cache/backends/ for cache backend configuration.
Default: {} No options provided
Example:
String branch; Map<String, Object> params = Map.of( "ref", String.format("12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%s", branch), "mode", "max");
-
builder
@Stability(Stable) static ContainerImageAssetCacheOption.Builder builder()
-
-