Class CfnInferenceExperimentPropsMixin.DataStorageConfigProperty
The Amazon S3 location and configuration for storing inference request and response data.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnInferenceExperimentPropsMixin.DataStorageConfigProperty : CfnInferenceExperimentPropsMixin.IDataStorageConfigProperty
Syntax (vb)
Public Class CfnInferenceExperimentPropsMixin.DataStorageConfigProperty Implements CfnInferenceExperimentPropsMixin.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.Mixins.Preview.AWS.SageMaker.Mixins;
var dataStorageConfigProperty = new DataStorageConfigProperty {
ContentType = new CaptureContentTypeHeaderProperty {
CsvContentTypes = new [] { "csvContentTypes" },
JsonContentTypes = new [] { "jsonContentTypes" }
},
Destination = "destination",
KmsKey = "kmsKey"
};
Synopsis
Constructors
| DataStorageConfigProperty() | The Amazon S3 location and configuration for storing inference request and response data. |
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. |
Constructors
DataStorageConfigProperty()
The Amazon S3 location and configuration for storing inference request and response data.
public DataStorageConfigProperty()
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.Mixins.Preview.AWS.SageMaker.Mixins;
var dataStorageConfigProperty = new DataStorageConfigProperty {
ContentType = new CaptureContentTypeHeaderProperty {
CsvContentTypes = new [] { "csvContentTypes" },
JsonContentTypes = new [] { "jsonContentTypes" }
},
Destination = "destination",
KmsKey = "kmsKey"
};
Properties
ContentType
Configuration specifying how to treat different headers.
public object? ContentType { get; set; }
Property Value
Remarks
If no headers are specified SageMaker will by default base64 encode when capturing the data.
Type union: either IResolvable or CfnInferenceExperimentPropsMixin.ICaptureContentTypeHeaderProperty
Destination
The Amazon S3 bucket where the inference request and response data is stored.
public string? Destination { get; set; }
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.
public string? KmsKey { get; set; }