Interface CfnEndpointConfig.AsyncInferenceConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.AsyncInferenceConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.AsyncInferenceConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration for how an endpoint performs 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.*;
AsyncInferenceConfigProperty asyncInferenceConfigProperty = AsyncInferenceConfigProperty.builder()
.outputConfig(AsyncInferenceOutputConfigProperty.builder()
.kmsKeyId("kmsKeyId")
.notificationConfig(AsyncInferenceNotificationConfigProperty.builder()
.errorTopic("errorTopic")
.includeInferenceResponseIn(List.of("includeInferenceResponseIn"))
.successTopic("successTopic")
.build())
.s3FailurePath("s3FailurePath")
.s3OutputPath("s3OutputPath")
.build())
// the properties below are optional
.clientConfig(AsyncInferenceClientConfigProperty.builder()
.maxConcurrentInvocationsPerInstance(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfig.AsyncInferenceConfigPropertystatic final classAn implementation forCfnEndpointConfig.AsyncInferenceConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOutputConfig
Specifies the configuration for asynchronous inference invocation outputs.Returns union: either
IResolvableorCfnEndpointConfig.AsyncInferenceOutputConfigProperty- See Also:
-
getClientConfig
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.Returns union: either
IResolvableorCfnEndpointConfig.AsyncInferenceClientConfigProperty- See Also:
-
builder
-