Interface DockerImageAssetProps
- All Superinterfaces:
DockerImageAssetOptions
,FileCopyOptions
,FileFingerprintOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerImageAssetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:15.915Z")
@Stability(Stable)
public interface DockerImageAssetProps
extends software.amazon.jsii.JsiiSerializable, DockerImageAssetOptions
Props for DockerImageAssets.
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 class
A builder forDockerImageAssetProps
static final class
An implementation forDockerImageAssetProps
-
Method Summary
Methods 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
-
getDirectory
The directory where the Dockerfile is stored.Any directory inside with a name that matches the CDK output folder (cdk.out by default) will be excluded from the asset
-
builder
- Returns:
- a
DockerImageAssetProps.Builder
ofDockerImageAssetProps
-