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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDockerImageAssetInvalidationOptionsstatic final classAn implementation forDockerImageAssetInvalidationOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default BooleanUsebuildArgswhile calculating the asset hash.default BooleanUseextraHashwhile calculating the asset hash.default BooleangetFile()Usefilewhile calculating the asset hash.default BooleanUsenetworkModewhile calculating the asset hash.default BooleanUseplatformwhile calculating the asset hash.default BooleanUserepositoryNamewhile calculating the asset hash.default BooleanUsetargetwhile calculating the asset hash.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBuildArgs
UsebuildArgswhile calculating the asset hash.Default: true
-
getExtraHash
UseextraHashwhile calculating the asset hash.Default: true
-
getFile
Usefilewhile calculating the asset hash.Default: true
-
getNetworkMode
UsenetworkModewhile calculating the asset hash.Default: true
-
getPlatform
Useplatformwhile calculating the asset hash.Default: true
-
getRepositoryName
UserepositoryNamewhile calculating the asset hash.Default: true
-
getTarget
Usetargetwhile calculating the asset hash.Default: true
-
builder
-