Interface DockerImageAssetInvalidationOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerImageAssetInvalidationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:42.514Z")
@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
UsebuildSecrets
while calculating the asset hash.default Boolean
UsebuildSsh
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
Useoutputs
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
-
getBuildSecrets
UsebuildSecrets
while calculating the asset hash.Default: true
-
getBuildSsh
UsebuildSsh
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
-
getOutputs
Useoutputs
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
-