FileSystemDataSource - Amazon SageMaker
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).

FileSystemDataSource

Specifies a file system data source for a channel.

Contents

DirectoryPath

The full path to the directory to associate with the channel.

Type: String

Length Constraints: Maximum length of 4096.

Pattern: .*

Required: Yes

FileSystemAccessMode

The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro (read-only) or rw (read-write) mode.

Type: String

Valid Values: rw | ro

Required: Yes

FileSystemId

The file system id.

Type: String

Length Constraints: Minimum length of 11. Maximum length of 21.

Pattern: ^(fs-[0-9a-f]{8,})$

Required: Yes

FileSystemType

The file system type.

Type: String

Valid Values: EFS | FSxLustre

Required: Yes

See Also

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