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"` }