Mount
Attaches a data source to the container filesystem for a task at a customer-supplied relative path under the service-owned mount root.
Contents
- name
-
A unique name for the mount within the task.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-zA-Z0-9_-]+Required: Yes
- relativePath
-
The relative path under the service-owned mount root where this mount is attached inside the container.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
((?!.*(^|/)\.\.?(/|$))(?!.*//)[a-zA-Z0-9._-][a-zA-Z0-9._/-]*[a-zA-Z0-9._-]|[a-zA-Z0-9_-])Required: Yes
- source
-
The data source for the mount.
Type: MountSource object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- storageType
-
The type of storage used for the mount.
Type: String
Valid Values:
SHARED_STORAGERequired: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: