Class DockerImageAssetProps.Jsii$Proxy
- All Implemented Interfaces:
CopyOptions
,FingerprintOptions
,FileCopyOptions
,FileFingerprintOptions
,DockerImageAssetOptions
,DockerImageAssetProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DockerImageAssetProps
DockerImageAssetProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecr.assets.DockerImageAssetProps
DockerImageAssetProps.Builder, DockerImageAssetProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(DockerImageAssetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerImageAssetProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
Build args to pass to thedocker build
command.final String
The directory where the Dockerfile is stored.(deprecated) Glob patterns to exclude from the copy.final String
(deprecated) Extra information to encode into the fingerprint (e.g.final String
getFile()
Path to the Dockerfile (relative to the directory).final FollowMode
(deprecated) A strategy for how to handle symlinks.final SymlinkFollowMode
A strategy for how to handle symlinks.final IgnoreMode
(deprecated) The ignore behavior to use for exclude patterns.Options to control which parameters are used to invalidate the asset hash.final NetworkMode
Networking mode for the RUN commands during build.final Platform
Platform to build for.final String
(deprecated) ECR repository name.final String
Docker target to build to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theDockerImageAssetProps.Builder
.
-
-
Method Details
-
getDirectory
Description copied from interface:DockerImageAssetProps
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
- Specified by:
getDirectory
in interfaceDockerImageAssetProps
-
getBuildArgs
Description copied from interface:DockerImageAssetOptions
Build args to pass to thedocker build
command.Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as
lambda.functionArn
orqueue.queueUrl
).Default: - no build args are passed
- Specified by:
getBuildArgs
in interfaceDockerImageAssetOptions
-
getFile
Description copied from interface:DockerImageAssetOptions
Path to the Dockerfile (relative to the directory).Default: 'Dockerfile'
- Specified by:
getFile
in interfaceDockerImageAssetOptions
-
getInvalidation
Description copied from interface:DockerImageAssetOptions
Options to control which parameters are used to invalidate the asset hash.Default: - hash all parameters
- Specified by:
getInvalidation
in interfaceDockerImageAssetOptions
-
getNetworkMode
Description copied from interface:DockerImageAssetOptions
Networking mode for the RUN commands during build.Support docker API 1.25+.
Default: - no networking mode specified (the default networking mode `NetworkMode.DEFAULT` will be used)
- Specified by:
getNetworkMode
in interfaceDockerImageAssetOptions
-
getPlatform
Description copied from interface:DockerImageAssetOptions
Platform to build for.Requires Docker Buildx.
Default: - no platform specified (the current machine architecture will be used)
- Specified by:
getPlatform
in interfaceDockerImageAssetOptions
-
getRepositoryName
Description copied from interface:DockerImageAssetOptions
(deprecated) ECR repository name.Specify this property if you need to statically address the image, e.g. from a Kubernetes Pod. Note, this is only the repository name, without the registry and the tag parts.
Default: - the default ECR repository for CDK assets
- Specified by:
getRepositoryName
in interfaceDockerImageAssetOptions
-
getTarget
Description copied from interface:DockerImageAssetOptions
Docker target to build to.Default: - no target
- Specified by:
getTarget
in interfaceDockerImageAssetOptions
-
getExtraHash
Description copied from interface:DockerImageAssetOptions
(deprecated) Extra information to encode into the fingerprint (e.g. build instructions and other inputs).Default: - hash is only based on source content
- Specified by:
getExtraHash
in interfaceDockerImageAssetOptions
- Specified by:
getExtraHash
in interfaceFileFingerprintOptions
- Specified by:
getExtraHash
in interfaceFingerprintOptions
-
getExclude
Description copied from interface:DockerImageAssetOptions
(deprecated) Glob patterns to exclude from the copy.Default: nothing is excluded
- Specified by:
getExclude
in interfaceCopyOptions
- Specified by:
getExclude
in interfaceDockerImageAssetOptions
- Specified by:
getExclude
in interfaceFileCopyOptions
-
getFollow
Description copied from interface:CopyOptions
(deprecated) A strategy for how to handle symlinks.Default: Never
- Specified by:
getFollow
in interfaceCopyOptions
-
getIgnoreMode
Description copied from interface:DockerImageAssetOptions
(deprecated) The ignore behavior to use for exclude patterns.Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the '
- Specified by:
getIgnoreMode
in interfaceCopyOptions
- Specified by:
getIgnoreMode
in interfaceDockerImageAssetOptions
- Specified by:
getIgnoreMode
in interfaceFileCopyOptions
-
getFollowSymlinks
Description copied from interface:FileCopyOptions
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
- Specified by:
getFollowSymlinks
in interfaceFileCopyOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-