/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
host
parameter is used, specify asourcePath
to 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 thehost
parameter contains asourcePath
file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If thesourcePath
value 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
sourcePath
parameter is not supported.
Queryable Attributes¶
sourcePath¶
When the
host
parameter is used, specify asourcePath
to 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 thehost
parameter contains asourcePath
file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If thesourcePath
value 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
sourcePath
parameter 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 |