Class ContainerOptions.Jsii$Proxy

    • 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.
    • Method Detail

      • getImage

        public final String getImage()
        Description copied from interface: ContainerOptions
        (experimental) The Docker image to use as the container to run the action.

        The value can be the Docker Hub image name or a registry name.

        Specified by:
        getImage in interface ContainerOptions
      • getCredentials

        public final ContainerCredentials getCredentials()
        Description copied from interface: ContainerOptions
        (experimental) f the image's container registry requires authentication to pull the image, you can use credentials to set a map of the username and password.

        The credentials are the same values that you would provide to the docker login command.

        Specified by:
        getCredentials in interface ContainerOptions
      • getVolumes

        public final List<String> getVolumes()
        Description copied from interface: ContainerOptions
        (experimental) Sets an array of volumes for the container to use.

        You can use volumes to share data between services or other steps in a job. You can specify named Docker volumes, anonymous Docker volumes, or bind mounts on the host.

        To specify a volume, you specify the source and destination path: <source>:<destinationPath>.

        Specified by:
        getVolumes in interface ContainerOptions
      • $jsii$toJson

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

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