Class CfnEndpointConfig.AsyncInferenceNotificationConfigProperty
Specifies the configuration for notifications of inference results for asynchronous inference.
Inheritance
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class AsyncInferenceNotificationConfigProperty : Object, CfnEndpointConfig.IAsyncInferenceNotificationConfigProperty
Syntax (vb)
Public Class AsyncInferenceNotificationConfigProperty
Inherits Object
Implements CfnEndpointConfig.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
Constructors
AsyncInferenceNotificationConfigProperty() |
Properties
ErrorTopic | Amazon SNS topic to post a notification to when an inference fails. |
IncludeInferenceResponseIn |
|
SuccessTopic | Amazon SNS topic to post a notification to when an inference completes successfully. |
Constructors
AsyncInferenceNotificationConfigProperty()
public AsyncInferenceNotificationConfigProperty()
Properties
ErrorTopic
Amazon SNS topic to post a notification to when an inference fails.
public string ErrorTopic { get; set; }
Property Value
System.String
Remarks
If no topic is provided, no notification is sent on failure.
IncludeInferenceResponseIn
CfnEndpointConfig.AsyncInferenceNotificationConfigProperty.IncludeInferenceResponseIn
.
public string[] IncludeInferenceResponseIn { get; set; }
Property Value
System.String[]
Remarks
SuccessTopic
Amazon SNS topic to post a notification to when an inference completes successfully.
public string SuccessTopic { get; set; }
Property Value
System.String
Remarks
If no topic is provided, no notification is sent on success.