View a markdown version of this page

AWS::SageMaker::TrainingJob FileSystemDataSource - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SageMaker::TrainingJob FileSystemDataSource

Specifies a file system data source for a channel.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "DirectoryPath" : String, "FileSystemAccessMode" : String, "FileSystemId" : String, "FileSystemType" : String }

YAML

DirectoryPath: String FileSystemAccessMode: String FileSystemId: String FileSystemType: String

Properties

DirectoryPath

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

Required: Yes

Type: String

Pattern: .*

Maximum: 4096

Update requires: Replacement

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.

Required: Yes

Type: String

Allowed values: rw | ro

Update requires: Replacement

FileSystemId

The file system id.

Required: Yes

Type: String

Pattern: .*

Minimum: 11

Update requires: Replacement

FileSystemType

The file system type.

Required: Yes

Type: String

Allowed values: EFS | FSxLustre

Update requires: Replacement