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.ServiceLinkedRoleresource 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={
        "cloudformation_stack_arn": "string",
        "tag_filters": [{
            "key": "string",
            "values": ["string"],
        }],
    },
    scaling_instructions=[{
        "scalable_dimension": "string",
        "resource_id": "string",
        "max_capacity": 0,
        "min_capacity": 0,
        "target_tracking_configurations": [{
            "target_value": 0,
            "customized_scaling_metric_specification": {
                "metric_name": "string",
                "namespace": "string",
                "statistic": "string",
                "dimensions": {
                    "string": "string",
                },
                "unit": "string",
            },
            "disable_scale_in": False,
            "estimated_instance_warmup": 0,
            "predefined_scaling_metric_specification": {
                "predefined_scaling_metric_type": "string",
                "resource_label": "string",
            },
            "scale_in_cooldown": 0,
            "scale_out_cooldown": 0,
        }],
        "service_namespace": "string",
        "predefined_load_metric_specification": {
            "predefined_load_metric_type": "string",
            "resource_label": "string",
        },
        "predictive_scaling_max_capacity_buffer": 0,
        "scaling_policy_update_behavior": "string",
        "customized_load_metric_specification": {
            "metric_name": "string",
            "namespace": "string",
            "statistic": "string",
            "dimensions": {
                "string": "string",
            },
            "unit": "string",
        },
        "disable_dynamic_scaling": False,
        "scheduled_action_buffer_time": 0,
        "predictive_scaling_max_capacity_behavior": "string",
        "predictive_scaling_mode": "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
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:
- ApplicationSource ScalingPlan Application Source 
- CloudFormation stack or set of tags. You can create one scaling plan per application source.
- ScalingInstructions 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.
- ApplicationSource ScalingPlan Application Source Args 
- CloudFormation stack or set of tags. You can create one scaling plan per application source.
- ScalingInstructions []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.
- applicationSource ScalingPlan Application Source 
- CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scalingInstructions 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.
- applicationSource ScalingPlan Application Source 
- CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scalingInstructions 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.
- applicationSource Property Map
- CloudFormation stack or set of tags. You can create one scaling plan per application source.
- scalingInstructions 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.
- ScalingPlan intVersion 
- The version number of the scaling plan. This value is always 1.
- Id string
- The provider-assigned unique ID for this managed resource.
- ScalingPlan intVersion 
- The version number of the scaling plan. This value is always 1.
- id String
- The provider-assigned unique ID for this managed resource.
- scalingPlan IntegerVersion 
- The version number of the scaling plan. This value is always 1.
- id string
- The provider-assigned unique ID for this managed resource.
- scalingPlan 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.
- scalingPlan 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) -> ScalingPlanfunc 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)resources:  _:    type: aws:autoscalingplans:ScalingPlan    get:      id: ${id}- 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.
- ApplicationSource 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.
- ScalingInstructions List<ScalingPlan Scaling Instruction> 
- Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- ScalingPlan intVersion 
- The version number of the scaling plan. This value is always 1.
- ApplicationSource 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.
- ScalingInstructions []ScalingPlan Scaling Instruction Args 
- Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- ScalingPlan intVersion 
- The version number of the scaling plan. This value is always 1.
- applicationSource 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.
- scalingInstructions List<ScalingPlan Scaling Instruction> 
- Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scalingPlan IntegerVersion 
- The version number of the scaling plan. This value is always 1.
- applicationSource 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.
- scalingInstructions ScalingPlan Scaling Instruction[] 
- Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scalingPlan 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.
- applicationSource 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.
- scalingInstructions List<Property Map>
- Scaling instructions. More details can be found in the AWS Auto Scaling API Reference.
- scalingPlan NumberVersion 
- The version number of the scaling plan. This value is always 1.
Supporting Types
ScalingPlanApplicationSource, ScalingPlanApplicationSourceArgs        
- CloudformationStack stringArn 
- ARN of a AWS CloudFormation stack.
- TagFilters List<ScalingPlan Application Source Tag Filter> 
- Set of tags.
- CloudformationStack stringArn 
- ARN of a AWS CloudFormation stack.
- TagFilters []ScalingPlan Application Source Tag Filter 
- Set of tags.
- cloudformationStack StringArn 
- ARN of a AWS CloudFormation stack.
- tagFilters List<ScalingPlan Application Source Tag Filter> 
- Set of tags.
- cloudformationStack stringArn 
- ARN of a AWS CloudFormation stack.
- tagFilters 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.
- cloudformationStack StringArn 
- ARN of a AWS CloudFormation stack.
- tagFilters List<Property Map>
- Set of tags.
ScalingPlanApplicationSourceTagFilter, ScalingPlanApplicationSourceTagFilterArgs            
ScalingPlanScalingInstruction, ScalingPlanScalingInstructionArgs        
- MaxCapacity 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.
- MinCapacity int
- Minimum capacity of the resource.
- ResourceId string
- ID of the resource. This string consists of the resource type and unique identifier.
- ScalableDimension 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.
- ServiceNamespace string
- Namespace of the AWS service. Valid values: autoscaling,dynamodb,ecs,ec2,rds.
- TargetTracking 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.
- CustomizedLoad ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification 
- Customized load metric to use for predictive scaling. You must specify either customized_load_metric_specificationorpredefined_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- DisableDynamic boolScaling 
- Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false.
- PredefinedLoad ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification 
- Predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specificationorcustomized_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- PredictiveScaling 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.
- PredictiveScaling intMax Capacity Buffer 
- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- PredictiveScaling stringMode 
- Predictive scaling mode. Valid values: ForecastAndScale,ForecastOnly.
- ScalingPolicy stringUpdate Behavior 
- Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies,ReplaceExternalPolicies. Defaults toKeepExternalPolicies.
- ScheduledAction intBuffer Time 
- Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- MaxCapacity 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.
- MinCapacity int
- Minimum capacity of the resource.
- ResourceId string
- ID of the resource. This string consists of the resource type and unique identifier.
- ScalableDimension 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.
- ServiceNamespace string
- Namespace of the AWS service. Valid values: autoscaling,dynamodb,ecs,ec2,rds.
- TargetTracking []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.
- CustomizedLoad ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification 
- Customized load metric to use for predictive scaling. You must specify either customized_load_metric_specificationorpredefined_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- DisableDynamic boolScaling 
- Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false.
- PredefinedLoad ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification 
- Predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specificationorcustomized_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- PredictiveScaling 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.
- PredictiveScaling intMax Capacity Buffer 
- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- PredictiveScaling stringMode 
- Predictive scaling mode. Valid values: ForecastAndScale,ForecastOnly.
- ScalingPolicy stringUpdate Behavior 
- Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies,ReplaceExternalPolicies. Defaults toKeepExternalPolicies.
- ScheduledAction intBuffer Time 
- Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- maxCapacity 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.
- minCapacity Integer
- Minimum capacity of the resource.
- resourceId String
- ID of the resource. This string consists of the resource type and unique identifier.
- scalableDimension 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.
- serviceNamespace String
- Namespace of the AWS service. Valid values: autoscaling,dynamodb,ecs,ec2,rds.
- targetTracking 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.
- customizedLoad ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification 
- Customized load metric to use for predictive scaling. You must specify either customized_load_metric_specificationorpredefined_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- disableDynamic BooleanScaling 
- Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false.
- predefinedLoad ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification 
- Predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specificationorcustomized_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- predictiveScaling 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.
- predictiveScaling IntegerMax Capacity Buffer 
- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictiveScaling StringMode 
- Predictive scaling mode. Valid values: ForecastAndScale,ForecastOnly.
- scalingPolicy StringUpdate Behavior 
- Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies,ReplaceExternalPolicies. Defaults toKeepExternalPolicies.
- scheduledAction IntegerBuffer Time 
- Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
- maxCapacity 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.
- minCapacity number
- Minimum capacity of the resource.
- resourceId string
- ID of the resource. This string consists of the resource type and unique identifier.
- scalableDimension 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.
- serviceNamespace string
- Namespace of the AWS service. Valid values: autoscaling,dynamodb,ecs,ec2,rds.
- targetTracking 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.
- customizedLoad ScalingMetric Specification Plan Scaling Instruction Customized Load Metric Specification 
- Customized load metric to use for predictive scaling. You must specify either customized_load_metric_specificationorpredefined_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- disableDynamic booleanScaling 
- Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false.
- predefinedLoad ScalingMetric Specification Plan Scaling Instruction Predefined Load Metric Specification 
- Predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specificationorcustomized_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- predictiveScaling 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.
- predictiveScaling numberMax Capacity Buffer 
- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictiveScaling stringMode 
- Predictive scaling mode. Valid values: ForecastAndScale,ForecastOnly.
- scalingPolicy stringUpdate Behavior 
- Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies,ReplaceExternalPolicies. Defaults toKeepExternalPolicies.
- scheduledAction 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_specificationorpredefined_load_metric_specificationwhen 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_specificationorcustomized_load_metric_specificationwhen 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.
- maxCapacity 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.
- minCapacity Number
- Minimum capacity of the resource.
- resourceId String
- ID of the resource. This string consists of the resource type and unique identifier.
- scalableDimension 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.
- serviceNamespace String
- Namespace of the AWS service. Valid values: autoscaling,dynamodb,ecs,ec2,rds.
- targetTracking 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.
- customizedLoad Property MapMetric Specification 
- Customized load metric to use for predictive scaling. You must specify either customized_load_metric_specificationorpredefined_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- disableDynamic BooleanScaling 
- Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false.
- predefinedLoad Property MapMetric Specification 
- Predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specificationorcustomized_load_metric_specificationwhen configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.
- predictiveScaling 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.
- predictiveScaling NumberMax Capacity Buffer 
- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
- predictiveScaling StringMode 
- Predictive scaling mode. Valid values: ForecastAndScale,ForecastOnly.
- scalingPolicy StringUpdate Behavior 
- Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies,ReplaceExternalPolicies. Defaults toKeepExternalPolicies.
- scheduledAction NumberBuffer Time 
- Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
ScalingPlanScalingInstructionCustomizedLoadMetricSpecification, ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs                
- MetricName 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.
- MetricName 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.
- metricName 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.
- metricName 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.
- metricName 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                
- PredefinedLoad stringMetric Type 
- Metric type. Valid values: ALBTargetGroupRequestCount,ASGTotalCPUUtilization,ASGTotalNetworkIn,ASGTotalNetworkOut.
- ResourceLabel string
- Identifies the resource associated with the metric type.
- PredefinedLoad stringMetric Type 
- Metric type. Valid values: ALBTargetGroupRequestCount,ASGTotalCPUUtilization,ASGTotalNetworkIn,ASGTotalNetworkOut.
- ResourceLabel string
- Identifies the resource associated with the metric type.
- predefinedLoad StringMetric Type 
- Metric type. Valid values: ALBTargetGroupRequestCount,ASGTotalCPUUtilization,ASGTotalNetworkIn,ASGTotalNetworkOut.
- resourceLabel String
- Identifies the resource associated with the metric type.
- predefinedLoad stringMetric Type 
- Metric type. Valid values: ALBTargetGroupRequestCount,ASGTotalCPUUtilization,ASGTotalNetworkIn,ASGTotalNetworkOut.
- resourceLabel 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.
- predefinedLoad StringMetric Type 
- Metric type. Valid values: ALBTargetGroupRequestCount,ASGTotalCPUUtilization,ASGTotalNetworkIn,ASGTotalNetworkOut.
- resourceLabel String
- Identifies the resource associated with the metric type.
ScalingPlanScalingInstructionTargetTrackingConfiguration, ScalingPlanScalingInstructionTargetTrackingConfigurationArgs              
- TargetValue double
- Target value for the metric.
- CustomizedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification 
- Customized metric. You can specify either customized_scaling_metric_specificationorpredefined_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- DisableScale boolIn 
- Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to false.
- EstimatedInstance 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.
- PredefinedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification 
- Predefined metric. You can specify either predefined_scaling_metric_specificationorcustomized_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- ScaleIn 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.
- ScaleOut 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.
- TargetValue float64
- Target value for the metric.
- CustomizedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification 
- Customized metric. You can specify either customized_scaling_metric_specificationorpredefined_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- DisableScale boolIn 
- Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to false.
- EstimatedInstance 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.
- PredefinedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification 
- Predefined metric. You can specify either predefined_scaling_metric_specificationorcustomized_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- ScaleIn 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.
- ScaleOut 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.
- targetValue Double
- Target value for the metric.
- customizedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification 
- Customized metric. You can specify either customized_scaling_metric_specificationorpredefined_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- disableScale BooleanIn 
- Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to false.
- estimatedInstance 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.
- predefinedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification 
- Predefined metric. You can specify either predefined_scaling_metric_specificationorcustomized_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- scaleIn 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.
- scaleOut 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.
- targetValue number
- Target value for the metric.
- customizedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Customized Scaling Metric Specification 
- Customized metric. You can specify either customized_scaling_metric_specificationorpredefined_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- disableScale booleanIn 
- Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to false.
- estimatedInstance 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.
- predefinedScaling ScalingMetric Specification Plan Scaling Instruction Target Tracking Configuration Predefined Scaling Metric Specification 
- Predefined metric. You can specify either predefined_scaling_metric_specificationorcustomized_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- scaleIn 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.
- scaleOut 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_specificationorpredefined_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_specificationorcustomized_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.
- targetValue Number
- Target value for the metric.
- customizedScaling Property MapMetric Specification 
- Customized metric. You can specify either customized_scaling_metric_specificationorpredefined_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- disableScale BooleanIn 
- Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to false.
- estimatedInstance 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.
- predefinedScaling Property MapMetric Specification 
- Predefined metric. You can specify either predefined_scaling_metric_specificationorcustomized_scaling_metric_specification. More details can be found in the AWS Auto Scaling API Reference.
- scaleIn 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.
- scaleOut 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                      
- MetricName 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.
- MetricName 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.
- metricName 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.
- metricName 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.
- metricName 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                      
- PredefinedScaling stringMetric Type 
- Metric type. Valid values: ALBRequestCountPerTarget,ASGAverageCPUUtilization,ASGAverageNetworkIn,ASGAverageNetworkOut,DynamoDBReadCapacityUtilization,DynamoDBWriteCapacityUtilization,ECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization,EC2SpotFleetRequestAverageCPUUtilization,EC2SpotFleetRequestAverageNetworkIn,EC2SpotFleetRequestAverageNetworkOut,RDSReaderAverageCPUUtilization,RDSReaderAverageDatabaseConnections.
- ResourceLabel string
- Identifies the resource associated with the metric type.
- PredefinedScaling stringMetric Type 
- Metric type. Valid values: ALBRequestCountPerTarget,ASGAverageCPUUtilization,ASGAverageNetworkIn,ASGAverageNetworkOut,DynamoDBReadCapacityUtilization,DynamoDBWriteCapacityUtilization,ECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization,EC2SpotFleetRequestAverageCPUUtilization,EC2SpotFleetRequestAverageNetworkIn,EC2SpotFleetRequestAverageNetworkOut,RDSReaderAverageCPUUtilization,RDSReaderAverageDatabaseConnections.
- ResourceLabel string
- Identifies the resource associated with the metric type.
- predefinedScaling StringMetric Type 
- Metric type. Valid values: ALBRequestCountPerTarget,ASGAverageCPUUtilization,ASGAverageNetworkIn,ASGAverageNetworkOut,DynamoDBReadCapacityUtilization,DynamoDBWriteCapacityUtilization,ECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization,EC2SpotFleetRequestAverageCPUUtilization,EC2SpotFleetRequestAverageNetworkIn,EC2SpotFleetRequestAverageNetworkOut,RDSReaderAverageCPUUtilization,RDSReaderAverageDatabaseConnections.
- resourceLabel String
- Identifies the resource associated with the metric type.
- predefinedScaling stringMetric Type 
- Metric type. Valid values: ALBRequestCountPerTarget,ASGAverageCPUUtilization,ASGAverageNetworkIn,ASGAverageNetworkOut,DynamoDBReadCapacityUtilization,DynamoDBWriteCapacityUtilization,ECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization,EC2SpotFleetRequestAverageCPUUtilization,EC2SpotFleetRequestAverageNetworkIn,EC2SpotFleetRequestAverageNetworkOut,RDSReaderAverageCPUUtilization,RDSReaderAverageDatabaseConnections.
- resourceLabel 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.
- predefinedScaling StringMetric Type 
- Metric type. Valid values: ALBRequestCountPerTarget,ASGAverageCPUUtilization,ASGAverageNetworkIn,ASGAverageNetworkOut,DynamoDBReadCapacityUtilization,DynamoDBWriteCapacityUtilization,ECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization,EC2SpotFleetRequestAverageCPUUtilization,EC2SpotFleetRequestAverageNetworkIn,EC2SpotFleetRequestAverageNetworkOut,RDSReaderAverageCPUUtilization,RDSReaderAverageDatabaseConnections.
- resourceLabel 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 awsTerraform Provider.