Skip to content
v2.274.0

InferenceComponentDeploymentConfigProperty Struct ​

The deployment configuration for an endpoint that hosts inference components.

The configuration includes the desired deployment strategy and rollback settings.

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 inferenceComponentDeploymentConfigProperty: sagemaker.CfnInferenceComponent.InferenceComponentDeploymentConfigProperty = {
  autoRollbackConfiguration: {
    alarms: [{
      alarmName: 'alarmName',
    }],
  },
  rollingUpdatePolicy: {
    maximumBatchSize: {
      type: 'type',
      value: 123,
    },
    maximumExecutionTimeoutInSeconds: 123,
    rollbackMaximumBatchSize: {
      type: 'type',
      value: 123,
    },
    waitIntervalInSeconds: 123,
  },
};

Properties ​

autoRollbackConfigurationoptionalIResolvable | CfnInferenceComponent.AutoRollbackConfigurationPropertyauto_rollback_configurationoptionaltyping.Union[IResolvable, AutoRollbackConfigurationProperty]autoRollbackConfigurationoptionalIResolvableAutoRollbackConfigurationoptionalIResolvableAutoRollbackConfigurationoptionalinterface{}#
rollingUpdatePolicyoptionalIResolvable | CfnInferenceComponent.InferenceComponentRollingUpdatePolicyPropertyrolling_update_policyoptionaltyping.Union[IResolvable, InferenceComponentRollingUpdatePolicyProperty]rollingUpdatePolicyoptionalIResolvableRollingUpdatePolicyoptionalIResolvableRollingUpdatePolicyoptionalinterface{}#
Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.