aws-cdk-lib.aws_sagemaker.CfnInferenceExperiment.CaptureContentTypeHeaderProperty

interface CaptureContentTypeHeaderProperty

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

Configuration specifying how to treat different headers.

If no headers are specified SageMaker will by default base64 encode when capturing the 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 captureContentTypeHeaderProperty: sagemaker.CfnInferenceExperiment.CaptureContentTypeHeaderProperty = {
  csvContentTypes: ['csvContentTypes'],
  jsonContentTypes: ['jsonContentTypes'],
};

Properties

NameTypeDescription
csvContentTypes?string[]The list of all content type headers that SageMaker will treat as CSV and capture accordingly.
jsonContentTypes?string[]The list of all content type headers that SageMaker will treat as JSON and capture accordingly.

csvContentTypes?

Type: string[] (optional)

The list of all content type headers that SageMaker will treat as CSV and capture accordingly.


jsonContentTypes?

Type: string[] (optional)

The list of all content type headers that SageMaker will treat as JSON and capture accordingly.