DatasetDefinition - Amazon SageMaker


Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition types.



Configuration for Athena Dataset Definition input.

Type: AthenaDatasetDefinition object

Required: No


Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).

Type: String

Valid Values: FullyReplicated | ShardedByS3Key

Required: No


Whether to use File or Pipe input mode. In File (default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.

Type: String

Valid Values: Pipe | File

Required: No


The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job. LocalPath is an absolute path to the input data. This is a required parameter when AppManaged is False (default).

Type: String

Length Constraints: Maximum length of 256.

Pattern: .*

Required: No


Configuration for Redshift Dataset Definition input.

Type: RedshiftDatasetDefinition object

Required: No

See Also

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