Interface IDevEnvironment

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addDockerImage​(DevEnvironmentDockerImage image)
      (experimental) Add a custom Docker image or Dockerfile for the container.
      void addPorts​(@NotNull String... ports)
      (experimental) Adds ports that should be exposed (forwarded) from the container.
      void addTasks​(@NotNull Task... tasks)
      (experimental) Adds tasks to run when the container starts.
      void addVscodeExtensions​(@NotNull String... extensions)
      (experimental) Adds a list of VSCode extensions that should be automatically installed in the container.
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Method Detail

      • addDockerImage

        @Stability(Experimental)
        void addDockerImage​(@NotNull
                            DevEnvironmentDockerImage image)
        (experimental) Add a custom Docker image or Dockerfile for the container.

        Parameters:
        image - The Docker image. This parameter is required.
      • addPorts

        @Stability(Experimental)
        void addPorts​(@NotNull
                      @NotNull String... ports)
        (experimental) Adds ports that should be exposed (forwarded) from the container.

        Parameters:
        ports - The new ports. This parameter is required.
      • addTasks

        @Stability(Experimental)
        void addTasks​(@NotNull
                      @NotNull Task... tasks)
        (experimental) Adds tasks to run when the container starts.

        Parameters:
        tasks - The new tasks. This parameter is required.
      • addVscodeExtensions

        @Stability(Experimental)
        void addVscodeExtensions​(@NotNull
                                 @NotNull String... extensions)
        (experimental) Adds a list of VSCode extensions that should be automatically installed in the container.

        Parameters:
        extensions - The extension IDs. This parameter is required.