Class S3DataSource
S3 location of the channel data.
Inheritance
System.Object
    S3DataSource
  Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class S3DataSource : Object, IS3DataSourceSyntax (vb)
Public Class S3DataSource
    Inherits Object
    Implements IS3DataSourceRemarks
See: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_S3DataSource.html
ExampleMetadata: infused
Examples
new SageMakerCreateTrainingJob(this, "TrainSagemaker", new SageMakerCreateTrainingJobProps {
    TrainingJobName = JsonPath.StringAt("$.JobName"),
    AlgorithmSpecification = new AlgorithmSpecification {
        AlgorithmName = "BlazingText",
        TrainingInputMode = InputMode.FILE
    },
    InputDataConfig = new [] { new Channel {
        ChannelName = "train",
        DataSource = new DataSource {
            S3DataSource = new S3DataSource {
                S3DataType = S3DataType.S3_PREFIX,
                S3Location = S3Location.FromJsonExpression("$.S3Bucket")
            }
        }
    } },
    OutputDataConfig = new OutputDataConfig {
        S3OutputLocation = S3Location.FromBucket(Bucket.FromBucketName(this, "Bucket", "mybucket"), "myoutputpath")
    },
    ResourceConfig = new ResourceConfig {
        InstanceCount = 1,
        InstanceType = new InstanceType(JsonPath.StringAt("$.InstanceType")),
        VolumeSize = Size.Gibibytes(50)
    },  // optional: default is 1 instance of EC2 `M4.XLarge` with `10GB` volume
    StoppingCondition = new StoppingCondition {
        MaxRuntime = Duration.Hours(2)
    }
});Synopsis
Constructors
| S3DataSource() | 
Properties
| AttributeNames | List of one or more attribute names to use that are found in a specified augmented manifest file. | 
| S3DataDistributionType | S3 Data Distribution Type. | 
| S3DataType | S3 Data Type. | 
| S3Location | S3 Uri. | 
Constructors
S3DataSource()
public S3DataSource()Properties
AttributeNames
List of one or more attribute names to use that are found in a specified augmented manifest file.
public string[] AttributeNames { get; set; }Property Value
System.String[]
Remarks
Default: - No attribute names
S3DataDistributionType
S3 Data Distribution Type.
public Nullable<S3DataDistributionType> S3DataDistributionType { get; set; }Property Value
System.Nullable<S3DataDistributionType>
Remarks
Default: - None
S3DataType
S3 Data Type.
public Nullable<S3DataType> S3DataType { get; set; }Property Value
System.Nullable<S3DataType>
Remarks
Default: S3_PREFIX