-
Notifications
You must be signed in to change notification settings - Fork 17
/
TransformInput.go
48 lines (45 loc) · 1.78 KB
/
TransformInput.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package awsstepfunctionstasks
// Dataset to be transformed and the Amazon S3 location where it is stored.
//
// Example:
// tasks.NewSageMakerCreateTransformJob(this, jsii.String("Batch Inference"), &SageMakerCreateTransformJobProps{
// TransformJobName: jsii.String("MyTransformJob"),
// ModelName: jsii.String("MyModelName"),
// ModelClientOptions: &ModelClientOptions{
// InvocationsMaxRetries: jsii.Number(3),
// // default is 0
// InvocationsTimeout: awscdk.Duration_Minutes(jsii.Number(5)),
// },
// TransformInput: &TransformInput{
// TransformDataSource: &TransformDataSource{
// S3DataSource: &TransformS3DataSource{
// S3Uri: jsii.String("s3://inputbucket/train"),
// S3DataType: tasks.S3DataType_S3_PREFIX,
// },
// },
// },
// TransformOutput: &TransformOutput{
// S3OutputPath: jsii.String("s3://outputbucket/TransformJobOutputPath"),
// },
// TransformResources: &TransformResources{
// InstanceCount: jsii.Number(1),
// InstanceType: ec2.InstanceType_Of(ec2.InstanceClass_M4, ec2.InstanceSize_XLARGE),
// },
// })
//
type TransformInput struct {
// S3 location of the channel data.
TransformDataSource *TransformDataSource `field:"required" json:"transformDataSource" yaml:"transformDataSource"`
// The compression type of the transform data.
// Default: NONE.
//
CompressionType CompressionType `field:"optional" json:"compressionType" yaml:"compressionType"`
// Multipurpose internet mail extension (MIME) type of the data.
// Default: - None.
//
ContentType *string `field:"optional" json:"contentType" yaml:"contentType"`
// Method to use to split the transform job's data files into smaller batches.
// Default: NONE.
//
SplitType SplitType `field:"optional" json:"splitType" yaml:"splitType"`
}