Class DockerImageSource.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cloudassembly.schema.DockerImageSource.Jsii$Proxy
- All Implemented Interfaces:
DockerImageSource
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DockerImageSource
@Stability(Stable)
@Internal
public static final class DockerImageSource.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements DockerImageSource
An implementation for
DockerImageSource
-
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.DockerImageSource
DockerImageSource.Builder, DockerImageSource.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(DockerImageSource.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerImageSource.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
The directory containing the Docker image build instructions.Additional build arguments.final String
Target build stage in a Dockerfile with multiple build stages.final String
The name of the file with build instructions.A command-line executable that returns the name of a local Docker image on stdout after being run.final String
Networking mode for the RUN commands during build.final String
Platform to build for.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 theDockerImageSource.Builder
.
-
-
Method Details
-
getDirectory
Description copied from interface:DockerImageSource
The 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:
getDirectory
in interfaceDockerImageSource
-
getDockerBuildArgs
Description copied from interface:DockerImageSource
Additional build arguments.Only allowed when
directory
is set.Default: - No additional build arguments
- Specified by:
getDockerBuildArgs
in interfaceDockerImageSource
-
getDockerBuildTarget
Description copied from interface:DockerImageSource
Target build stage in a Dockerfile with multiple build stages.Only allowed when
directory
is set.Default: - The last stage in the Dockerfile
- Specified by:
getDockerBuildTarget
in interfaceDockerImageSource
-
getDockerFile
Description copied from interface:DockerImageSource
The name of the file with build instructions.Only allowed when
directory
is set.Default: "Dockerfile"
- Specified by:
getDockerFile
in interfaceDockerImageSource
-
getExecutable
Description copied from interface:DockerImageSource
A 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:
getExecutable
in interfaceDockerImageSource
-
getNetworkMode
Description copied from interface:DockerImageSource
Networking 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:
getNetworkMode
in interfaceDockerImageSource
-
getPlatform
Description copied from interface:DockerImageSource
Platform to build for. Requires Docker Buildx.Specify this property to build images on a specific platform/architecture.
Default: - current machine platform
- Specified by:
getPlatform
in interfaceDockerImageSource
-
$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()
-