interface CaptureContentTypeHeaderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnInferenceExperimentPropsMixin_CaptureContentTypeHeaderProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnInferenceExperimentPropsMixin » CaptureContentTypeHeaderProperty |
Configuration specifying how to treat different headers.
If no headers are specified Amazon SageMaker AI 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/cfn-property-mixins';
const captureContentTypeHeaderProperty: sagemaker.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty = {
csvContentTypes: ['csvContentTypes'],
jsonContentTypes: ['jsonContentTypes'],
};
Properties
| Name | Type | Description |
|---|---|---|
| csv | string[] | The list of all content type headers that Amazon SageMaker AI will treat as CSV and capture accordingly. |
| json | string[] | The list of all content type headers that SageMaker AI will treat as JSON and capture accordingly. |
csvContentTypes?
Type:
string[]
(optional)
The list of all content type headers that Amazon SageMaker AI will treat as CSV and capture accordingly.
jsonContentTypes?
Type:
string[]
(optional)
The list of all content type headers that SageMaker AI will treat as JSON and capture accordingly.

.NET
Go
Java
Python
TypeScript