interface AsyncInferenceNotificationConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnEndpointConfig.AsyncInferenceNotificationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpointConfig_AsyncInferenceNotificationConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.AsyncInferenceNotificationConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnEndpointConfig.AsyncInferenceNotificationConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnEndpointConfig » AsyncInferenceNotificationConfigProperty |
Specifies the configuration for notifications of inference results for asynchronous inference.
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 asyncInferenceNotificationConfigProperty: sagemaker.CfnEndpointConfig.AsyncInferenceNotificationConfigProperty = {
errorTopic: 'errorTopic',
includeInferenceResponseIn: ['includeInferenceResponseIn'],
successTopic: 'successTopic',
};
Properties
Name | Type | Description |
---|---|---|
error | string | Amazon SNS topic to post a notification to when an inference fails. |
include | string[] | The Amazon SNS topics where you want the inference response to be included. |
success | string | Amazon SNS topic to post a notification to when an inference completes successfully. |
errorTopic?
Type:
string
(optional)
Amazon SNS topic to post a notification to when an inference fails.
If no topic is provided, no notification is sent on failure.
includeInferenceResponseIn?
Type:
string[]
(optional)
The Amazon SNS topics where you want the inference response to be included.
The inference response is included only if the response size is less than or equal to 128 KB.
successTopic?
Type:
string
(optional)
Amazon SNS topic to post a notification to when an inference completes successfully.
If no topic is provided, no notification is sent on success.