Interface CfnInferenceExperiment.IDataStorageConfigProperty
The Amazon S3 location and configuration for storing inference request and response data.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInferenceExperiment.IDataStorageConfigProperty
Syntax (vb)
Public Interface CfnInferenceExperiment.IDataStorageConfigProperty
Remarks
This is an optional parameter that you can use for data capture. For more information, see Capture data .
ExampleMetadata: fixture=_generated
Examples
// 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 dataStorageConfigProperty = new DataStorageConfigProperty {
Destination = "destination",
// the properties below are optional
ContentType = new CaptureContentTypeHeaderProperty {
CsvContentTypes = new [] { "csvContentTypes" },
JsonContentTypes = new [] { "jsonContentTypes" }
},
KmsKey = "kmsKey"
};
Synopsis
Properties
| ContentType | Configuration specifying how to treat different headers. |
| Destination | The Amazon S3 bucket where the inference request and response data is stored. |
| KmsKey | The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption. |
Properties
ContentType
Configuration specifying how to treat different headers.
object? ContentType { get; }
Property Value
Remarks
If no headers are specified SageMaker will by default base64 encode when capturing the data.
Type union: either IResolvable or CfnInferenceExperiment.ICaptureContentTypeHeaderProperty
Destination
The Amazon S3 bucket where the inference request and response data is stored.
string Destination { get; }
Property Value
Remarks
KmsKey
The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.
string? KmsKey { get; }