aws.autoscalingplans.ScalingPlan
Explore with Pulumi AI
Manages an AWS Auto Scaling scaling plan. More information can be found in the AWS Auto Scaling User Guide.
NOTE: The AWS Auto Scaling service uses an AWS IAM service-linked role to manage predictive scaling of Amazon EC2 Auto Scaling groups. The service attempts to automatically create this role the first time a scaling plan with predictive scaling enabled is created. An
aws.iam.ServiceLinkedRole
resource can be used to manually manage this role. See the AWS documentation for more details.
Example Usage
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,
name: Optional[str] = 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:autoscalingplans:ScalingPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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.
Constructor example
The following reference example uses placeholder values for all input properties.
var scalingPlanResource = new Aws.AutoScalingPlans.ScalingPlan("scalingPlanResource", new()
{
ApplicationSource = new Aws.AutoScalingPlans.Inputs.ScalingPlanApplicationSourceArgs
{
CloudformationStackArn = "string",
TagFilters = new[]
{
new Aws.AutoScalingPlans.Inputs.ScalingPlanApplicationSourceTagFilterArgs
{
Key = "string",
Values = new[]
{
"string",
},
},
},
},
ScalingInstructions = new[]
{
new Aws.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionArgs
{
ScalableDimension = "string",
ResourceId = "string",
MaxCapacity = 0,
MinCapacity = 0,
TargetTrackingConfigurations = new[]
{
new Aws.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionTargetTrackingConfigurationArgs
{
TargetValue = 0,
CustomizedScalingMetricSpecification = new Aws.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs
{
MetricName = "string",
Namespace = "string",
Statistic = "string",
Dimensions =
{
{ "string", "string" },
},
Unit = "string",
},
DisableScaleIn = false,
EstimatedInstanceWarmup = 0,
PredefinedScalingMetricSpecification = new Aws.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs
{
PredefinedScalingMetricType = "string",
ResourceLabel = "string",
},
ScaleInCooldown = 0,
ScaleOutCooldown = 0,
},
},
ServiceNamespace = "string",
PredefinedLoadMetricSpecification = new Aws.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs
{
PredefinedLoadMetricType = "string",
ResourceLabel = "string",
},
PredictiveScalingMaxCapacityBuffer = 0,
ScalingPolicyUpdateBehavior = "string",
CustomizedLoadMetricSpecification = new Aws.AutoScalingPlans.Inputs.ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs
{
MetricName = "string",
Namespace = "string",
Statistic = "string",
Dimensions =
{
{ "string", "string" },
},
Unit = "string",
},
DisableDynamicScaling = false,
ScheduledActionBufferTime = 0,
PredictiveScalingMaxCapacityBehavior = "string",
PredictiveScalingMode = "string",
},
},
Name = "string",
});
example, err := autoscalingplans.NewScalingPlan(ctx, "scalingPlanResource", &autoscalingplans.ScalingPlanArgs{
ApplicationSource: &autoscalingplans.ScalingPlanApplicationSourceArgs{
CloudformationStackArn: pulumi.String("string"),
TagFilters: autoscalingplans.ScalingPlanApplicationSourceTagFilterArray{
&autoscalingplans.ScalingPlanApplicationSourceTagFilterArgs{
Key: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
ScalingInstructions: autoscalingplans.ScalingPlanScalingInstructionArray{
&autoscalingplans.ScalingPlanScalingInstructionArgs{
ScalableDimension: pulumi.String("string"),
ResourceId: pulumi.String("string"),
MaxCapacity: pulumi.Int(0),
MinCapacity: pulumi.Int(0),
TargetTrackingConfigurations: autoscalingplans.ScalingPlanScalingInstructionTargetTrackingConfigurationArray{
&autoscalingplans.ScalingPlanScalingInstructionTargetTrackingConfigurationArgs{
TargetValue: pulumi.Float64(0),
CustomizedScalingMetricSpecification: &autoscalingplans.ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs{
MetricName: pulumi.String("string"),
Namespace: pulumi.String("string"),
Statistic: pulumi.String("string"),
Dimensions: pulumi.StringMap{
"string": pulumi.String("string"),
},
Unit: pulumi.String("string"),
},
DisableScaleIn: pulumi.Bool(false),
EstimatedInstanceWarmup: pulumi.Int(0),
PredefinedScalingMetricSpecification: &autoscalingplans.ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs{
PredefinedScalingMetricType: pulumi.String("string"),
ResourceLabel: pulumi.String("string"),
},
ScaleInCooldown: pulumi.Int(0),
ScaleOutCooldown: pulumi.Int(0),
},
},
ServiceNamespace: pulumi.String("string"),
PredefinedLoadMetricSpecification: &autoscalingplans.ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs{
PredefinedLoadMetricType: pulumi.String("string"),
ResourceLabel: pulumi.String("string"),
},
PredictiveScalingMaxCapacityBuffer: pulumi.Int(0),
ScalingPolicyUpdateBehavior: pulumi.String("string"),
CustomizedLoadMetricSpecification: &autoscalingplans.ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs{
MetricName: pulumi.String("string"),
Namespace: pulumi.String("string"),
Statistic: pulumi.String("string"),
Dimensions: pulumi.StringMap{
"string": pulumi.String("string"),
},
Unit: pulumi.String("string"),
},
DisableDynamicScaling: pulumi.Bool(false),
ScheduledActionBufferTime: pulumi.Int(0),
PredictiveScalingMaxCapacityBehavior: pulumi.String("string"),
PredictiveScalingMode: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
var scalingPlanResource = new ScalingPlan("scalingPlanResource", ScalingPlanArgs.builder()
.applicationSource(ScalingPlanApplicationSourceArgs.builder()
.cloudformationStackArn("string")
.tagFilters(ScalingPlanApplicationSourceTagFilterArgs.builder()
.key("string")
.values("string")
.build())
.build())
.scalingInstructions(ScalingPlanScalingInstructionArgs.builder()
.scalableDimension("string")
.resourceId("string")
.maxCapacity(0)
.minCapacity(0)
.targetTrackingConfigurations(ScalingPlanScalingInstructionTargetTrackingConfigurationArgs.builder()
.targetValue(0)
.customizedScalingMetricSpecification(ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs.builder()
.metricName("string")
.namespace("string")
.statistic("string")
.dimensions(Map.of("string", "string"))
.unit("string")
.build())
.disableScaleIn(false)
.estimatedInstanceWarmup(0)
.predefinedScalingMetricSpecification(ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs.builder()
.predefinedScalingMetricType("string")
.resourceLabel("string")
.build())
.scaleInCooldown(0)
.scaleOutCooldown(0)
.build())
.serviceNamespace("string")
.predefinedLoadMetricSpecification(ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs.builder()
.predefinedLoadMetricType("string")
.resourceLabel("string")
.build())
.predictiveScalingMaxCapacityBuffer(0)
.scalingPolicyUpdateBehavior("string")
.customizedLoadMetricSpecification(ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs.builder()
.metricName("string")
.namespace("string")
.statistic("string")
.dimensions(Map.of("string", "string"))
.unit("string")
.build())
.disableDynamicScaling(false)
.scheduledActionBufferTime(0)
.predictiveScalingMaxCapacityBehavior("string")
.predictiveScalingMode("string")
.build())
.name("string")
.build());
scaling_plan_resource = aws.autoscalingplans.ScalingPlan("scalingPlanResource",
application_source={
"cloudformationStackArn": "string",
"tagFilters": [{
"key": "string",
"values": ["string"],
}],
},
scaling_instructions=[{
"scalableDimension": "string",
"resourceId": "string",
"maxCapacity": 0,
"minCapacity": 0,
"targetTrackingConfigurations": [{
"targetValue": 0,
"customizedScalingMetricSpecification": {
"metricName": "string",
"namespace": "string",
"statistic": "string",
"dimensions": {
"string": "string",
},
"unit": "string",
},
"disableScaleIn": False,
"estimatedInstanceWarmup": 0,
"predefinedScalingMetricSpecification": {
"predefinedScalingMetricType": "string",
"resourceLabel": "string",
},
"scaleInCooldown": 0,
"scaleOutCooldown": 0,
}],
"serviceNamespace": "string",
"predefinedLoadMetricSpecification": {
"predefinedLoadMetricType": "string",
"resourceLabel": "string",
},
"predictiveScalingMaxCapacityBuffer": 0,
"scalingPolicyUpdateBehavior": "string",
"customizedLoadMetricSpecification": {
"metricName": "string",
"namespace": "string",
"statistic": "string",
"dimensions": {
"string": "string",
},
"unit": "string",
},
"disableDynamicScaling": False,
"scheduledActionBufferTime": 0,
"predictiveScalingMaxCapacityBehavior": "string",
"predictiveScalingMode": "string",
}],
name="string")
const scalingPlanResource = new aws.autoscalingplans.ScalingPlan("scalingPlanResource", {
applicationSource: {
cloudformationStackArn: "string",
tagFilters: [{
key: "string",
values: ["string"],
}],
},
scalingInstructions: [{
scalableDimension: "string",
resourceId: "string",
maxCapacity: 0,
minCapacity: 0,
targetTrackingConfigurations: [{
targetValue: 0,
customizedScalingMetricSpecification: {
metricName: "string",
namespace: "string",
statistic: "string",
dimensions: {
string: "string",
},
unit: "string",
},
disableScaleIn: false,
estimatedInstanceWarmup: 0,
predefinedScalingMetricSpecification: {
predefinedScalingMetricType: "string",
resourceLabel: "string",
},
scaleInCooldown: 0,
scaleOutCooldown: 0,
}],
serviceNamespace: "string",
predefinedLoadMetricSpecification: {
predefinedLoadMetricType: "string",
resourceLabel: "string",
},
predictiveScalingMaxCapacityBuffer: 0,
scalingPolicyUpdateBehavior: "string",
customizedLoadMetricSpecification: {
metricName: "string",
namespace: "string",
statistic: "string",
dimensions: {
string: "string",
},
unit: "string",
},
disableDynamicScaling: false,
scheduledActionBufferTime: 0,
predictiveScalingMaxCapacityBehavior: "string",
predictiveScalingMode: "string",
}],
name: "string",
});
type: aws:autoscalingplans:ScalingPlan
properties:
applicationSource:
cloudformationStackArn: string
tagFilters:
- key: string
values:
- string
name: string
scalingInstructions:
- customizedLoadMetricSpecification:
dimensions:
string: string
metricName: string
namespace: string
statistic: string
unit: string
disableDynamicScaling: false
maxCapacity: 0
minCapacity: 0
predefinedLoadMetricSpecification:
predefinedLoadMetricType: string
resourceLabel: string
predictiveScalingMaxCapacityBehavior: string
predictiveScalingMaxCapacityBuffer: 0
predictiveScalingMode: string
resourceId: string
scalableDimension: string
scalingPolicyUpdateBehavior: string
scheduledActionBufferTime: 0
serviceNamespace: string
targetTrackingConfigurations:
- customizedScalingMetricSpecification:
dimensions:
string: string
metricName: string
namespace: string
statistic: string
unit: string
disableScaleIn: false
estimatedInstanceWarmup: 0
predefinedScalingMetricSpecification:
predefinedScalingMetricType: string
resourceLabel: string
scaleInCooldown: 0
scaleOutCooldown: 0
targetValue: 0
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
The ScalingPlan resource accepts the following input properties:
- Application
Source ScalingPlan Application Source - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- Scaling
Instructions List<ScalingPlan Scaling Instruction> - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- Name string
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- Application
Source ScalingPlan Application Source Args - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- Scaling
Instructions []ScalingPlan Scaling Instruction Args - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- Name string
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- application
Source ScalingPlan Application Source - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scaling
Instructions List<ScalingPlan Scaling Instruction> - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- name String
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- application
Source ScalingPlan Application Source - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scaling
Instructions ScalingPlan Scaling Instruction[] - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- name string
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- application_
source ScalingPlan Application Source Args - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scaling_
instructions Sequence[ScalingPlan Scaling Instruction Args] - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- name str
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- application
Source Property Map - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scaling
Instructions List<Property Map> - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- name String
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
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 intVersion - 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 intVersion - 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 IntegerVersion - 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 numberVersion - 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_ intversion - 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 NumberVersion - The version number of the scaling plan. This value is always 1.
Look up Existing ScalingPlan Resource
Get an existing ScalingPlan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ScalingPlanState, opts?: CustomResourceOptions): ScalingPlan
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_source: Optional[ScalingPlanApplicationSourceArgs] = None,
name: Optional[str] = None,
scaling_instructions: Optional[Sequence[ScalingPlanScalingInstructionArgs]] = None,
scaling_plan_version: Optional[int] = None) -> ScalingPlan
func GetScalingPlan(ctx *Context, name string, id IDInput, state *ScalingPlanState, opts ...ResourceOption) (*ScalingPlan, error)
public static ScalingPlan Get(string name, Input<string> id, ScalingPlanState? state, CustomResourceOptions? opts = null)
public static ScalingPlan get(String name, Output<String> id, ScalingPlanState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application
Source ScalingPlan Application Source - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- Name string
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- Scaling
Instructions List<ScalingPlan Scaling Instruction> - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- Scaling
Plan intVersion - The version number of the scaling plan. This value is always 1.
- Application
Source ScalingPlan Application Source Args - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- Name string
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- Scaling
Instructions []ScalingPlan Scaling Instruction Args - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- Scaling
Plan intVersion - The version number of the scaling plan. This value is always 1.
- application
Source ScalingPlan Application Source - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- name String
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling
Instructions List<ScalingPlan Scaling Instruction> - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scaling
Plan IntegerVersion - The version number of the scaling plan. This value is always 1.
- application
Source ScalingPlan Application Source - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- name string
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling
Instructions ScalingPlan Scaling Instruction[] - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scaling
Plan numberVersion - The version number of the scaling plan. This value is always 1.
- application_
source ScalingPlan Application Source Args - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- name str
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling_
instructions Sequence[ScalingPlan Scaling Instruction Args] - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scaling_
plan_ intversion - The version number of the scaling plan. This value is always 1.
- application
Source Property Map - CloudFormation stack or set of tags. You can create one scaling plan per application source.
- name String
- Name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- scaling
Instructions List<Property Map> - Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scaling
Plan NumberVersion - The version number of the scaling plan. This value is always 1.
Supporting Types
ScalingPlanApplicationSource, ScalingPlanApplicationSourceArgs
- Cloudformation
Stack stringArn - ARN of a AWS CloudFormation stack.
- Tag
Filters List<ScalingPlan Application Source Tag Filter> - Set of tags.
- Cloudformation
Stack stringArn - ARN of a AWS CloudFormation stack.
- Tag
Filters []ScalingPlan Application Source Tag Filter - Set of tags.
- cloudformation
Stack StringArn - ARN of a AWS CloudFormation stack.
- tag
Filters List<ScalingPlan Application Source Tag Filter> - Set of tags.
- cloudformation
Stack stringArn - ARN of a AWS CloudFormation stack.
- tag
Filters ScalingPlan Application Source Tag Filter[] - Set of tags.
- cloudformation_
stack_ strarn - ARN of a AWS CloudFormation stack.
- tag_
filters Sequence[ScalingPlan Application Source Tag Filter] - Set of tags.
- cloudformation
Stack StringArn - ARN of a AWS CloudFormation stack.
- tag
Filters List<Property Map> - Set of tags.
ScalingPlanApplicationSourceTagFilter, ScalingPlanApplicationSourceTagFilterArgs
ScalingPlanScalingInstruction, ScalingPlanScalingInstructionArgs
- Max
Capacity int - Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for
predictive_scaling_max_capacity_behavior
. - Min
Capacity int - Minimum capacity of the resource.
- Resource
Id string - ID of the resource. This string consists of the resource type and unique identifier.
- Scalable
Dimension string - Scalable dimension associated with the resource. Valid values:
autoscaling:autoScalingGroup:DesiredCapacity
,dynamodb:index:ReadCapacityUnits
,dynamodb:index:WriteCapacityUnits
,dynamodb:table:ReadCapacityUnits
,dynamodb:table:WriteCapacityUnits
,ecs:service:DesiredCount
,ec2:spot-fleet-request:TargetCapacity
,rds:cluster:ReadReplicaCount
. - Service
Namespace string - Namespace of the AWS service. Valid values:
autoscaling
,dynamodb
,ecs
,ec2
,rds
. - Target
Tracking List<ScalingConfigurations Plan Scaling Instruction Target Tracking Configuration> - Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.
- Customized
Load ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification - Customized load metric to use for predictive scaling. You must specify either
customized_load_metric_specification
orpredefined_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - Disable
Dynamic boolScaling - Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to
false
. - Predefined
Load ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification - Predefined load metric to use for predictive scaling. You must specify either
predefined_load_metric_specification
orcustomized_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - 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.
Valid values:
SetForecastCapacityToMaxCapacity
,SetMaxCapacityAboveForecastCapacity
,SetMaxCapacityToForecastCapacity
. - Predictive
Scaling intMax Capacity Buffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- Predictive
Scaling stringMode - Predictive scaling mode. Valid values:
ForecastAndScale
,ForecastOnly
. - Scaling
Policy stringUpdate Behavior - Controls whether a resource's externally created scaling policies are kept or replaced. Valid values:
KeepExternalPolicies
,ReplaceExternalPolicies
. Defaults toKeepExternalPolicies
. - Scheduled
Action intBuffer Time - Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- Max
Capacity int - Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for
predictive_scaling_max_capacity_behavior
. - Min
Capacity int - Minimum capacity of the resource.
- Resource
Id string - ID of the resource. This string consists of the resource type and unique identifier.
- Scalable
Dimension string - Scalable dimension associated with the resource. Valid values:
autoscaling:autoScalingGroup:DesiredCapacity
,dynamodb:index:ReadCapacityUnits
,dynamodb:index:WriteCapacityUnits
,dynamodb:table:ReadCapacityUnits
,dynamodb:table:WriteCapacityUnits
,ecs:service:DesiredCount
,ec2:spot-fleet-request:TargetCapacity
,rds:cluster:ReadReplicaCount
. - Service
Namespace string - Namespace of the AWS service. Valid values:
autoscaling
,dynamodb
,ecs
,ec2
,rds
. - Target
Tracking []ScalingConfigurations Plan Scaling Instruction Target Tracking Configuration - Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.
- Customized
Load ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification - Customized load metric to use for predictive scaling. You must specify either
customized_load_metric_specification
orpredefined_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - Disable
Dynamic boolScaling - Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to
false
. - Predefined
Load ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification - Predefined load metric to use for predictive scaling. You must specify either
predefined_load_metric_specification
orcustomized_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - 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.
Valid values:
SetForecastCapacityToMaxCapacity
,SetMaxCapacityAboveForecastCapacity
,SetMaxCapacityToForecastCapacity
. - Predictive
Scaling intMax Capacity Buffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- Predictive
Scaling stringMode - Predictive scaling mode. Valid values:
ForecastAndScale
,ForecastOnly
. - Scaling
Policy stringUpdate Behavior - Controls whether a resource's externally created scaling policies are kept or replaced. Valid values:
KeepExternalPolicies
,ReplaceExternalPolicies
. Defaults toKeepExternalPolicies
. - Scheduled
Action intBuffer Time - Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- max
Capacity Integer - Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for
predictive_scaling_max_capacity_behavior
. - min
Capacity Integer - Minimum capacity of the resource.
- resource
Id String - ID of the resource. This string consists of the resource type and unique identifier.
- scalable
Dimension String - Scalable dimension associated with the resource. Valid values:
autoscaling:autoScalingGroup:DesiredCapacity
,dynamodb:index:ReadCapacityUnits
,dynamodb:index:WriteCapacityUnits
,dynamodb:table:ReadCapacityUnits
,dynamodb:table:WriteCapacityUnits
,ecs:service:DesiredCount
,ec2:spot-fleet-request:TargetCapacity
,rds:cluster:ReadReplicaCount
. - service
Namespace String - Namespace of the AWS service. Valid values:
autoscaling
,dynamodb
,ecs
,ec2
,rds
. - target
Tracking List<ScalingConfigurations Plan Scaling Instruction Target Tracking Configuration> - Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.
- customized
Load ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification - Customized load metric to use for predictive scaling. You must specify either
customized_load_metric_specification
orpredefined_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - disable
Dynamic BooleanScaling - Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to
false
. - predefined
Load ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification - Predefined load metric to use for predictive scaling. You must specify either
predefined_load_metric_specification
orcustomized_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - 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.
Valid values:
SetForecastCapacityToMaxCapacity
,SetMaxCapacityAboveForecastCapacity
,SetMaxCapacityToForecastCapacity
. - predictive
Scaling IntegerMax Capacity Buffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictive
Scaling StringMode - Predictive scaling mode. Valid values:
ForecastAndScale
,ForecastOnly
. - scaling
Policy StringUpdate Behavior - Controls whether a resource's externally created scaling policies are kept or replaced. Valid values:
KeepExternalPolicies
,ReplaceExternalPolicies
. Defaults toKeepExternalPolicies
. - scheduled
Action IntegerBuffer Time - Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- max
Capacity number - Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for
predictive_scaling_max_capacity_behavior
. - min
Capacity number - Minimum capacity of the resource.
- resource
Id string - ID of the resource. This string consists of the resource type and unique identifier.
- scalable
Dimension string - Scalable dimension associated with the resource. Valid values:
autoscaling:autoScalingGroup:DesiredCapacity
,dynamodb:index:ReadCapacityUnits
,dynamodb:index:WriteCapacityUnits
,dynamodb:table:ReadCapacityUnits
,dynamodb:table:WriteCapacityUnits
,ecs:service:DesiredCount
,ec2:spot-fleet-request:TargetCapacity
,rds:cluster:ReadReplicaCount
. - service
Namespace string - Namespace of the AWS service. Valid values:
autoscaling
,dynamodb
,ecs
,ec2
,rds
. - target
Tracking ScalingConfigurations Plan Scaling Instruction Target Tracking Configuration[] - Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.
- customized
Load ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification - Customized load metric to use for predictive scaling. You must specify either
customized_load_metric_specification
orpredefined_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - disable
Dynamic booleanScaling - Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to
false
. - predefined
Load ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification - Predefined load metric to use for predictive scaling. You must specify either
predefined_load_metric_specification
orcustomized_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - 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.
Valid values:
SetForecastCapacityToMaxCapacity
,SetMaxCapacityAboveForecastCapacity
,SetMaxCapacityToForecastCapacity
. - predictive
Scaling numberMax Capacity Buffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictive
Scaling stringMode - Predictive scaling mode. Valid values:
ForecastAndScale
,ForecastOnly
. - scaling
Policy stringUpdate Behavior - Controls whether a resource's externally created scaling policies are kept or replaced. Valid values:
KeepExternalPolicies
,ReplaceExternalPolicies
. Defaults toKeepExternalPolicies
. - scheduled
Action numberBuffer Time - Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- max_
capacity int - Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for
predictive_scaling_max_capacity_behavior
. - min_
capacity int - Minimum capacity of the resource.
- resource_
id str - ID of the resource. This string consists of the resource type and unique identifier.
- scalable_
dimension str - Scalable dimension associated with the resource. Valid values:
autoscaling:autoScalingGroup:DesiredCapacity
,dynamodb:index:ReadCapacityUnits
,dynamodb:index:WriteCapacityUnits
,dynamodb:table:ReadCapacityUnits
,dynamodb:table:WriteCapacityUnits
,ecs:service:DesiredCount
,ec2:spot-fleet-request:TargetCapacity
,rds:cluster:ReadReplicaCount
. - service_
namespace str - Namespace of the AWS service. Valid values:
autoscaling
,dynamodb
,ecs
,ec2
,rds
. - target_
tracking_ Sequence[Scalingconfigurations Plan Scaling Instruction Target Tracking Configuration] - Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.
- customized_
load_ Scalingmetric_ specification Plan Scaling Instruction Customized Load Metric Specification - Customized load metric to use for predictive scaling. You must specify either
customized_load_metric_specification
orpredefined_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - disable_
dynamic_ boolscaling - Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to
false
. - predefined_
load_ Scalingmetric_ specification Plan Scaling Instruction Predefined Load Metric Specification - Predefined load metric to use for predictive scaling. You must specify either
predefined_load_metric_specification
orcustomized_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - 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.
Valid values:
SetForecastCapacityToMaxCapacity
,SetMaxCapacityAboveForecastCapacity
,SetMaxCapacityToForecastCapacity
. - predictive_
scaling_ intmax_ capacity_ buffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictive_
scaling_ strmode - Predictive scaling mode. Valid values:
ForecastAndScale
,ForecastOnly
. - scaling_
policy_ strupdate_ behavior - Controls whether a resource's externally created scaling policies are kept or replaced. Valid values:
KeepExternalPolicies
,ReplaceExternalPolicies
. Defaults toKeepExternalPolicies
. - scheduled_
action_ intbuffer_ time - Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- max
Capacity Number - Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for
predictive_scaling_max_capacity_behavior
. - min
Capacity Number - Minimum capacity of the resource.
- resource
Id String - ID of the resource. This string consists of the resource type and unique identifier.
- scalable
Dimension String - Scalable dimension associated with the resource. Valid values:
autoscaling:autoScalingGroup:DesiredCapacity
,dynamodb:index:ReadCapacityUnits
,dynamodb:index:WriteCapacityUnits
,dynamodb:table:ReadCapacityUnits
,dynamodb:table:WriteCapacityUnits
,ecs:service:DesiredCount
,ec2:spot-fleet-request:TargetCapacity
,rds:cluster:ReadReplicaCount
. - service
Namespace String - Namespace of the AWS service. Valid values:
autoscaling
,dynamodb
,ecs
,ec2
,rds
. - target
Tracking List<Property Map>Configurations - Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.
- customized
Load Property MapMetric Specification - Customized load metric to use for predictive scaling. You must specify either
customized_load_metric_specification
orpredefined_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - disable
Dynamic BooleanScaling - Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to
false
. - predefined
Load Property MapMetric Specification - Predefined load metric to use for predictive scaling. You must specify either
predefined_load_metric_specification
orcustomized_load_metric_specification
when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference. - 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.
Valid values:
SetForecastCapacityToMaxCapacity
,SetMaxCapacityAboveForecastCapacity
,SetMaxCapacityToForecastCapacity
. - predictive
Scaling NumberMax Capacity Buffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictive
Scaling StringMode - Predictive scaling mode. Valid values:
ForecastAndScale
,ForecastOnly
. - scaling
Policy StringUpdate Behavior - Controls whether a resource's externally created scaling policies are kept or replaced. Valid values:
KeepExternalPolicies
,ReplaceExternalPolicies
. Defaults toKeepExternalPolicies
. - scheduled
Action NumberBuffer Time - Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
ScalingPlanScalingInstructionCustomizedLoadMetricSpecification, ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs
- Metric
Name string - Name of the metric.
- Namespace string
- Namespace of the metric.
- Statistic string
- Statistic of the metric. Currently, the value must always be
Sum
. - Dimensions Dictionary<string, string>
- Dimensions of the metric.
- Unit string
- Unit of the metric.
- Metric
Name string - Name of the metric.
- Namespace string
- Namespace of the metric.
- Statistic string
- Statistic of the metric. Currently, the value must always be
Sum
. - Dimensions map[string]string
- Dimensions of the metric.
- Unit string
- Unit of the metric.
- metric
Name String - Name of the metric.
- namespace String
- Namespace of the metric.
- statistic String
- Statistic of the metric. Currently, the value must always be
Sum
. - dimensions Map<String,String>
- Dimensions of the metric.
- unit String
- Unit of the metric.
- metric
Name string - Name of the metric.
- namespace string
- Namespace of the metric.
- statistic string
- Statistic of the metric. Currently, the value must always be
Sum
. - dimensions {[key: string]: string}
- Dimensions of the metric.
- unit string
- Unit of the metric.
- metric_
name str - Name of the metric.
- namespace str
- Namespace of the metric.
- statistic str
- Statistic of the metric. Currently, the value must always be
Sum
. - dimensions Mapping[str, str]
- Dimensions of the metric.
- unit str
- Unit of the metric.
- metric
Name String - Name of the metric.
- namespace String
- Namespace of the metric.
- statistic String
- Statistic of the metric. Currently, the value must always be
Sum
. - dimensions Map<String>
- Dimensions of the metric.
- unit String
- Unit of the metric.
ScalingPlanScalingInstructionPredefinedLoadMetricSpecification, ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs
- Predefined
Load stringMetric Type - Metric type. Valid values:
ALBTargetGroupRequestCount
,ASGTotalCPUUtilization
,ASGTotalNetworkIn
,ASGTotalNetworkOut
. - Resource
Label string - Identifies the resource associated with the metric type.
- Predefined
Load stringMetric Type - Metric type. Valid values:
ALBTargetGroupRequestCount
,ASGTotalCPUUtilization
,ASGTotalNetworkIn
,ASGTotalNetworkOut
. - Resource
Label string - Identifies the resource associated with the metric type.
- predefined
Load StringMetric Type - Metric type. Valid values:
ALBTargetGroupRequestCount
,ASGTotalCPUUtilization
,ASGTotalNetworkIn
,ASGTotalNetworkOut
. - resource
Label String - Identifies the resource associated with the metric type.
- predefined
Load stringMetric Type - Metric type. Valid values:
ALBTargetGroupRequestCount
,ASGTotalCPUUtilization
,ASGTotalNetworkIn
,ASGTotalNetworkOut
. - resource
Label string - Identifies the resource associated with the metric type.
- predefined_
load_ strmetric_ type - Metric type. Valid values:
ALBTargetGroupRequestCount
,ASGTotalCPUUtilization
,ASGTotalNetworkIn
,ASGTotalNetworkOut
. - resource_
label str - Identifies the resource associated with the metric type.
- predefined
Load StringMetric Type - Metric type. Valid values:
ALBTargetGroupRequestCount
,ASGTotalCPUUtilization
,ASGTotalNetworkIn
,ASGTotalNetworkOut
. - resource
Label String - Identifies the resource associated with the metric type.
ScalingPlanScalingInstructionTargetTrackingConfiguration, ScalingPlanScalingInstructionTargetTrackingConfigurationArgs
- Target
Value double - Target value for the metric.
- Customized
Scaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification - Customized metric. You can specify either
customized_scaling_metric_specification
orpredefined_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - Disable
Scale boolIn - Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to
false
. - Estimated
Instance intWarmup - 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 Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification - Predefined metric. You can specify either
predefined_scaling_metric_specification
orcustomized_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - Scale
In intCooldown - 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 - 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 - Target value for the metric.
- Customized
Scaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification - Customized metric. You can specify either
customized_scaling_metric_specification
orpredefined_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - Disable
Scale boolIn - Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to
false
. - Estimated
Instance intWarmup - 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 Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification - Predefined metric. You can specify either
predefined_scaling_metric_specification
orcustomized_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - Scale
In intCooldown - 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 - 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 - Target value for the metric.
- customized
Scaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification - Customized metric. You can specify either
customized_scaling_metric_specification
orpredefined_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - disable
Scale BooleanIn - Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to
false
. - estimated
Instance IntegerWarmup - 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 Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification - Predefined metric. You can specify either
predefined_scaling_metric_specification
orcustomized_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - scale
In IntegerCooldown - 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 - 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 - Target value for the metric.
- customized
Scaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification - Customized metric. You can specify either
customized_scaling_metric_specification
orpredefined_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - disable
Scale booleanIn - Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to
false
. - estimated
Instance numberWarmup - 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 Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification - Predefined metric. You can specify either
predefined_scaling_metric_specification
orcustomized_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - scale
In numberCooldown - 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 - 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 - Target value for the metric.
- customized_
scaling_ Scalingmetric_ specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification - Customized metric. You can specify either
customized_scaling_metric_specification
orpredefined_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - disable_
scale_ boolin - Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to
false
. - estimated_
instance_ intwarmup - 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 Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification - Predefined metric. You can specify either
predefined_scaling_metric_specification
orcustomized_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - scale_
in_ intcooldown - 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 - 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 - Target value for the metric.
- customized
Scaling Property MapMetric Specification - Customized metric. You can specify either
customized_scaling_metric_specification
orpredefined_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - disable
Scale BooleanIn - Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to
false
. - estimated
Instance NumberWarmup - 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 - Predefined metric. You can specify either
predefined_scaling_metric_specification
orcustomized_scaling_metric_specification
. More details can be found in the AWS Auto Scaling API Reference. - scale
In NumberCooldown - 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 - 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.
ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecification, ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs
- Metric
Name string - Name of the metric.
- Namespace string
- Namespace of the metric.
- Statistic string
- Statistic of the metric. Valid values:
Average
,Maximum
,Minimum
,SampleCount
,Sum
. - Dimensions Dictionary<string, string>
- Dimensions of the metric.
- Unit string
- Unit of the metric.
- Metric
Name string - Name of the metric.
- Namespace string
- Namespace of the metric.
- Statistic string
- Statistic of the metric. Valid values:
Average
,Maximum
,Minimum
,SampleCount
,Sum
. - Dimensions map[string]string
- Dimensions of the metric.
- Unit string
- Unit of the metric.
- metric
Name String - Name of the metric.
- namespace String
- Namespace of the metric.
- statistic String
- Statistic of the metric. Valid values:
Average
,Maximum
,Minimum
,SampleCount
,Sum
. - dimensions Map<String,String>
- Dimensions of the metric.
- unit String
- Unit of the metric.
- metric
Name string - Name of the metric.
- namespace string
- Namespace of the metric.
- statistic string
- Statistic of the metric. Valid values:
Average
,Maximum
,Minimum
,SampleCount
,Sum
. - dimensions {[key: string]: string}
- Dimensions of the metric.
- unit string
- Unit of the metric.
- metric_
name str - Name of the metric.
- namespace str
- Namespace of the metric.
- statistic str
- Statistic of the metric. Valid values:
Average
,Maximum
,Minimum
,SampleCount
,Sum
. - dimensions Mapping[str, str]
- Dimensions of the metric.
- unit str
- Unit of the metric.
- metric
Name String - Name of the metric.
- namespace String
- Namespace of the metric.
- statistic String
- Statistic of the metric. Valid values:
Average
,Maximum
,Minimum
,SampleCount
,Sum
. - dimensions Map<String>
- Dimensions of the metric.
- unit String
- Unit of the metric.
ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecification, ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs
- Predefined
Scaling stringMetric Type - Metric type. Valid values:
ALBRequestCountPerTarget
,ASGAverageCPUUtilization
,ASGAverageNetworkIn
,ASGAverageNetworkOut
,DynamoDBReadCapacityUtilization
,DynamoDBWriteCapacityUtilization
,ECSServiceAverageCPUUtilization
,ECSServiceAverageMemoryUtilization
,EC2SpotFleetRequestAverageCPUUtilization
,EC2SpotFleetRequestAverageNetworkIn
,EC2SpotFleetRequestAverageNetworkOut
,RDSReaderAverageCPUUtilization
,RDSReaderAverageDatabaseConnections
. - Resource
Label string - Identifies the resource associated with the metric type.
- Predefined
Scaling stringMetric Type - Metric type. Valid values:
ALBRequestCountPerTarget
,ASGAverageCPUUtilization
,ASGAverageNetworkIn
,ASGAverageNetworkOut
,DynamoDBReadCapacityUtilization
,DynamoDBWriteCapacityUtilization
,ECSServiceAverageCPUUtilization
,ECSServiceAverageMemoryUtilization
,EC2SpotFleetRequestAverageCPUUtilization
,EC2SpotFleetRequestAverageNetworkIn
,EC2SpotFleetRequestAverageNetworkOut
,RDSReaderAverageCPUUtilization
,RDSReaderAverageDatabaseConnections
. - Resource
Label string - Identifies the resource associated with the metric type.
- predefined
Scaling StringMetric Type - Metric type. Valid values:
ALBRequestCountPerTarget
,ASGAverageCPUUtilization
,ASGAverageNetworkIn
,ASGAverageNetworkOut
,DynamoDBReadCapacityUtilization
,DynamoDBWriteCapacityUtilization
,ECSServiceAverageCPUUtilization
,ECSServiceAverageMemoryUtilization
,EC2SpotFleetRequestAverageCPUUtilization
,EC2SpotFleetRequestAverageNetworkIn
,EC2SpotFleetRequestAverageNetworkOut
,RDSReaderAverageCPUUtilization
,RDSReaderAverageDatabaseConnections
. - resource
Label String - Identifies the resource associated with the metric type.
- predefined
Scaling stringMetric Type - Metric type. Valid values:
ALBRequestCountPerTarget
,ASGAverageCPUUtilization
,ASGAverageNetworkIn
,ASGAverageNetworkOut
,DynamoDBReadCapacityUtilization
,DynamoDBWriteCapacityUtilization
,ECSServiceAverageCPUUtilization
,ECSServiceAverageMemoryUtilization
,EC2SpotFleetRequestAverageCPUUtilization
,EC2SpotFleetRequestAverageNetworkIn
,EC2SpotFleetRequestAverageNetworkOut
,RDSReaderAverageCPUUtilization
,RDSReaderAverageDatabaseConnections
. - resource
Label string - Identifies the resource associated with the metric type.
- predefined_
scaling_ strmetric_ type - Metric type. Valid values:
ALBRequestCountPerTarget
,ASGAverageCPUUtilization
,ASGAverageNetworkIn
,ASGAverageNetworkOut
,DynamoDBReadCapacityUtilization
,DynamoDBWriteCapacityUtilization
,ECSServiceAverageCPUUtilization
,ECSServiceAverageMemoryUtilization
,EC2SpotFleetRequestAverageCPUUtilization
,EC2SpotFleetRequestAverageNetworkIn
,EC2SpotFleetRequestAverageNetworkOut
,RDSReaderAverageCPUUtilization
,RDSReaderAverageDatabaseConnections
. - resource_
label str - Identifies the resource associated with the metric type.
- predefined
Scaling StringMetric Type - Metric type. Valid values:
ALBRequestCountPerTarget
,ASGAverageCPUUtilization
,ASGAverageNetworkIn
,ASGAverageNetworkOut
,DynamoDBReadCapacityUtilization
,DynamoDBWriteCapacityUtilization
,ECSServiceAverageCPUUtilization
,ECSServiceAverageMemoryUtilization
,EC2SpotFleetRequestAverageCPUUtilization
,EC2SpotFleetRequestAverageNetworkIn
,EC2SpotFleetRequestAverageNetworkOut
,RDSReaderAverageCPUUtilization
,RDSReaderAverageDatabaseConnections
. - resource
Label String - Identifies the resource associated with the metric type.
Import
Using pulumi import
, import Auto Scaling scaling plans using the name
. For example:
$ pulumi import aws:autoscalingplans/scalingPlan:ScalingPlan example MyScale1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.