@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.546Z") @Stability(value=Stable) public interface DockerImageAssetInvalidationOptions extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerImageAssetInvalidationOptions.Builder
A builder for
DockerImageAssetInvalidationOptions |
static class |
DockerImageAssetInvalidationOptions.Jsii$Proxy
An implementation for
DockerImageAssetInvalidationOptions |
| Modifier and Type | Method and Description |
|---|---|
static DockerImageAssetInvalidationOptions.Builder |
builder() |
default Boolean |
getBuildArgs()
Use `buildArgs` while calculating the asset hash.
|
default Boolean |
getExtraHash()
Use `extraHash` while calculating the asset hash.
|
default Boolean |
getFile()
Use `file` while calculating the asset hash.
|
default Boolean |
getNetworkMode()
Use `networkMode` while calculating the asset hash.
|
default Boolean |
getPlatform()
Use `platform` while calculating the asset hash.
|
default Boolean |
getRepositoryName()
Use `repositoryName` while calculating the asset hash.
|
default Boolean |
getTarget()
Use `target` while calculating the asset hash.
|
@Stability(value=Stable) @Nullable default Boolean getBuildArgs()
Default: true
@Stability(value=Stable) @Nullable default Boolean getExtraHash()
Default: true
@Stability(value=Stable) @Nullable default Boolean getFile()
Default: true
@Stability(value=Stable) @Nullable default Boolean getNetworkMode()
Default: true
@Stability(value=Stable) @Nullable default Boolean getPlatform()
Default: true
@Stability(value=Stable) @Nullable default Boolean getRepositoryName()
Default: true
@Stability(value=Stable) @Nullable default Boolean getTarget()
Default: true
@Stability(value=Stable) static DockerImageAssetInvalidationOptions.Builder builder()
Copyright © 2022. All rights reserved.