We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
Resource Type definition for AWS::AutoScalingPlans::ScalingPlan
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var myTagKey = config.Require("myTagKey");
var myTagValue = config.Require("myTagValue");
var myASGroup = config.Require("myASGroup");
var asgMinCapacity = config.RequireDouble("asgMinCapacity");
var asgMaxCapacity = config.RequireDouble("asgMaxCapacity");
var asgTargetUtilization = config.GetDouble("asgTargetUtilization") ?? "50.0";
var asgEstimatedInstanceWarmup = config.GetDouble("asgEstimatedInstanceWarmup") ?? "600";
var myScalingPlan = new AwsNative.AutoScalingPlans.ScalingPlan("myScalingPlan", new()
{
ApplicationSource = new AwsNative.AutoScalingPlans.Inputs.ScalingPlanApplicationSourceArgs
{
TagFilters = new[]
{
new AwsNative.AutoScalingPlans.Inputs.ScalingPlanTagFilterArgs
{
Key = myTagKey,
Values = new[]
{
myTagValue,
},
},
},
},
ScalingInstructions = new[]
{
new AwsNative.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionArgs
{
MinCapacity = asgMinCapacity,
MaxCapacity = asgMaxCapacity,
ServiceNamespace = "autoscaling",
ScalableDimension = "autoscaling:autoScalingGroup:DesiredCapacity",
ResourceId = $"autoScalingGroup/{myASGroup}",
TargetTrackingConfigurations = new[]
{
new AwsNative.AutoScalingPlans.Inputs.ScalingPlanTargetTrackingConfigurationArgs
{
PredefinedScalingMetricSpecification = new AwsNative.AutoScalingPlans.Inputs.ScalingPlanPredefinedScalingMetricSpecificationArgs
{
PredefinedScalingMetricType = "ASGAverageCPUUtilization",
},
TargetValue = asgTargetUtilization,
EstimatedInstanceWarmup = asgEstimatedInstanceWarmup,
},
},
PredefinedLoadMetricSpecification = new AwsNative.AutoScalingPlans.Inputs.ScalingPlanPredefinedLoadMetricSpecificationArgs
{
PredefinedLoadMetricType = "ASGTotalCPUUtilization",
},
PredictiveScalingMode = "ForecastOnly",
PredictiveScalingMaxCapacityBehavior = "SetMaxCapacityAboveForecastCapacity",
PredictiveScalingMaxCapacityBuffer = 25,
ScheduledActionBufferTime = 600,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/autoscalingplans"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
myTagKey := cfg.Require("myTagKey")
myTagValue := cfg.Require("myTagValue")
myASGroup := cfg.Require("myASGroup")
asgMinCapacity := cfg.RequireFloat64("asgMinCapacity")
asgMaxCapacity := cfg.RequireFloat64("asgMaxCapacity")
asgTargetUtilization := float64("50.0")
if param := cfg.GetFloat64("asgTargetUtilization"); param != 0 {
asgTargetUtilization = param
}
asgEstimatedInstanceWarmup := float64("600")
if param := cfg.GetFloat64("asgEstimatedInstanceWarmup"); param != 0 {
asgEstimatedInstanceWarmup = param
}
_, err := autoscalingplans.NewScalingPlan(ctx, "myScalingPlan", &autoscalingplans.ScalingPlanArgs{
ApplicationSource: &autoscalingplans.ScalingPlanApplicationSourceArgs{
TagFilters: autoscalingplans.ScalingPlanTagFilterArray{
&autoscalingplans.ScalingPlanTagFilterArgs{
Key: pulumi.String(myTagKey),
Values: pulumi.StringArray{
pulumi.String(myTagValue),
},
},
},
},
ScalingInstructions: autoscalingplans.ScalingPlanScalingInstructionArray{
&autoscalingplans.ScalingPlanScalingInstructionArgs{
MinCapacity: pulumi.Float64(asgMinCapacity),
MaxCapacity: pulumi.Float64(asgMaxCapacity),
ServiceNamespace: pulumi.String("autoscaling"),
ScalableDimension: pulumi.String("autoscaling:autoScalingGroup:DesiredCapacity"),
ResourceId: pulumi.Sprintf("autoScalingGroup/%v", myASGroup),
TargetTrackingConfigurations: autoscalingplans.ScalingPlanTargetTrackingConfigurationArray{
&autoscalingplans.ScalingPlanTargetTrackingConfigurationArgs{
PredefinedScalingMetricSpecification: &autoscalingplans.ScalingPlanPredefinedScalingMetricSpecificationArgs{
PredefinedScalingMetricType: pulumi.String("ASGAverageCPUUtilization"),
},
TargetValue: pulumi.Float64(asgTargetUtilization),
EstimatedInstanceWarmup: pulumi.Float64(asgEstimatedInstanceWarmup),
},
},
PredefinedLoadMetricSpecification: &autoscalingplans.ScalingPlanPredefinedLoadMetricSpecificationArgs{
PredefinedLoadMetricType: pulumi.String("ASGTotalCPUUtilization"),
},
PredictiveScalingMode: pulumi.String("ForecastOnly"),
PredictiveScalingMaxCapacityBehavior: pulumi.String("SetMaxCapacityAboveForecastCapacity"),
PredictiveScalingMaxCapacityBuffer: pulumi.Int(25),
ScheduledActionBufferTime: pulumi.Int(600),
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const config = new pulumi.Config();
const myTagKey = config.require("myTagKey");
const myTagValue = config.require("myTagValue");
const myASGroup = config.require("myASGroup");
const asgMinCapacity = config.requireNumber("asgMinCapacity");
const asgMaxCapacity = config.requireNumber("asgMaxCapacity");
const asgTargetUtilization = config.getNumber("asgTargetUtilization") || "50.0";
const asgEstimatedInstanceWarmup = config.getNumber("asgEstimatedInstanceWarmup") || "600";
const myScalingPlan = new aws_native.autoscalingplans.ScalingPlan("myScalingPlan", {
applicationSource: {
tagFilters: [{
key: myTagKey,
values: [myTagValue],
}],
},
scalingInstructions: [{
minCapacity: asgMinCapacity,
maxCapacity: asgMaxCapacity,
serviceNamespace: "autoscaling",
scalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity",
resourceId: `autoScalingGroup/${myASGroup}`,
targetTrackingConfigurations: [{
predefinedScalingMetricSpecification: {
predefinedScalingMetricType: "ASGAverageCPUUtilization",
},
targetValue: asgTargetUtilization,
estimatedInstanceWarmup: asgEstimatedInstanceWarmup,
}],
predefinedLoadMetricSpecification: {
predefinedLoadMetricType: "ASGTotalCPUUtilization",
},
predictiveScalingMode: "ForecastOnly",
predictiveScalingMaxCapacityBehavior: "SetMaxCapacityAboveForecastCapacity",
predictiveScalingMaxCapacityBuffer: 25,
scheduledActionBufferTime: 600,
}],
});
import pulumi
import pulumi_aws_native as aws_native
config = pulumi.Config()
my_tag_key = config.require("myTagKey")
my_tag_value = config.require("myTagValue")
my_as_group = config.require("myASGroup")
asg_min_capacity = config.require_float("asgMinCapacity")
asg_max_capacity = config.require_float("asgMaxCapacity")
asg_target_utilization = config.get_float("asgTargetUtilization")
if asg_target_utilization is None:
asg_target_utilization = "50.0"
asg_estimated_instance_warmup = config.get_float("asgEstimatedInstanceWarmup")
if asg_estimated_instance_warmup is None:
asg_estimated_instance_warmup = "600"
my_scaling_plan = aws_native.autoscalingplans.ScalingPlan("myScalingPlan",
application_source={
"tag_filters": [{
"key": my_tag_key,
"values": [my_tag_value],
}],
},
scaling_instructions=[{
"min_capacity": int(asg_min_capacity),
"max_capacity": int(asg_max_capacity),
"service_namespace": "autoscaling",
"scalable_dimension": "autoscaling:autoScalingGroup:DesiredCapacity",
"resource_id": f"autoScalingGroup/{my_as_group}",
"target_tracking_configurations": [{
"predefined_scaling_metric_specification": {
"predefined_scaling_metric_type": "ASGAverageCPUUtilization",
},
"target_value": asg_target_utilization,
"estimated_instance_warmup": int(asg_estimated_instance_warmup),
}],
"predefined_load_metric_specification": {
"predefined_load_metric_type": "ASGTotalCPUUtilization",
},
"predictive_scaling_mode": "ForecastOnly",
"predictive_scaling_max_capacity_behavior": "SetMaxCapacityAboveForecastCapacity",
"predictive_scaling_max_capacity_buffer": 25,
"scheduled_action_buffer_time": 600,
}])
Example coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var myTagKey = config.Require("myTagKey");
var myTagValue = config.Require("myTagValue");
var myASGroup = config.Require("myASGroup");
var asgMinCapacity = config.RequireDouble("asgMinCapacity");
var asgMaxCapacity = config.RequireDouble("asgMaxCapacity");
var asgTargetUtilization = config.GetDouble("asgTargetUtilization") ?? 50;
var asgEstimatedInstanceWarmup = config.GetDouble("asgEstimatedInstanceWarmup") ?? 600;
var myScalingPlan = new AwsNative.AutoScalingPlans.ScalingPlan("myScalingPlan", new()
{
ApplicationSource = new AwsNative.AutoScalingPlans.Inputs.ScalingPlanApplicationSourceArgs
{
TagFilters = new[]
{
new AwsNative.AutoScalingPlans.Inputs.ScalingPlanTagFilterArgs
{
Key = myTagKey,
Values = new[]
{
myTagValue,
},
},
},
},
ScalingInstructions = new[]
{
new AwsNative.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionArgs
{
MinCapacity = asgMinCapacity,
MaxCapacity = asgMaxCapacity,
ServiceNamespace = "autoscaling",
ScalableDimension = "autoscaling:autoScalingGroup:DesiredCapacity",
ResourceId = $"autoScalingGroup/{myASGroup}",
TargetTrackingConfigurations = new[]
{
new AwsNative.AutoScalingPlans.Inputs.ScalingPlanTargetTrackingConfigurationArgs
{
PredefinedScalingMetricSpecification = new AwsNative.AutoScalingPlans.Inputs.ScalingPlanPredefinedScalingMetricSpecificationArgs
{
PredefinedScalingMetricType = "ASGAverageCPUUtilization",
},
TargetValue = asgTargetUtilization,
EstimatedInstanceWarmup = asgEstimatedInstanceWarmup,
},
},
PredefinedLoadMetricSpecification = new AwsNative.AutoScalingPlans.Inputs.ScalingPlanPredefinedLoadMetricSpecificationArgs
{
PredefinedLoadMetricType = "ASGTotalCPUUtilization",
},
PredictiveScalingMode = "ForecastOnly",
PredictiveScalingMaxCapacityBehavior = "SetMaxCapacityAboveForecastCapacity",
PredictiveScalingMaxCapacityBuffer = 25,
ScheduledActionBufferTime = 600,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/autoscalingplans"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
myTagKey := cfg.Require("myTagKey")
myTagValue := cfg.Require("myTagValue")
myASGroup := cfg.Require("myASGroup")
asgMinCapacity := cfg.RequireFloat64("asgMinCapacity")
asgMaxCapacity := cfg.RequireFloat64("asgMaxCapacity")
asgTargetUtilization := float64(50)
if param := cfg.GetFloat64("asgTargetUtilization"); param != 0 {
asgTargetUtilization = param
}
asgEstimatedInstanceWarmup := float64(600)
if param := cfg.GetFloat64("asgEstimatedInstanceWarmup"); param != 0 {
asgEstimatedInstanceWarmup = param
}
_, err := autoscalingplans.NewScalingPlan(ctx, "myScalingPlan", &autoscalingplans.ScalingPlanArgs{
ApplicationSource: &autoscalingplans.ScalingPlanApplicationSourceArgs{
TagFilters: autoscalingplans.ScalingPlanTagFilterArray{
&autoscalingplans.ScalingPlanTagFilterArgs{
Key: pulumi.String(myTagKey),
Values: pulumi.StringArray{
pulumi.String(myTagValue),
},
},
},
},
ScalingInstructions: autoscalingplans.ScalingPlanScalingInstructionArray{
&autoscalingplans.ScalingPlanScalingInstructionArgs{
MinCapacity: pulumi.Float64(asgMinCapacity),
MaxCapacity: pulumi.Float64(asgMaxCapacity),
ServiceNamespace: pulumi.String("autoscaling"),
ScalableDimension: pulumi.String("autoscaling:autoScalingGroup:DesiredCapacity"),
ResourceId: pulumi.Sprintf("autoScalingGroup/%v", myASGroup),
TargetTrackingConfigurations: autoscalingplans.ScalingPlanTargetTrackingConfigurationArray{
&autoscalingplans.ScalingPlanTargetTrackingConfigurationArgs{
PredefinedScalingMetricSpecification: &autoscalingplans.ScalingPlanPredefinedScalingMetricSpecificationArgs{
PredefinedScalingMetricType: pulumi.String("ASGAverageCPUUtilization"),
},
TargetValue: pulumi.Float64(asgTargetUtilization),
EstimatedInstanceWarmup: pulumi.Float64(asgEstimatedInstanceWarmup),
},
},
PredefinedLoadMetricSpecification: &autoscalingplans.ScalingPlanPredefinedLoadMetricSpecificationArgs{
PredefinedLoadMetricType: pulumi.String("ASGTotalCPUUtilization"),
},
PredictiveScalingMode: pulumi.String("ForecastOnly"),
PredictiveScalingMaxCapacityBehavior: pulumi.String("SetMaxCapacityAboveForecastCapacity"),
PredictiveScalingMaxCapacityBuffer: pulumi.Int(25),
ScheduledActionBufferTime: pulumi.Int(600),
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const config = new pulumi.Config();
const myTagKey = config.require("myTagKey");
const myTagValue = config.require("myTagValue");
const myASGroup = config.require("myASGroup");
const asgMinCapacity = config.requireNumber("asgMinCapacity");
const asgMaxCapacity = config.requireNumber("asgMaxCapacity");
const asgTargetUtilization = config.getNumber("asgTargetUtilization") || 50;
const asgEstimatedInstanceWarmup = config.getNumber("asgEstimatedInstanceWarmup") || 600;
const myScalingPlan = new aws_native.autoscalingplans.ScalingPlan("myScalingPlan", {
applicationSource: {
tagFilters: [{
key: myTagKey,
values: [myTagValue],
}],
},
scalingInstructions: [{
minCapacity: asgMinCapacity,
maxCapacity: asgMaxCapacity,
serviceNamespace: "autoscaling",
scalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity",
resourceId: `autoScalingGroup/${myASGroup}`,
targetTrackingConfigurations: [{
predefinedScalingMetricSpecification: {
predefinedScalingMetricType: "ASGAverageCPUUtilization",
},
targetValue: asgTargetUtilization,
estimatedInstanceWarmup: asgEstimatedInstanceWarmup,
}],
predefinedLoadMetricSpecification: {
predefinedLoadMetricType: "ASGTotalCPUUtilization",
},
predictiveScalingMode: "ForecastOnly",
predictiveScalingMaxCapacityBehavior: "SetMaxCapacityAboveForecastCapacity",
predictiveScalingMaxCapacityBuffer: 25,
scheduledActionBufferTime: 600,
}],
});
import pulumi
import pulumi_aws_native as aws_native
config = pulumi.Config()
my_tag_key = config.require("myTagKey")
my_tag_value = config.require("myTagValue")
my_as_group = config.require("myASGroup")
asg_min_capacity = config.require_float("asgMinCapacity")
asg_max_capacity = config.require_float("asgMaxCapacity")
asg_target_utilization = config.get_float("asgTargetUtilization")
if asg_target_utilization is None:
asg_target_utilization = 50
asg_estimated_instance_warmup = config.get_float("asgEstimatedInstanceWarmup")
if asg_estimated_instance_warmup is None:
asg_estimated_instance_warmup = 600
my_scaling_plan = aws_native.autoscalingplans.ScalingPlan("myScalingPlan",
application_source={
"tag_filters": [{
"key": my_tag_key,
"values": [my_tag_value],
}],
},
scaling_instructions=[{
"min_capacity": int(asg_min_capacity),
"max_capacity": int(asg_max_capacity),
"service_namespace": "autoscaling",
"scalable_dimension": "autoscaling:autoScalingGroup:DesiredCapacity",
"resource_id": f"autoScalingGroup/{my_as_group}",
"target_tracking_configurations": [{
"predefined_scaling_metric_specification": {
"predefined_scaling_metric_type": "ASGAverageCPUUtilization",
},
"target_value": asg_target_utilization,
"estimated_instance_warmup": int(asg_estimated_instance_warmup),
}],
"predefined_load_metric_specification": {
"predefined_load_metric_type": "ASGTotalCPUUtilization",
},
"predictive_scaling_mode": "ForecastOnly",
"predictive_scaling_max_capacity_behavior": "SetMaxCapacityAboveForecastCapacity",
"predictive_scaling_max_capacity_buffer": 25,
"scheduled_action_buffer_time": 600,
}])
Example coming soon!
Create ScalingPlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScalingPlan(name: string, args: ScalingPlanArgs, opts?: CustomResourceOptions);@overload
def ScalingPlan(resource_name: str,
args: ScalingPlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScalingPlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_source: Optional[ScalingPlanApplicationSourceArgs] = None,
scaling_instructions: Optional[Sequence[ScalingPlanScalingInstructionArgs]] = None)func NewScalingPlan(ctx *Context, name string, args ScalingPlanArgs, opts ...ResourceOption) (*ScalingPlan, error)public ScalingPlan(string name, ScalingPlanArgs args, CustomResourceOptions? opts = null)
public ScalingPlan(String name, ScalingPlanArgs args)
public ScalingPlan(String name, ScalingPlanArgs args, CustomResourceOptions options)
type: aws-native:autoscalingplans:ScalingPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_autoscalingplans_scaling_plan" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ScalingPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScalingPlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScalingPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScalingPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScalingPlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ScalingPlan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScalingPlan resource accepts the following input properties:
- Application
Source Pulumi.Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Application Source - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- Scaling
Instructions List<Pulumi.Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Scaling Instruction> - The scaling instructions.
- Application
Source ScalingPlan Application Source Args - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- Scaling
Instructions []ScalingPlan Scaling Instruction Args - The scaling instructions.
- application_
source object - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- scaling_
instructions list(object) - The scaling instructions.
- application
Source ScalingPlan Application Source - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- scaling
Instructions List<ScalingPlan Scaling Instruction> - The scaling instructions.
- application
Source ScalingPlan Application Source - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- scaling
Instructions ScalingPlan Scaling Instruction[] - The scaling instructions.
- application_
source ScalingPlan Application Source Args - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- scaling_
instructions Sequence[ScalingPlan Scaling Instruction Args] - The scaling instructions.
- application
Source Property Map - A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
- scaling
Instructions List<Property Map> - The scaling instructions.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScalingPlan resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Scaling
Plan stringArn - The Amazon Resource Name (ARN) of the scaling plan.
- Scaling
Plan stringName - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- Scaling
Plan stringVersion - The version number of the scaling plan. This value is always 1.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scaling
Plan stringArn - The Amazon Resource Name (ARN) of the scaling plan.
- Scaling
Plan stringName - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- Scaling
Plan stringVersion - The version number of the scaling plan. This value is always 1.
- id string
- The provider-assigned unique ID for this managed resource.
- scaling_
plan_ stringarn - The Amazon Resource Name (ARN) of the scaling plan.
- scaling_
plan_ stringname - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling_
plan_ stringversion - The version number of the scaling plan. This value is always 1.
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Plan StringArn - The Amazon Resource Name (ARN) of the scaling plan.
- scaling
Plan StringName - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling
Plan StringVersion - The version number of the scaling plan. This value is always 1.
- id string
- The provider-assigned unique ID for this managed resource.
- scaling
Plan stringArn - The Amazon Resource Name (ARN) of the scaling plan.
- scaling
Plan stringName - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling
Plan stringVersion - The version number of the scaling plan. This value is always 1.
- id str
- The provider-assigned unique ID for this managed resource.
- scaling_
plan_ strarn - The Amazon Resource Name (ARN) of the scaling plan.
- scaling_
plan_ strname - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling_
plan_ strversion - The version number of the scaling plan. This value is always 1.
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Plan StringArn - The Amazon Resource Name (ARN) of the scaling plan.
- scaling
Plan StringName - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling
Plan StringVersion - The version number of the scaling plan. This value is always 1.
Supporting Types
ScalingPlanApplicationSource, ScalingPlanApplicationSourceArgs
- Cloud
Formation stringStack Arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- Tag
Filters List<Pulumi.Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Tag Filter> - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
- Cloud
Formation stringStack Arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- Tag
Filters []ScalingPlan Tag Filter - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
- cloud_
formation_ stringstack_ arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- tag_
filters list(object) - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
- cloud
Formation StringStack Arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- tag
Filters List<ScalingPlan Tag Filter> - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
- cloud
Formation stringStack Arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- tag
Filters ScalingPlan Tag Filter[] - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
- cloud_
formation_ strstack_ arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- tag_
filters Sequence[ScalingPlan Tag Filter] - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
- cloud
Formation StringStack Arn - The Amazon Resource Name (ARN) of a CloudFormation stack. The stack must contain at least one scalable resource.
- tag
Filters List<Property Map> - A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
ScalingPlanCustomizedLoadMetricSpecification, ScalingPlanCustomizedLoadMetricSpecificationArgs
- Metric
Name string - The name of the metric.
- Namespace string
- The namespace of the metric.
- Statistic string
- The statistic of the metric.
- Dimensions
List<Pulumi.
Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Metric Dimension> - The dimensions of the metric.
- Unit string
- The unit of the metric.
- Metric
Name string - The name of the metric.
- Namespace string
- The namespace of the metric.
- Statistic string
- The statistic of the metric.
- Dimensions
[]Scaling
Plan Metric Dimension - The dimensions of the metric.
- Unit string
- The unit of the metric.
- metric_
name string - The name of the metric.
- namespace string
- The namespace of the metric.
- statistic string
- The statistic of the metric.
- dimensions list(object)
- The dimensions of the metric.
- unit string
- The unit of the metric.
- metric
Name String - The name of the metric.
- namespace String
- The namespace of the metric.
- statistic String
- The statistic of the metric.
- dimensions
List<Scaling
Plan Metric Dimension> - The dimensions of the metric.
- unit String
- The unit of the metric.
- metric
Name string - The name of the metric.
- namespace string
- The namespace of the metric.
- statistic string
- The statistic of the metric.
- dimensions
Scaling
Plan Metric Dimension[] - The dimensions of the metric.
- unit string
- The unit of the metric.
- metric_
name str - The name of the metric.
- namespace str
- The namespace of the metric.
- statistic str
- The statistic of the metric.
- dimensions
Sequence[Scaling
Plan Metric Dimension] - The dimensions of the metric.
- unit str
- The unit of the metric.
- metric
Name String - The name of the metric.
- namespace String
- The namespace of the metric.
- statistic String
- The statistic of the metric.
- dimensions List<Property Map>
- The dimensions of the metric.
- unit String
- The unit of the metric.
ScalingPlanCustomizedScalingMetricSpecification, ScalingPlanCustomizedScalingMetricSpecificationArgs
- Metric
Name string - The name of the metric.
- Namespace string
- The namespace of the metric.
- Statistic string
- The statistic of the metric.
- Dimensions
List<Pulumi.
Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Metric Dimension> - The dimensions of the metric.
- Unit string
- The unit of the metric.
- Metric
Name string - The name of the metric.
- Namespace string
- The namespace of the metric.
- Statistic string
- The statistic of the metric.
- Dimensions
[]Scaling
Plan Metric Dimension - The dimensions of the metric.
- Unit string
- The unit of the metric.
- metric_
name string - The name of the metric.
- namespace string
- The namespace of the metric.
- statistic string
- The statistic of the metric.
- dimensions list(object)
- The dimensions of the metric.
- unit string
- The unit of the metric.
- metric
Name String - The name of the metric.
- namespace String
- The namespace of the metric.
- statistic String
- The statistic of the metric.
- dimensions
List<Scaling
Plan Metric Dimension> - The dimensions of the metric.
- unit String
- The unit of the metric.
- metric
Name string - The name of the metric.
- namespace string
- The namespace of the metric.
- statistic string
- The statistic of the metric.
- dimensions
Scaling
Plan Metric Dimension[] - The dimensions of the metric.
- unit string
- The unit of the metric.
- metric_
name str - The name of the metric.
- namespace str
- The namespace of the metric.
- statistic str
- The statistic of the metric.
- dimensions
Sequence[Scaling
Plan Metric Dimension] - The dimensions of the metric.
- unit str
- The unit of the metric.
- metric
Name String - The name of the metric.
- namespace String
- The namespace of the metric.
- statistic String
- The statistic of the metric.
- dimensions List<Property Map>
- The dimensions of the metric.
- unit String
- The unit of the metric.
ScalingPlanMetricDimension, ScalingPlanMetricDimensionArgs
ScalingPlanPredefinedLoadMetricSpecification, ScalingPlanPredefinedLoadMetricSpecificationArgs
- Predefined
Load stringMetric Type - The metric type.
- Resource
Label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
- Predefined
Load stringMetric Type - The metric type.
- Resource
Label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
- predefined_
load_ stringmetric_ type - The metric type.
- resource_
label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
- predefined
Load StringMetric Type - The metric type.
- resource
Label String - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
- predefined
Load stringMetric Type - The metric type.
- resource
Label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
- predefined_
load_ strmetric_ type - The metric type.
- resource_
label str - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
- predefined
Load StringMetric Type - The metric type.
- resource
Label String - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.
ScalingPlanPredefinedScalingMetricSpecification, ScalingPlanPredefinedScalingMetricSpecificationArgs
- Predefined
Scaling stringMetric Type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- Resource
Label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
- Predefined
Scaling stringMetric Type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- Resource
Label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
- predefined_
scaling_ stringmetric_ type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- resource_
label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
- predefined
Scaling StringMetric Type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- resource
Label String - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
- predefined
Scaling stringMetric Type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- resource
Label string - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
- predefined_
scaling_ strmetric_ type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- resource_
label str - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
- predefined
Scaling StringMetric Type - The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.
- resource
Label String - Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.
ScalingPlanScalingInstruction, ScalingPlanScalingInstructionArgs
- Max
Capacity int - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- Min
Capacity int - The minimum capacity of the resource.
- Resource
Id string - The ID of the resource. This string consists of the resource type and unique identifier.
- Scalable
Dimension string - The scalable dimension associated with the resource.
- Service
Namespace string - The namespace of the AWS service.
- Target
Tracking List<Pulumi.Configurations Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Target Tracking Configuration> - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- Customized
Load Pulumi.Metric Specification Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Customized Load Metric Specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- Disable
Dynamic boolScaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- Predefined
Load Pulumi.Metric Specification Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Predefined Load Metric Specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- Predictive
Scaling stringMax Capacity Behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- Predictive
Scaling intMax Capacity Buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- Predictive
Scaling stringMode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- Scaling
Policy stringUpdate Behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- Scheduled
Action intBuffer Time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
- Max
Capacity int - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- Min
Capacity int - The minimum capacity of the resource.
- Resource
Id string - The ID of the resource. This string consists of the resource type and unique identifier.
- Scalable
Dimension string - The scalable dimension associated with the resource.
- Service
Namespace string - The namespace of the AWS service.
- Target
Tracking []ScalingConfigurations Plan Target Tracking Configuration - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- Customized
Load ScalingMetric Specification Plan Customized Load Metric Specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- Disable
Dynamic boolScaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- Predefined
Load ScalingMetric Specification Plan Predefined Load Metric Specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- Predictive
Scaling stringMax Capacity Behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- Predictive
Scaling intMax Capacity Buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- Predictive
Scaling stringMode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- Scaling
Policy stringUpdate Behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- Scheduled
Action intBuffer Time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
- max_
capacity number - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- min_
capacity number - The minimum capacity of the resource.
- resource_
id string - The ID of the resource. This string consists of the resource type and unique identifier.
- scalable_
dimension string - The scalable dimension associated with the resource.
- service_
namespace string - The namespace of the AWS service.
- target_
tracking_ list(object)configurations - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- customized_
load_ objectmetric_ specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- disable_
dynamic_ boolscaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- predefined_
load_ objectmetric_ specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- predictive_
scaling_ stringmax_ capacity_ behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- predictive_
scaling_ numbermax_ capacity_ buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- predictive_
scaling_ stringmode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- scaling_
policy_ stringupdate_ behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- scheduled_
action_ numberbuffer_ time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
- max
Capacity Integer - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- min
Capacity Integer - The minimum capacity of the resource.
- resource
Id String - The ID of the resource. This string consists of the resource type and unique identifier.
- scalable
Dimension String - The scalable dimension associated with the resource.
- service
Namespace String - The namespace of the AWS service.
- target
Tracking List<ScalingConfigurations Plan Target Tracking Configuration> - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- customized
Load ScalingMetric Specification Plan Customized Load Metric Specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- disable
Dynamic BooleanScaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- predefined
Load ScalingMetric Specification Plan Predefined Load Metric Specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- predictive
Scaling StringMax Capacity Behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- predictive
Scaling IntegerMax Capacity Buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- predictive
Scaling StringMode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- scaling
Policy StringUpdate Behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- scheduled
Action IntegerBuffer Time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
- max
Capacity number - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- min
Capacity number - The minimum capacity of the resource.
- resource
Id string - The ID of the resource. This string consists of the resource type and unique identifier.
- scalable
Dimension string - The scalable dimension associated with the resource.
- service
Namespace string - The namespace of the AWS service.
- target
Tracking ScalingConfigurations Plan Target Tracking Configuration[] - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- customized
Load ScalingMetric Specification Plan Customized Load Metric Specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- disable
Dynamic booleanScaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- predefined
Load ScalingMetric Specification Plan Predefined Load Metric Specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- predictive
Scaling stringMax Capacity Behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- predictive
Scaling numberMax Capacity Buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- predictive
Scaling stringMode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- scaling
Policy stringUpdate Behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- scheduled
Action numberBuffer Time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
- max_
capacity int - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- min_
capacity int - The minimum capacity of the resource.
- resource_
id str - The ID of the resource. This string consists of the resource type and unique identifier.
- scalable_
dimension str - The scalable dimension associated with the resource.
- service_
namespace str - The namespace of the AWS service.
- target_
tracking_ Sequence[Scalingconfigurations Plan Target Tracking Configuration] - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- customized_
load_ Scalingmetric_ specification Plan Customized Load Metric Specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- disable_
dynamic_ boolscaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- predefined_
load_ Scalingmetric_ specification Plan Predefined Load Metric Specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- predictive_
scaling_ strmax_ capacity_ behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- predictive_
scaling_ intmax_ capacity_ buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- predictive_
scaling_ strmode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- scaling_
policy_ strupdate_ behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- scheduled_
action_ intbuffer_ time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
- max
Capacity Number - The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.
- min
Capacity Number - The minimum capacity of the resource.
- resource
Id String - The ID of the resource. This string consists of the resource type and unique identifier.
- scalable
Dimension String - The scalable dimension associated with the resource.
- service
Namespace String - The namespace of the AWS service.
- target
Tracking List<Property Map>Configurations - The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.
- customized
Load Property MapMetric Specification - The customized load metric to use for predictive scaling. This property or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- disable
Dynamic BooleanScaling - Controls whether dynamic scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations. The default is enabled (false).
- predefined
Load Property MapMetric Specification - The predefined load metric to use for predictive scaling. This property or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.
- predictive
Scaling StringMax Capacity Behavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.
- predictive
Scaling NumberMax Capacity Buffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer. The range is 1-100. Required if PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.
- predictive
Scaling StringMode - The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not apply any scheduled scaling actions based on the capacity forecast.
- scaling
Policy StringUpdate Behavior - Controls whether a resource's externally created scaling policies are deleted and new target tracking scaling policies created. The default value is KeepExternalPolicies. Valid only when configuring dynamic scaling.
- scheduled
Action NumberBuffer Time - The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds. Valid only when configuring predictive scaling.
ScalingPlanTagFilter, ScalingPlanTagFilterArgs
ScalingPlanTargetTrackingConfiguration, ScalingPlanTargetTrackingConfigurationArgs
- Target
Value double - The target value for the metric.
- Customized
Scaling Pulumi.Metric Specification Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Customized Scaling Metric Specification - A customized metric. You can specify either a predefined metric or a customized metric.
- Disable
Scale boolIn - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- Estimated
Instance intWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- Predefined
Scaling Pulumi.Metric Specification Aws Native. Auto Scaling Plans. Inputs. Scaling Plan Predefined Scaling Metric Specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- Scale
In intCooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- Scale
Out intCooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- Target
Value float64 - The target value for the metric.
- Customized
Scaling ScalingMetric Specification Plan Customized Scaling Metric Specification - A customized metric. You can specify either a predefined metric or a customized metric.
- Disable
Scale boolIn - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- Estimated
Instance intWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- Predefined
Scaling ScalingMetric Specification Plan Predefined Scaling Metric Specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- Scale
In intCooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- Scale
Out intCooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- target_
value number - The target value for the metric.
- customized_
scaling_ objectmetric_ specification - A customized metric. You can specify either a predefined metric or a customized metric.
- disable_
scale_ boolin - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- estimated_
instance_ numberwarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- predefined_
scaling_ objectmetric_ specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- scale_
in_ numbercooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- scale_
out_ numbercooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- target
Value Double - The target value for the metric.
- customized
Scaling ScalingMetric Specification Plan Customized Scaling Metric Specification - A customized metric. You can specify either a predefined metric or a customized metric.
- disable
Scale BooleanIn - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- estimated
Instance IntegerWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- predefined
Scaling ScalingMetric Specification Plan Predefined Scaling Metric Specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- scale
In IntegerCooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- scale
Out IntegerCooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- target
Value number - The target value for the metric.
- customized
Scaling ScalingMetric Specification Plan Customized Scaling Metric Specification - A customized metric. You can specify either a predefined metric or a customized metric.
- disable
Scale booleanIn - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- estimated
Instance numberWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- predefined
Scaling ScalingMetric Specification Plan Predefined Scaling Metric Specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- scale
In numberCooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- scale
Out numberCooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- target_
value float - The target value for the metric.
- customized_
scaling_ Scalingmetric_ specification Plan Customized Scaling Metric Specification - A customized metric. You can specify either a predefined metric or a customized metric.
- disable_
scale_ boolin - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- estimated_
instance_ intwarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- predefined_
scaling_ Scalingmetric_ specification Plan Predefined Scaling Metric Specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- scale_
in_ intcooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- scale_
out_ intcooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- target
Value Number - The target value for the metric.
- customized
Scaling Property MapMetric Specification - A customized metric. You can specify either a predefined metric or a customized metric.
- disable
Scale BooleanIn - Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource. The default value is false.
- estimated
Instance NumberWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
- predefined
Scaling Property MapMetric Specification - A predefined metric. You can specify either a predefined metric or a customized metric.
- scale
In NumberCooldown - The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
- scale
Out NumberCooldown - The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi