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
  • 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

      protected Jsii$Proxy(DockerImageSource.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DockerImageSource.Builder.
  • Method Details

    • getDirectory

      public final String 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 interface DockerImageSource
    • getDockerBuildArgs

      public final Map<String,String> getDockerBuildArgs()
      Description copied from interface: DockerImageSource
      Additional build arguments.

      Only allowed when directory is set.

      Default: - No additional build arguments

      Specified by:
      getDockerBuildArgs in interface DockerImageSource
    • getDockerBuildTarget

      public final String 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 interface DockerImageSource
    • getDockerFile

      public final String 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 interface DockerImageSource
    • getExecutable

      public final List<String> 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 interface DockerImageSource
    • getNetworkMode

      public final String 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 interface DockerImageSource
    • getPlatform

      public final String 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 interface DockerImageSource
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object