Interface DockerImageAssetInvalidationOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerImageAssetInvalidationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.984Z")
@Stability(Stable)
public interface DockerImageAssetInvalidationOptions
extends software.amazon.jsii.JsiiSerializable
Options to control invalidation of
DockerImageAsset
asset hashes.
Example:
import software.amazon.awscdk.services.ecr.assets.DockerImageAsset; DockerImageAsset asset = DockerImageAsset.Builder.create(this, "MyBuildImage") .directory(join(__dirname, "my-image")) .buildArgs(Map.of( "HTTP_PROXY", "http://10.20.30.2:1234")) .invalidation(DockerImageAssetInvalidationOptions.builder() .buildArgs(false) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDockerImageAssetInvalidationOptions
static final class
An implementation forDockerImageAssetInvalidationOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Boolean
UsebuildArgs
while calculating the asset hash.default Boolean
UseextraHash
while calculating the asset hash.default Boolean
getFile()
Usefile
while calculating the asset hash.default Boolean
UsenetworkMode
while calculating the asset hash.default Boolean
Useplatform
while calculating the asset hash.default Boolean
UserepositoryName
while calculating the asset hash.default Boolean
Usetarget
while calculating the asset hash.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBuildArgs
UsebuildArgs
while calculating the asset hash.Default: true
-
getExtraHash
UseextraHash
while calculating the asset hash.Default: true
-
getFile
Usefile
while calculating the asset hash.Default: true
-
getNetworkMode
UsenetworkMode
while calculating the asset hash.Default: true
-
getPlatform
Useplatform
while calculating the asset hash.Default: true
-
getRepositoryName
UserepositoryName
while calculating the asset hash.Default: true
-
getTarget
Usetarget
while calculating the asset hash.Default: true
-
builder
-