Interface CfnEndpointConfig.IAsyncInferenceNotificationConfigProperty
Specifies the configuration for notifications of inference results for asynchronous inference.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAsyncInferenceNotificationConfigProperty
Syntax (vb)
Public Interface IAsyncInferenceNotificationConfigProperty
Remarks
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 asyncInferenceNotificationConfigProperty = new AsyncInferenceNotificationConfigProperty {
ErrorTopic = "errorTopic",
IncludeInferenceResponseIn = new [] { "includeInferenceResponseIn" },
SuccessTopic = "successTopic"
};
Synopsis
Properties
Error |
Amazon SNS topic to post a notification to when an inference fails. |
Include |
The Amazon SNS topics where you want the inference response to be included. |
Success |
Amazon SNS topic to post a notification to when an inference completes successfully. |
Properties
ErrorTopic
Amazon SNS topic to post a notification to when an inference fails.
virtual string ErrorTopic { get; }
Property Value
System.
Remarks
If no topic is provided, no notification is sent on failure.
IncludeInferenceResponseIn
The Amazon SNS topics where you want the inference response to be included.
virtual string[] IncludeInferenceResponseIn { get; }
Property Value
System.
Remarks
The inference response is included only if the response size is less than or equal to 128 KB.
SuccessTopic
Amazon SNS topic to post a notification to when an inference completes successfully.
virtual string SuccessTopic { get; }
Property Value
System.
Remarks
If no topic is provided, no notification is sent on success.