aws-cdk-lib.aws_sagemaker.CfnEndpointConfig.AsyncInferenceConfigProperty

interface AsyncInferenceConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnEndpointConfig.AsyncInferenceConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpointConfig_AsyncInferenceConfigProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnEndpointConfig.AsyncInferenceConfigProperty
Pythonaws_cdk.aws_sagemaker.CfnEndpointConfig.AsyncInferenceConfigProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnEndpointConfig » AsyncInferenceConfigProperty

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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const asyncInferenceConfigProperty: sagemaker.CfnEndpointConfig.AsyncInferenceConfigProperty = {
  outputConfig: {
    kmsKeyId: 'kmsKeyId',
    notificationConfig: {
      errorTopic: 'errorTopic',
      includeInferenceResponseIn: ['includeInferenceResponseIn'],
      successTopic: 'successTopic',
    },
    s3FailurePath: 's3FailurePath',
    s3OutputPath: 's3OutputPath',
  },

  // the properties below are optional
  clientConfig: {
    maxConcurrentInvocationsPerInstance: 123,
  },
};

Properties

NameTypeDescription
outputConfigIResolvable | AsyncInferenceOutputConfigPropertySpecifies the configuration for asynchronous inference invocation outputs.
clientConfig?IResolvable | AsyncInferenceClientConfigPropertyConfigures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.

outputConfig

Type: IResolvable | AsyncInferenceOutputConfigProperty

Specifies the configuration for asynchronous inference invocation outputs.


clientConfig?

Type: IResolvable | AsyncInferenceClientConfigProperty (optional)

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