Interface Host
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Host.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:18.659Z")
@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 -
Method Summary
Modifier and TypeMethodDescriptionstatic Host.Builder
builder()
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
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
- Returns:
- a
Host.Builder
ofHost
-