scaling_configuration_recommendations
Creates, updates, deletes, gets or lists a scaling_configuration_recommendations resource.
Overview
| Name | scaling_configuration_recommendations |
| Type | Resource |
| Id | aws.sagemaker.scaling_configuration_recommendations |
Fields
The following fields are returned by SELECT queries:
- get_scaling_configuration_recommendation
| Name | Datatype | Description |
|---|---|---|
dynamic_scaling_configuration | object | An object with the recommended values for you to specify when creating an autoscaling policy. |
endpoint_name | string | The name of an endpoint benchmarked during a previously completed Inference Recommender job. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>) |
inference_recommendations_job_name | string | The name of a previously completed Inference Recommender job. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}</code>) |
metric | object | An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job. |
recommendation_id | string | The recommendation ID of a previously completed inference recommendation. |
scaling_policy_objective | object | An object representing the anticipated traffic pattern for an endpoint that you specified in the request. |
target_cpu_utilization_per_core | integer | The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_scaling_configuration_recommendation | select | region | Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_scaling_configuration_recommendation
Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
SELECT
dynamic_scaling_configuration,
endpoint_name,
inference_recommendations_job_name,
metric,
recommendation_id,
scaling_policy_objective,
target_cpu_utilization_per_core
FROM aws.sagemaker.scaling_configuration_recommendations
WHERE region = '{{ region }}' -- required
;