Skip to content
v2.278.0

ProcessingOutputConfigProperty Struct ​

Configuration for uploading output from the processing container.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const processingOutputConfigProperty: sagemaker.CfnProcessingJob.ProcessingOutputConfigProperty = {
  outputs: [{
    outputName: 'outputName',

    // the properties below are optional
    appManaged: false,
    featureStoreOutput: {
      featureGroupName: 'featureGroupName',
    },
    s3Output: {
      s3UploadMode: 's3UploadMode',
      s3Uri: 's3Uri',

      // the properties below are optional
      localPath: 'localPath',
    },
  }],

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

processing_output_config_property = sagemaker.CfnProcessingJob.ProcessingOutputConfigProperty(
    outputs=[sagemaker.CfnProcessingJob.ProcessingOutputsObjectProperty(
        output_name="outputName",

        # the properties below are optional
        app_managed=False,
        feature_store_output=sagemaker.CfnProcessingJob.FeatureStoreOutputProperty(
            feature_group_name="featureGroupName"
        ),
        s3_output=sagemaker.CfnProcessingJob.S3OutputProperty(
            s3_upload_mode="s3UploadMode",
            s3_uri="s3Uri",

            # the properties below are optional
            local_path="localPath"
        )
    )],

    # the properties below are optional
    kms_key_id="kmsKeyId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

ProcessingOutputConfigProperty processingOutputConfigProperty = ProcessingOutputConfigProperty.builder()
        .outputs(List.of(ProcessingOutputsObjectProperty.builder()
                .outputName("outputName")

                // the properties below are optional
                .appManaged(false)
                .featureStoreOutput(FeatureStoreOutputProperty.builder()
                        .featureGroupName("featureGroupName")
                        .build())
                .s3Output(S3OutputProperty.builder()
                        .s3UploadMode("s3UploadMode")
                        .s3Uri("s3Uri")

                        // the properties below are optional
                        .localPath("localPath")
                        .build())
                .build()))

        // the properties below are optional
        .kmsKeyId("kmsKeyId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var processingOutputConfigProperty = new ProcessingOutputConfigProperty {
    Outputs = new [] { new ProcessingOutputsObjectProperty {
        OutputName = "outputName",

        // the properties below are optional
        AppManaged = false,
        FeatureStoreOutput = new FeatureStoreOutputProperty {
            FeatureGroupName = "featureGroupName"
        },
        S3Output = new S3OutputProperty {
            S3UploadMode = "s3UploadMode",
            S3Uri = "s3Uri",

            // the properties below are optional
            LocalPath = "localPath"
        }
    } },

    // the properties below are optional
    KmsKeyId = "kmsKeyId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

processingOutputConfigProperty := &ProcessingOutputConfigProperty{
	Outputs: []interface{}{
		&ProcessingOutputsObjectProperty{
			OutputName: jsii.String("outputName"),

			// the properties below are optional
			AppManaged: jsii.Boolean(false),
			FeatureStoreOutput: &FeatureStoreOutputProperty{
				FeatureGroupName: jsii.String("featureGroupName"),
			},
			S3Output: &S3OutputProperty{
				S3UploadMode: jsii.String("s3UploadMode"),
				S3Uri: jsii.String("s3Uri"),

				// the properties below are optional
				LocalPath: jsii.String("localPath"),
			},
		},
	},

	// the properties below are optional
	KmsKeyId: jsii.String("kmsKeyId"),
}

Properties ​

kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the processing job output.

KmsKeyId can be an ID of a KMS key, ARN of a KMS key, or alias of a KMS key. The KmsKeyId is applied to all outputs.

outputsIResolvable | IResolvable | CfnProcessingJob.ProcessingOutputsObjectProperty[]outputstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ProcessingOutputsObjectProperty]]]outputsIResolvableOutputsIResolvableOutputsinterface{} required #
An array of outputs configuring the data to upload from the processing container.