Interface CfnEndpointConfigPropsMixin.DataCaptureConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfigPropsMixin.DataCaptureConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfigPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
DataCaptureConfigProperty dataCaptureConfigProperty = DataCaptureConfigProperty.builder()
.captureContentTypeHeader(CaptureContentTypeHeaderProperty.builder()
.csvContentTypes(List.of("csvContentTypes"))
.jsonContentTypes(List.of("jsonContentTypes"))
.build())
.captureOptions(List.of(CaptureOptionProperty.builder()
.captureMode("captureMode")
.build()))
.destinationS3Uri("destinationS3Uri")
.enableCapture(false)
.initialSamplingPercentage(123)
.kmsKeyId("kmsKeyId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfigPropsMixin.DataCaptureConfigPropertystatic final classAn implementation forCfnEndpointConfigPropsMixin.DataCaptureConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of the JSON and CSV content type that the endpoint captures.default ObjectSpecifies whether the endpoint captures input data to your model, output data from your model, or both.default StringThe S3 bucket where model monitor stores captured data.default ObjectSet toTrueto enable data capture.default NumberThe percentage of data to capture.default StringThe AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the captured data at rest using Amazon S3 server-side encryption.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCaptureContentTypeHeader
A list of the JSON and CSV content type that the endpoint captures.Returns union: either
IResolvableorCfnEndpointConfigPropsMixin.CaptureContentTypeHeaderProperty- See Also:
-
getCaptureOptions
Specifies whether the endpoint captures input data to your model, output data from your model, or both.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEndpointConfigPropsMixin.CaptureOptionProperty>- See Also:
-
getDestinationS3Uri
The S3 bucket where model monitor stores captured data.- See Also:
-
getEnableCapture
Set toTrueto enable data capture.Returns union: either
BooleanorIResolvable- See Also:
-
getInitialSamplingPercentage
The percentage of data to capture.- See Also:
-
getKmsKeyId
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the captured data at rest using Amazon S3 server-side encryption.The KmsKeyId can be any of the following formats: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) in the Amazon Simple Storage Service Developer Guide. The KMS key policy must grant permission to the IAM role that you specify in your CreateModel (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html) request. For more information, see Using Key Policies in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) in the AWS Key Management Service Developer Guide.
- See Also:
-
builder
-