Class CfnEndpointConfig.AsyncInferenceNotificationConfigProperty
Specifies the configuration for notifications of inference results for asynchronous inference.
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEndpointConfig.AsyncInferenceNotificationConfigProperty : CfnEndpointConfig.IAsyncInferenceNotificationConfigProperty
Syntax (vb)
Public Class CfnEndpointConfig.AsyncInferenceNotificationConfigProperty 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() | Specifies the configuration for notifications of inference results for asynchronous inference. |
Properties
ErrorTopic | Amazon SNS topic to post a notification to when an inference fails. |
IncludeInferenceResponseIn | The Amazon SNS topics where you want the inference response to be included. |
SuccessTopic | Amazon SNS topic to post a notification to when an inference completes successfully. |
Constructors
AsyncInferenceNotificationConfigProperty()
Specifies the configuration for notifications of inference results for asynchronous inference.
public AsyncInferenceNotificationConfigProperty()
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"
};
Properties
ErrorTopic
Amazon SNS topic to post a notification to when an inference fails.
public string? ErrorTopic { get; set; }
Property Value
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.
public string[]? IncludeInferenceResponseIn { get; set; }
Property Value
string[]
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.
public string? SuccessTopic { get; set; }
Property Value
Remarks
If no topic is provided, no notification is sent on success.