Interface CfnEndpointConfig.AsyncInferenceNotificationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.AsyncInferenceNotificationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.AsyncInferenceNotificationConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
AsyncInferenceNotificationConfigProperty asyncInferenceNotificationConfigProperty = AsyncInferenceNotificationConfigProperty.builder()
.errorTopic("errorTopic")
.includeInferenceResponseIn(List.of("includeInferenceResponseIn"))
.successTopic("successTopic")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEndpointConfig.AsyncInferenceNotificationConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAmazon SNS topic to post a notification to when an inference fails.The Amazon SNS topics where you want the inference response to be included.default StringAmazon SNS topic to post a notification to when an inference completes successfully.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getErrorTopic
Amazon SNS topic to post a notification to when an inference fails.If no topic is provided, no notification is sent on failure.
- See Also:
-
getIncludeInferenceResponseIn
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.
- See Also:
-
getSuccessTopic
Amazon SNS topic to post a notification to when an inference completes successfully.If no topic is provided, no notification is sent on success.
- See Also:
-
builder
@Stability(Stable) static CfnEndpointConfig.AsyncInferenceNotificationConfigProperty.Builder builder()
-