Host¶
-
class
aws_cdk.aws_ecs.
Host
(*, source_path=None)¶ Bases:
object
The details on a container instance bind mount host volume.
- Parameters
source_path (
Optional
[str
]) – 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.
Attributes
-
source_path
¶ 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.
- Return type
Optional
[str
]