# AWS CDK construct orchestrates SageMaker AI endpoint auto scaling during updates

> Original title: Orchestrating SageMaker AI endpoint auto scaling with AWS CDK

- Source: AWS Machine Learning Blog
- Published: 2026-10-23T16:30:10.000Z
- Bad Influence: https://badinfluence.news/items/uc9funm2gjkf2002ur4efpb2k
- Original: https://aws.amazon.com/blogs/machine-learning/orchestrating-sagemaker-ai-endpoint-auto-scaling-with-aws-cdk/

## Summary

AWS introduces a reusable CDK construct that uses three custom resources to deregister auto scaling, update the endpoint, then re-register the scalable target and scaling policy. The construct lets endpoint configuration and auto scaling parameters change in one CloudFormation deployment, avoiding failures that occur when SageMaker AI blocks updates while a scalable target is registered. The construct's custom resources are backed by 12 Lambda functions and two Step Functions state machines in the deployed stack.
