Class S3DataType
S3 Data Type.
Inheritance
System.Object
S3DataType
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public sealed class S3DataType : Enum
Syntax (vb)
Public NotInheritable Class S3DataType
Inherits
Enum
Remarks
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
Fields
AUGMENTED_MANIFEST_FILE | Augmented Manifest File Data Type. |
MANIFEST_FILE | Manifest File Data Type. |
S3_PREFIX | S3 Prefix Data Type. |
value__ |
Fields
AUGMENTED_MANIFEST_FILE
Augmented Manifest File Data Type.
public const S3DataType AUGMENTED_MANIFEST_FILE
Field Value
Type | Description |
---|---|
S3DataType |
MANIFEST_FILE
Manifest File Data Type.
public const S3DataType MANIFEST_FILE
Field Value
Type | Description |
---|---|
S3DataType |
S3_PREFIX
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |