interface AutoRollbackConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnEndpoint.AutoRollbackConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpoint_AutoRollbackConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnEndpoint.AutoRollbackConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnEndpoint.AutoRollbackConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnEndpoint » AutoRollbackConfigProperty |
Automatic rollback configuration for handling endpoint deployment failures and recovery.
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 autoRollbackConfigProperty: sagemaker.CfnEndpoint.AutoRollbackConfigProperty = {
alarms: [{
alarmName: 'alarmName',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| alarms | IResolvable | (IResolvable | Alarm)[] | List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. |
alarms
Type:
IResolvable | (IResolvable | Alarm)[]
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.
If any alarms are tripped during a deployment, SageMaker rolls back the deployment.

.NET
Go
Java
Python
TypeScript