Class ContainerImageAssetMetadataEntry.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.amazon.awscdk.cloudassembly.schema.ContainerImageAssetMetadataEntry.Jsii$Proxy
-
- All Implemented Interfaces:
ContainerImageAssetMetadataEntry,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ContainerImageAssetMetadataEntry
@Stability(Stable) @Internal public static final class ContainerImageAssetMetadataEntry.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerImageAssetMetadataEntry
An implementation forContainerImageAssetMetadataEntry
-
-
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.cloudassembly.schema.ContainerImageAssetMetadataEntry
ContainerImageAssetMetadataEntry.Builder, ContainerImageAssetMetadataEntry.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ContainerImageAssetMetadataEntry.Builder builder)Constructor that initializes the object based on literal property values passed by theContainerImageAssetMetadataEntry.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)Map<String,String>getBuildArgs()Build args to pass to thedocker buildcommand.Map<String,String>getBuildSecrets()Build secrets to pass to thedocker buildcommand.StringgetBuildSsh()SSH agent socket or keys to pass to thedocker buildcommand.BooleangetCacheDisabled()Disable the cache and pass--no-cacheto thedocker buildcommand.List<ContainerImageAssetCacheOption>getCacheFrom()Cache from options to pass to thedocker buildcommand.ContainerImageAssetCacheOptiongetCacheTo()Cache to options to pass to thedocker buildcommand.StringgetFile()Path to the Dockerfile (relative to the directory).StringgetId()Logical identifier for the asset.StringgetImageNameParameter()(deprecated) ECR Repository name and repo digest (separated by "@sha256:") where this image is stored.StringgetImageTag()The docker image tag to use for tagging pushed images.StringgetNetworkMode()Networking mode for the RUN commands during build.List<String>getOutputs()Outputs to pass to thedocker buildcommand.StringgetPackaging()Type of asset.StringgetPath()Path on disk to the asset.StringgetPlatform()Platform to build for.StringgetRepositoryName()ECR repository name, if omitted a default name based on the asset's ID is used instead.StringgetSourceHash()The hash of the asset source.StringgetTarget()Docker target to build to.inthashCode()
-
-
-
Constructor Detail
-
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
protected Jsii$Proxy(ContainerImageAssetMetadataEntry.Builder builder)
Constructor that initializes the object based on literal property values passed by theContainerImageAssetMetadataEntry.Builder.
-
-
Method Detail
-
getId
public final String getId()
Description copied from interface:ContainerImageAssetMetadataEntryLogical identifier for the asset.- Specified by:
getIdin interfaceContainerImageAssetMetadataEntry
-
getPackaging
public final String getPackaging()
Description copied from interface:ContainerImageAssetMetadataEntryType of asset.- Specified by:
getPackagingin interfaceContainerImageAssetMetadataEntry
-
getPath
public final String getPath()
Description copied from interface:ContainerImageAssetMetadataEntryPath on disk to the asset.- Specified by:
getPathin interfaceContainerImageAssetMetadataEntry
-
getSourceHash
public final String getSourceHash()
Description copied from interface:ContainerImageAssetMetadataEntryThe hash of the asset source.- Specified by:
getSourceHashin interfaceContainerImageAssetMetadataEntry
-
getBuildArgs
public final Map<String,String> getBuildArgs()
Description copied from interface:ContainerImageAssetMetadataEntryBuild args to pass to thedocker buildcommand.Default: no build args are passed
- Specified by:
getBuildArgsin interfaceContainerImageAssetMetadataEntry
-
getBuildSecrets
public final Map<String,String> getBuildSecrets()
Description copied from interface:ContainerImageAssetMetadataEntryBuild secrets to pass to thedocker buildcommand.Default: no build secrets are passed
- Specified by:
getBuildSecretsin interfaceContainerImageAssetMetadataEntry
-
getBuildSsh
public final String getBuildSsh()
Description copied from interface:ContainerImageAssetMetadataEntrySSH agent socket or keys to pass to thedocker buildcommand.Default: no ssh arg is passed
- Specified by:
getBuildSshin interfaceContainerImageAssetMetadataEntry
-
getCacheDisabled
public final Boolean getCacheDisabled()
Description copied from interface:ContainerImageAssetMetadataEntryDisable the cache and pass--no-cacheto thedocker buildcommand.Default: - cache is used
- Specified by:
getCacheDisabledin interfaceContainerImageAssetMetadataEntry
-
getCacheFrom
public final List<ContainerImageAssetCacheOption> getCacheFrom()
Description copied from interface:ContainerImageAssetMetadataEntryCache from options to pass to thedocker buildcommand.Default: - no cache from options are passed to the build command
- Specified by:
getCacheFromin interfaceContainerImageAssetMetadataEntry- See Also:
- https://docs.docker.com/build/cache/backends/
-
getCacheTo
public final ContainerImageAssetCacheOption getCacheTo()
Description copied from interface:ContainerImageAssetMetadataEntryCache to options to pass to thedocker buildcommand.Default: - no cache to options are passed to the build command
- Specified by:
getCacheToin interfaceContainerImageAssetMetadataEntry- See Also:
- https://docs.docker.com/build/cache/backends/
-
getFile
public final String getFile()
Description copied from interface:ContainerImageAssetMetadataEntryPath to the Dockerfile (relative to the directory).Default: - no file is passed
- Specified by:
getFilein interfaceContainerImageAssetMetadataEntry
-
getImageNameParameter
public final String getImageNameParameter()
Description copied from interface:ContainerImageAssetMetadataEntry(deprecated) ECR Repository name and repo digest (separated by "@sha256:") where this image is stored.Default: undefined If not specified, `repositoryName` and `imageTag` are required because otherwise how will the stack know where to find the asset, ha?
- Specified by:
getImageNameParameterin interfaceContainerImageAssetMetadataEntry
-
getImageTag
public final String getImageTag()
Description copied from interface:ContainerImageAssetMetadataEntryThe docker image tag to use for tagging pushed images.This field is required if
imageParameterNameis ommited (otherwise, the app won't be able to find the image).Default: - this parameter is REQUIRED after 1.21.0
- Specified by:
getImageTagin interfaceContainerImageAssetMetadataEntry
-
getNetworkMode
public final String getNetworkMode()
Description copied from interface:ContainerImageAssetMetadataEntryNetworking mode for the RUN commands during build.Default: - no networking mode specified
- Specified by:
getNetworkModein interfaceContainerImageAssetMetadataEntry
-
getOutputs
public final List<String> getOutputs()
Description copied from interface:ContainerImageAssetMetadataEntryOutputs to pass to thedocker buildcommand.Default: - no outputs are passed to the build command (default outputs are used)
- Specified by:
getOutputsin interfaceContainerImageAssetMetadataEntry- See Also:
- https://docs.docker.com/engine/reference/commandline/build/#custom-build-outputs
-
getPlatform
public final String getPlatform()
Description copied from interface:ContainerImageAssetMetadataEntryPlatform to build for.Requires Docker Buildx.
Default: - current machine platform
- Specified by:
getPlatformin interfaceContainerImageAssetMetadataEntry
-
getRepositoryName
public final String getRepositoryName()
Description copied from interface:ContainerImageAssetMetadataEntryECR repository name, if omitted a default name based on the asset's ID is used instead.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: - this parameter is REQUIRED after 1.21.0
- Specified by:
getRepositoryNamein interfaceContainerImageAssetMetadataEntry
-
getTarget
public final String getTarget()
Description copied from interface:ContainerImageAssetMetadataEntryDocker target to build to.Default: no build target
- Specified by:
getTargetin interfaceContainerImageAssetMetadataEntry
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-