View a markdown version of this page

Mount - Amazon IoT SiteWise
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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_STORAGE

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: