aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

[AWS::SageMaker::EndpointConfig] - [Coverage] - Add ScaleInPolicy to ManagedInstanceScaling

Open
#2,496 0 comments 4 reactions 0 assignees View on GitHub
Coverage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::SageMaker::EndpointConfig

### Resource name

_No response_

### Description

The SageMaker API added ScaleInPolicy to ProductionVariantManagedInstanceScaling (released in AWS SDK JS v3.1020.0). This allows configuring scale-in behavior (e.g. LinearScaleInConfig) for managed instance scaling on real-time endpoints.
The CloudFormation resource AWS::SageMaker::EndpointConfig exposes ManagedInstanceScaling under ProductionVariants, but currently only supports:

Status
MinInstanceCount
MaxInstanceCount

ScaleInPolicy is missing, making it impossible to configure this behavior via CloudFormation or CDK without using escape hatches (addOverride).

### Other Details

API reference: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariantManagedInstanceScaling.html#sagemaker-Type-ProductionVariantManagedInstanceScaling-ScaleInPolicy
SDK release: https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.1020.0

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::SageMaker::EndpointConfig resource coverage and compare its ProductionVariants ManagedInstanceScaling properties with the linked SageMaker API reference. Add support for ScaleInPolicy, including LinearScaleInConfig, so the property can be configured through CloudFormation and CDK without an override.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.