/AWS1/CL_ECSHOSTVOLUMEPRPS¶
Details on a container instance bind mount host volume.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_sourcepath TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
When the
hostparameter is used, specify asourcePathto declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If thehostparameter contains asourcePathfile location, then the data volume persists at the specified location on the host container instance until you delete it manually. If thesourcePathvalue doesn't 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.If you're using the Fargate launch type, the
sourcePathparameter is not supported.
Queryable Attributes¶
sourcePath¶
When the
hostparameter is used, specify asourcePathto declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If thehostparameter contains asourcePathfile location, then the data volume persists at the specified location on the host container instance until you delete it manually. If thesourcePathvalue doesn't 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.If you're using the Fargate launch type, the
sourcePathparameter is not supported.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCEPATH() |
Getter for SOURCEPATH, with configurable default |
ASK_SOURCEPATH() |
Getter for SOURCEPATH w/ exceptions if field has no value |
HAS_SOURCEPATH() |
Determine if SOURCEPATH has a value |