aws-cdk-lib.aws_sagemaker.CfnInferenceExperiment.DataStorageConfigProperty

interface DataStorageConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnInferenceExperiment.DataStorageConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceExperiment_DataStorageConfigProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.DataStorageConfigProperty
Pythonaws_cdk.aws_sagemaker.CfnInferenceExperiment.DataStorageConfigProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnInferenceExperiment » DataStorageConfigProperty

The Amazon S3 location and configuration for storing inference request and response data.

This is an optional parameter that you can use for data capture. For more information, see Capture data .

Example

// 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 dataStorageConfigProperty: sagemaker.CfnInferenceExperiment.DataStorageConfigProperty = {
  destination: 'destination',

  // the properties below are optional
  contentType: {
    csvContentTypes: ['csvContentTypes'],
    jsonContentTypes: ['jsonContentTypes'],
  },
  kmsKey: 'kmsKey',
};

Properties

NameTypeDescription
destinationstringThe Amazon S3 bucket where the inference request and response data is stored.
contentType?IResolvable | CaptureContentTypeHeaderPropertyConfiguration specifying how to treat different headers.
kmsKey?stringThe AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.

destination

Type: string

The Amazon S3 bucket where the inference request and response data is stored.


contentType?

Type: IResolvable | CaptureContentTypeHeaderProperty (optional)

Configuration specifying how to treat different headers.

If no headers are specified SageMaker will by default base64 encode when capturing the data.


kmsKey?

Type: string (optional)

The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.