Interface AssetImageProps
- All Superinterfaces:
CopyOptions
,DockerImageAssetOptions
,FileCopyOptions
,FileFingerprintOptions
,FingerprintOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssetImageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.005Z")
@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.assets.*; import software.amazon.awscdk.services.ecr.assets.*; import software.amazon.awscdk.services.ecs.*; import software.amazon.awscdk.core.*; NetworkMode networkMode; Platform platform; AssetImageProps assetImageProps = AssetImageProps.builder() .buildArgs(Map.of( "buildArgsKey", "buildArgs")) .exclude(List.of("exclude")) .extraHash("extraHash") .file("file") .follow(FollowMode.NEVER) .followSymlinks(SymlinkFollowMode.NEVER) .ignoreMode(IgnoreMode.GLOB) .invalidation(DockerImageAssetInvalidationOptions.builder() .buildArgs(false) .extraHash(false) .file(false) .networkMode(false) .platform(false) .repositoryName(false) .target(false) .build()) .networkMode(networkMode) .platform(platform) .repositoryName("repositoryName") .target("target") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAssetImageProps
static final class
An implementation forAssetImageProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.assets.CopyOptions
getFollow
Methods inherited from interface software.amazon.awscdk.services.ecr.assets.DockerImageAssetOptions
getBuildArgs, getExclude, getExtraHash, getFile, getIgnoreMode, getInvalidation, getNetworkMode, getPlatform, getRepositoryName, getTarget
Methods inherited from interface software.amazon.awscdk.core.FileCopyOptions
getFollowSymlinks
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
- Returns:
- a
AssetImageProps.Builder
ofAssetImageProps
-