Interface AssetImageProps
- All Superinterfaces:
DockerImageAssetOptions
,FileCopyOptions
,FileFingerprintOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssetImageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:15.959Z")
@Stability(Stable)
public interface AssetImageProps
extends software.amazon.jsii.JsiiSerializable, DockerImageAssetOptions
The properties for building an AssetImage.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.ecr.assets.*; import software.amazon.awscdk.services.ecs.*; NetworkMode networkMode; Platform platform; AssetImageProps assetImageProps = AssetImageProps.builder() .assetName("assetName") .buildArgs(Map.of( "buildArgsKey", "buildArgs")) .buildSecrets(Map.of( "buildSecretsKey", "buildSecrets")) .buildSsh("buildSsh") .cacheDisabled(false) .cacheFrom(List.of(DockerCacheOption.builder() .type("type") // the properties below are optional .params(Map.of( "paramsKey", "params")) .build())) .cacheTo(DockerCacheOption.builder() .type("type") // the properties below are optional .params(Map.of( "paramsKey", "params")) .build()) .exclude(List.of("exclude")) .extraHash("extraHash") .file("file") .followSymlinks(SymlinkFollowMode.NEVER) .ignoreMode(IgnoreMode.GLOB) .invalidation(DockerImageAssetInvalidationOptions.builder() .buildArgs(false) .buildSecrets(false) .buildSsh(false) .extraHash(false) .file(false) .networkMode(false) .outputs(false) .platform(false) .repositoryName(false) .target(false) .build()) .networkMode(networkMode) .outputs(List.of("outputs")) .platform(platform) .target("target") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forAssetImageProps
static final class
An implementation forAssetImageProps
-
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.ecr.assets.DockerImageAssetOptions
getAssetName, getBuildArgs, getBuildSecrets, getBuildSsh, getCacheDisabled, getCacheFrom, getCacheTo, getFile, getInvalidation, getNetworkMode, getOutputs, getPlatform, getTarget
Methods inherited from interface software.amazon.awscdk.FileCopyOptions
getExclude, getFollowSymlinks, getIgnoreMode
Methods inherited from interface software.amazon.awscdk.FileFingerprintOptions
getExtraHash
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
- Returns:
- a
AssetImageProps.Builder
ofAssetImageProps
-