Skip to content
v2.274.0

AsyncInferenceClientConfigProperty Struct ​

Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const asyncInferenceClientConfigProperty: sagemaker.CfnEndpointConfig.AsyncInferenceClientConfigProperty = {
  maxConcurrentInvocationsPerInstance: 123,
};

Properties ​

maxConcurrentInvocationsPerInstanceoptionalnumbermax_concurrent_invocations_per_instanceoptionalint | floatmaxConcurrentInvocationsPerInstanceoptionalNumberMaxConcurrentInvocationsPerInstanceoptionaldoubleMaxConcurrentInvocationsPerInstanceoptional*float64#
The maximum number of concurrent requests sent by the SageMaker client to the model container.

If no value is provided, SageMaker will choose an optimal value for you.