interface CaptureContentTypeHeaderProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceExperiment.CaptureContentTypeHeaderProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceExperiment_CaptureContentTypeHeaderProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.CaptureContentTypeHeaderProperty |
Python | aws_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 Amazon 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
Name | Type | Description |
---|---|---|
csv | string[] | The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly. |
json | 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 Amazon 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.