Skip to content
v2.274.0

AsyncInferenceOutputConfigProperty Struct ​

Specifies the configuration for asynchronous inference invocation outputs.

Example ​

ts
// 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 asyncInferenceOutputConfigProperty: sagemaker.CfnEndpointConfig.AsyncInferenceOutputConfigProperty = {
  kmsKeyId: 'kmsKeyId',
  notificationConfig: {
    errorTopic: 'errorTopic',
    includeInferenceResponseIn: ['includeInferenceResponseIn'],
    successTopic: 'successTopic',
  },
  s3FailurePath: 's3FailurePath',
  s3OutputPath: 's3OutputPath',
};

Properties ​

kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string#
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
notificationConfigoptionalIResolvable | CfnEndpointConfig.AsyncInferenceNotificationConfigPropertynotification_configoptionaltyping.Union[IResolvable, AsyncInferenceNotificationConfigProperty]notificationConfigoptionalIResolvableNotificationConfigoptionalIResolvableNotificationConfigoptionalinterface{}#
Specifies the configuration for notifications of inference results for asynchronous inference.
s3FailurePathoptionalstrings3_failure_pathoptionalstrs3FailurePathoptionalStringS3FailurePathoptionalstringS3FailurePathoptional*string#
The Amazon S3 location to upload failure inference responses to.
s3OutputPathoptionalstrings3_output_pathoptionalstrs3OutputPathoptionalStringS3OutputPathoptionalstringS3OutputPathoptional*string#
The Amazon S3 location to upload inference responses to.