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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cloudassembly.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 StringThe directory containing the Docker image build instructions.Additional build arguments.final StringTarget build stage in a Dockerfile with multiple build stages.final StringThe 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 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
-
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
-
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
-
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()
-