Class DockerImageSource.Jsii$Proxy
- All Implemented Interfaces:
DockerImageSource,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DockerImageSource
DockerImageSource-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cloud_assembly_schema.DockerImageSource
DockerImageSource.Builder, DockerImageSource.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DockerImageSource.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerImageSource.Builder.protectedJsii$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.JsonNodefinal booleanfinal BooleanDisable the cache and pass--no-cacheto thedocker buildcommand.final List<DockerCacheOption> Cache from options to pass to thedocker buildcommand.final DockerCacheOptionCache to options to pass to thedocker buildcommand.final StringThe directory containing the Docker image build instructions.Additional build arguments.Additional build secrets.final StringSSH agent socket or keys.final StringTarget build stage in a Dockerfile with multiple build stages.final StringThe name of the file with build instructions.Outputs.A command-line executable that returns the name of a local Docker image on stdout after being run.final StringNetworking mode for the RUN commands during build.final StringPlatform to build for.final inthashCode()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 theDockerImageSource.Builder.
-
-
Method Details
-
getCacheDisabled
Description copied from interface:DockerImageSourceDisable the cache and pass--no-cacheto thedocker buildcommand.Default: - cache is used
- Specified by:
getCacheDisabledin interfaceDockerImageSource
-
getCacheFrom
Description copied from interface:DockerImageSourceCache from options to pass to thedocker buildcommand.Default: - no cache from options are passed to the build command
- Specified by:
getCacheFromin interfaceDockerImageSource- See Also:
-
getCacheTo
Description copied from interface:DockerImageSourceCache to options to pass to thedocker buildcommand.Default: - no cache to options are passed to the build command
- Specified by:
getCacheToin interfaceDockerImageSource- See Also:
-
getDirectory
Description copied from interface:DockerImageSourceThe directory containing the Docker image build instructions.This path is relative to the asset manifest location.
Default: - Exactly one of `directory` and `executable` is required
- Specified by:
getDirectoryin interfaceDockerImageSource
-
getDockerBuildArgs
Description copied from interface:DockerImageSourceAdditional build arguments.Only allowed when
directoryis set.Default: - No additional build arguments
- Specified by:
getDockerBuildArgsin interfaceDockerImageSource
-
getDockerBuildSecrets
Description copied from interface:DockerImageSourceAdditional build secrets.Only allowed when
directoryis set.Default: - No additional build secrets
- Specified by:
getDockerBuildSecretsin interfaceDockerImageSource
-
getDockerBuildSsh
Description copied from interface:DockerImageSourceSSH agent socket or keys.Requires building with docker buildkit.
Default: - No ssh flag is set
- Specified by:
getDockerBuildSshin interfaceDockerImageSource
-
getDockerBuildTarget
Description copied from interface:DockerImageSourceTarget build stage in a Dockerfile with multiple build stages.Only allowed when
directoryis set.Default: - The last stage in the Dockerfile
- Specified by:
getDockerBuildTargetin interfaceDockerImageSource
-
getDockerFile
Description copied from interface:DockerImageSourceThe name of the file with build instructions.Only allowed when
directoryis set.Default: "Dockerfile"
- Specified by:
getDockerFilein interfaceDockerImageSource
-
getDockerOutputs
Description copied from interface:DockerImageSourceOutputs.Default: - no outputs are passed to the build command (default outputs are used)
- Specified by:
getDockerOutputsin interfaceDockerImageSource- See Also:
-
getExecutable
Description copied from interface:DockerImageSourceA command-line executable that returns the name of a local Docker image on stdout after being run.Default: - Exactly one of `directory` and `executable` is required
- Specified by:
getExecutablein interfaceDockerImageSource
-
getNetworkMode
Description copied from interface:DockerImageSourceNetworking mode for the RUN commands during build. Requires Docker Engine API v1.25+.Specify this property to build images on a specific networking mode.
Default: - no networking mode specified
- Specified by:
getNetworkModein interfaceDockerImageSource
-
getPlatform
Description copied from interface:DockerImageSourcePlatform to build for. Requires Docker Buildx.Specify this property to build images on a specific platform/architecture.
Default: - current machine platform
- Specified by:
getPlatformin interfaceDockerImageSource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-