Class AssetImageProps.Jsii$Proxy
- All Implemented Interfaces:
FileCopyOptions
,FileFingerprintOptions
,DockerImageAssetOptions
,AssetImageProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AssetImageProps
AssetImageProps
-
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.ecs.AssetImageProps
AssetImageProps.Builder, AssetImageProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(AssetImageProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAssetImageProps.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
final String
Unique identifier of the docker image asset and its potential revisions.Build args to pass to thedocker build
command.Build secrets.final String
SSH agent socket or keys to pass to thedocker build
command.final Boolean
Disable the cache and pass--no-cache
to thedocker build
command.final List<DockerCacheOption>
Cache from options to pass to thedocker build
command.final DockerCacheOption
Cache to options to pass to thedocker build
command.File paths matching the patterns will be excluded.final String
Extra information to encode into the fingerprint (e.g.final String
getFile()
Path to the Dockerfile (relative to the directory).final SymlinkFollowMode
A strategy for how to handle symlinks.final IgnoreMode
The ignore behavior to use forexclude
patterns.Options to control which parameters are used to invalidate the asset hash.final NetworkMode
Networking mode for the RUN commands during build.Outputs to pass to thedocker build
command.final Platform
Platform to build for.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 theAssetImageProps.Builder
.
-
-
Method Details
-
getAssetName
Description copied from interface:DockerImageAssetOptions
Unique identifier of the docker image asset and its potential revisions.Required if using AppScopedStagingSynthesizer.
Default: - no asset name
- Specified by:
getAssetName
in interfaceDockerImageAssetOptions
-
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
-
getBuildSecrets
Description copied from interface:DockerImageAssetOptions
Build secrets.Docker BuildKit must be enabled to use build secrets.
Default: - no build secrets
Example:
import software.amazon.awscdk.DockerBuildSecret; Map<String, String> buildSecrets = Map.of( "MY_SECRET", DockerBuildSecret.fromSrc("file.txt"));
- Specified by:
getBuildSecrets
in interfaceDockerImageAssetOptions
- See Also:
-
getBuildSsh
Description copied from interface:DockerImageAssetOptions
SSH agent socket or keys to pass to thedocker build
command.Docker BuildKit must be enabled to use the ssh flag
Default: - no --ssh flag
- Specified by:
getBuildSsh
in interfaceDockerImageAssetOptions
- See Also:
-
getCacheDisabled
Description copied from interface:DockerImageAssetOptions
Disable the cache and pass--no-cache
to thedocker build
command.Default: - cache is used
- Specified by:
getCacheDisabled
in interfaceDockerImageAssetOptions
-
getCacheFrom
Description copied from interface:DockerImageAssetOptions
Cache from options to pass to thedocker build
command.Default: - no cache from options are passed to the build command
- Specified by:
getCacheFrom
in interfaceDockerImageAssetOptions
- See Also:
-
getCacheTo
Description copied from interface:DockerImageAssetOptions
Cache to options to pass to thedocker build
command.Default: - no cache to options are passed to the build command
- Specified by:
getCacheTo
in interfaceDockerImageAssetOptions
- See Also:
-
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
-
getOutputs
Description copied from interface:DockerImageAssetOptions
Outputs to pass to thedocker build
command.Default: - no outputs are passed to the build command (default outputs are used)
- Specified by:
getOutputs
in interfaceDockerImageAssetOptions
- See Also:
-
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
-
getTarget
Description copied from interface:DockerImageAssetOptions
Docker target to build to.Default: - no target
- Specified by:
getTarget
in interfaceDockerImageAssetOptions
-
getExtraHash
Description copied from interface:FileFingerprintOptions
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 interfaceFileFingerprintOptions
-
getExclude
Description copied from interface:FileCopyOptions
File paths matching the patterns will be excluded.See
ignoreMode
to set the matching behavior. Has no effect on Assets bundled using thebundling
property.Default: - nothing is excluded
- Specified by:
getExclude
in interfaceFileCopyOptions
-
getFollowSymlinks
Description copied from interface:FileCopyOptions
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
- Specified by:
getFollowSymlinks
in interfaceFileCopyOptions
-
getIgnoreMode
Description copied from interface:FileCopyOptions
The ignore behavior to use forexclude
patterns.Default: IgnoreMode.GLOB
- Specified by:
getIgnoreMode
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()
-