-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnModelPackage_TransformJobDefinitionProperty.go
90 lines (87 loc) · 4.77 KB
/
CfnModelPackage_TransformJobDefinitionProperty.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package awssagemaker
// Defines the input needed to run a transform job using the inference specification specified in the algorithm.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// transformJobDefinitionProperty := &TransformJobDefinitionProperty{
// TransformInput: &TransformInputProperty{
// DataSource: &DataSourceProperty{
// S3DataSource: &S3DataSourceProperty{
// S3DataType: jsii.String("s3DataType"),
// S3Uri: jsii.String("s3Uri"),
// },
// },
//
// // the properties below are optional
// CompressionType: jsii.String("compressionType"),
// ContentType: jsii.String("contentType"),
// SplitType: jsii.String("splitType"),
// },
// TransformOutput: &TransformOutputProperty{
// S3OutputPath: jsii.String("s3OutputPath"),
//
// // the properties below are optional
// Accept: jsii.String("accept"),
// AssembleWith: jsii.String("assembleWith"),
// KmsKeyId: jsii.String("kmsKeyId"),
// },
// TransformResources: &TransformResourcesProperty{
// InstanceCount: jsii.Number(123),
// InstanceType: jsii.String("instanceType"),
//
// // the properties below are optional
// VolumeKmsKeyId: jsii.String("volumeKmsKeyId"),
// },
//
// // the properties below are optional
// BatchStrategy: jsii.String("batchStrategy"),
// Environment: map[string]*string{
// "environmentKey": jsii.String("environment"),
// },
// MaxConcurrentTransforms: jsii.Number(123),
// MaxPayloadInMb: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html
//
type CfnModelPackage_TransformJobDefinitionProperty struct {
// A description of the input source and the way the transform job consumes it.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-transforminput
//
TransformInput interface{} `field:"required" json:"transformInput" yaml:"transformInput"`
// Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-transformoutput
//
TransformOutput interface{} `field:"required" json:"transformOutput" yaml:"transformOutput"`
// Identifies the ML compute instances for the transform job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-transformresources
//
TransformResources interface{} `field:"required" json:"transformResources" yaml:"transformResources"`
// A string that determines the number of records included in a single mini-batch.
//
// `SingleRecord` means only one record is used per mini-batch. `MultiRecord` means a mini-batch is set to contain as many records that can fit within the `MaxPayloadInMB` limit.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-batchstrategy
//
BatchStrategy *string `field:"optional" json:"batchStrategy" yaml:"batchStrategy"`
// The environment variables to set in the Docker container.
//
// We support up to 16 key and values entries in the map.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-environment
//
Environment interface{} `field:"optional" json:"environment" yaml:"environment"`
// The maximum number of parallel requests that can be sent to each instance in a transform job.
//
// The default value is 1.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-maxconcurrenttransforms
//
MaxConcurrentTransforms *float64 `field:"optional" json:"maxConcurrentTransforms" yaml:"maxConcurrentTransforms"`
// The maximum payload size allowed, in MB.
//
// A payload is the data portion of a record (without metadata).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-transformjobdefinition.html#cfn-sagemaker-modelpackage-transformjobdefinition-maxpayloadinmb
//
MaxPayloadInMb *float64 `field:"optional" json:"maxPayloadInMb" yaml:"maxPayloadInMb"`
}