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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnEndpointConfig.AsyncInferenceNotificationConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Amazon SNS topic to post a notification to when an inference fails.CfnEndpointConfig.AsyncInferenceNotificationConfigProperty.IncludeInferenceResponseIn
.default String
Amazon 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.
-
getIncludeInferenceResponseIn
CfnEndpointConfig.AsyncInferenceNotificationConfigProperty.IncludeInferenceResponseIn
. -
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.
-
builder
@Stability(Stable) static CfnEndpointConfig.AsyncInferenceNotificationConfigProperty.Builder builder()
-