Interface Host

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Host.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.378Z") @Stability(Stable) public interface Host extends software.amazon.jsii.JsiiSerializable
The details on a container instance bind mount host volume.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 Host host = Host.builder()
         .sourcePath("sourcePath")
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Host
    static final class 
    An implementation for Host
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default String
    Specifies the path on the host container instance that is presented to the container.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getSourcePath

      @Stability(Stable) @Nullable default String getSourcePath()
      Specifies the path on the host container instance that is presented to the container.

      If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

      This property is not supported for tasks that use the Fargate launch type.

    • builder

      @Stability(Stable) static Host.Builder builder()
      Returns:
      a Host.Builder of Host