1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. appautoscaling
  6. Policy
Viewing docs for AWS v7.41.0
published on Friday, Aug 7, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.41.0
published on Friday, Aug 7, 2026 by Pulumi

    Provides an Application AutoScaling Policy resource.

    Create Policy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Policy(resource_name: str,
               args: PolicyArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Policy(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_id: Optional[str] = None,
               scalable_dimension: Optional[str] = None,
               service_namespace: Optional[str] = None,
               name: Optional[str] = None,
               policy_type: Optional[str] = None,
               predictive_scaling_policy_configuration: Optional[PolicyPredictiveScalingPolicyConfigurationArgs] = None,
               region: Optional[str] = None,
               step_scaling_policy_configuration: Optional[PolicyStepScalingPolicyConfigurationArgs] = None,
               target_tracking_scaling_policy_configuration: Optional[PolicyTargetTrackingScalingPolicyConfigurationArgs] = None)
    func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)
    public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
    public Policy(String name, PolicyArgs args)
    public Policy(String name, PolicyArgs args, CustomResourceOptions options)
    
    type: aws:appautoscaling:Policy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_appautoscaling_policy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PolicyArgs
    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 PolicyArgs
    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 PolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyArgs
    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 awsPolicyResource = new Aws.AppAutoScaling.Policy("awsPolicyResource", new()
    {
        ResourceId = "string",
        ScalableDimension = "string",
        ServiceNamespace = "string",
        Name = "string",
        PolicyType = "string",
        PredictiveScalingPolicyConfiguration = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationArgs
        {
            MetricSpecifications = new[]
            {
                new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs
                {
                    TargetValue = "string",
                    CustomizedCapacityMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs
                    {
                        MetricDataQueries = new[]
                        {
                            new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs
                            {
                                Id = "string",
                                Expression = "string",
                                Label = "string",
                                MetricStat = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatArgs
                                {
                                    Metric = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs
                                    {
                                        Dimensions = new[]
                                        {
                                            new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs
                                            {
                                                Name = "string",
                                                Value = "string",
                                            },
                                        },
                                        MetricName = "string",
                                        Namespace = "string",
                                    },
                                    Stat = "string",
                                    Unit = "string",
                                },
                                ReturnData = false,
                            },
                        },
                    },
                    CustomizedLoadMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs
                    {
                        MetricDataQueries = new[]
                        {
                            new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs
                            {
                                Id = "string",
                                Expression = "string",
                                Label = "string",
                                MetricStat = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatArgs
                                {
                                    Metric = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs
                                    {
                                        Dimensions = new[]
                                        {
                                            new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs
                                            {
                                                Name = "string",
                                                Value = "string",
                                            },
                                        },
                                        MetricName = "string",
                                        Namespace = "string",
                                    },
                                    Stat = "string",
                                    Unit = "string",
                                },
                                ReturnData = false,
                            },
                        },
                    },
                    CustomizedScalingMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs
                    {
                        MetricDataQueries = new[]
                        {
                            new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs
                            {
                                Id = "string",
                                Expression = "string",
                                Label = "string",
                                MetricStat = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs
                                {
                                    Metric = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs
                                    {
                                        Dimensions = new[]
                                        {
                                            new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs
                                            {
                                                Name = "string",
                                                Value = "string",
                                            },
                                        },
                                        MetricName = "string",
                                        Namespace = "string",
                                    },
                                    Stat = "string",
                                    Unit = "string",
                                },
                                ReturnData = false,
                            },
                        },
                    },
                    PredefinedLoadMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs
                    {
                        PredefinedMetricType = "string",
                        ResourceLabel = "string",
                    },
                    PredefinedMetricPairSpecification = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs
                    {
                        PredefinedMetricType = "string",
                        ResourceLabel = "string",
                    },
                    PredefinedScalingMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs
                    {
                        PredefinedMetricType = "string",
                        ResourceLabel = "string",
                    },
                },
            },
            MaxCapacityBreachBehavior = "string",
            MaxCapacityBuffer = 0,
            Mode = "string",
            SchedulingBufferTime = 0,
        },
        Region = "string",
        StepScalingPolicyConfiguration = new Aws.AppAutoScaling.Inputs.PolicyStepScalingPolicyConfigurationArgs
        {
            AdjustmentType = "string",
            Cooldown = 0,
            MetricAggregationType = "string",
            MinAdjustmentMagnitude = 0,
            StepAdjustments = new[]
            {
                new Aws.AppAutoScaling.Inputs.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs
                {
                    ScalingAdjustment = 0,
                    MetricIntervalLowerBound = "string",
                    MetricIntervalUpperBound = "string",
                },
            },
        },
        TargetTrackingScalingPolicyConfiguration = new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationArgs
        {
            TargetValue = 0,
            CustomizedMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs
            {
                Dimensions = new[]
                {
                    new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs
                    {
                        Name = "string",
                        Value = "string",
                    },
                },
                MetricName = "string",
                Metrics = new[]
                {
                    new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs
                    {
                        Id = "string",
                        Expression = "string",
                        Label = "string",
                        MetricStat = new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs
                        {
                            Metric = new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs
                            {
                                MetricName = "string",
                                Namespace = "string",
                                Dimensions = new[]
                                {
                                    new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs
                                    {
                                        Name = "string",
                                        Value = "string",
                                    },
                                },
                            },
                            Stat = "string",
                            Unit = "string",
                        },
                        ReturnData = false,
                    },
                },
                Namespace = "string",
                Statistic = "string",
                Unit = "string",
            },
            DisableScaleIn = false,
            PredefinedMetricSpecification = new Aws.AppAutoScaling.Inputs.PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs
            {
                PredefinedMetricType = "string",
                ResourceLabel = "string",
            },
            ScaleInCooldown = 0,
            ScaleOutCooldown = 0,
        },
    });
    
    example, err := appautoscaling.NewPolicy(ctx, "awsPolicyResource", &appautoscaling.PolicyArgs{
    	ResourceId:        pulumi.String("string"),
    	ScalableDimension: pulumi.String("string"),
    	ServiceNamespace:  pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	PolicyType:        pulumi.String("string"),
    	PredictiveScalingPolicyConfiguration: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationArgs{
    		MetricSpecifications: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArray{
    			&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs{
    				TargetValue: pulumi.String("string"),
    				CustomizedCapacityMetricSpecification: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs{
    					MetricDataQueries: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArray{
    						&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs{
    							Id:         pulumi.String("string"),
    							Expression: pulumi.String("string"),
    							Label:      pulumi.String("string"),
    							MetricStat: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatArgs{
    								Metric: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs{
    									Dimensions: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArray{
    										&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs{
    											Name:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									MetricName: pulumi.String("string"),
    									Namespace:  pulumi.String("string"),
    								},
    								Stat: pulumi.String("string"),
    								Unit: pulumi.String("string"),
    							},
    							ReturnData: pulumi.Bool(false),
    						},
    					},
    				},
    				CustomizedLoadMetricSpecification: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs{
    					MetricDataQueries: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArray{
    						&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs{
    							Id:         pulumi.String("string"),
    							Expression: pulumi.String("string"),
    							Label:      pulumi.String("string"),
    							MetricStat: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatArgs{
    								Metric: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs{
    									Dimensions: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArray{
    										&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs{
    											Name:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									MetricName: pulumi.String("string"),
    									Namespace:  pulumi.String("string"),
    								},
    								Stat: pulumi.String("string"),
    								Unit: pulumi.String("string"),
    							},
    							ReturnData: pulumi.Bool(false),
    						},
    					},
    				},
    				CustomizedScalingMetricSpecification: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs{
    					MetricDataQueries: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArray{
    						&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{
    							Id:         pulumi.String("string"),
    							Expression: pulumi.String("string"),
    							Label:      pulumi.String("string"),
    							MetricStat: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs{
    								Metric: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs{
    									Dimensions: appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArray{
    										&appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs{
    											Name:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									MetricName: pulumi.String("string"),
    									Namespace:  pulumi.String("string"),
    								},
    								Stat: pulumi.String("string"),
    								Unit: pulumi.String("string"),
    							},
    							ReturnData: pulumi.Bool(false),
    						},
    					},
    				},
    				PredefinedLoadMetricSpecification: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs{
    					PredefinedMetricType: pulumi.String("string"),
    					ResourceLabel:        pulumi.String("string"),
    				},
    				PredefinedMetricPairSpecification: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs{
    					PredefinedMetricType: pulumi.String("string"),
    					ResourceLabel:        pulumi.String("string"),
    				},
    				PredefinedScalingMetricSpecification: &appautoscaling.PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs{
    					PredefinedMetricType: pulumi.String("string"),
    					ResourceLabel:        pulumi.String("string"),
    				},
    			},
    		},
    		MaxCapacityBreachBehavior: pulumi.String("string"),
    		MaxCapacityBuffer:         pulumi.Int(0),
    		Mode:                      pulumi.String("string"),
    		SchedulingBufferTime:      pulumi.Int(0),
    	},
    	Region: pulumi.String("string"),
    	StepScalingPolicyConfiguration: &appautoscaling.PolicyStepScalingPolicyConfigurationArgs{
    		AdjustmentType:         pulumi.String("string"),
    		Cooldown:               pulumi.Int(0),
    		MetricAggregationType:  pulumi.String("string"),
    		MinAdjustmentMagnitude: pulumi.Int(0),
    		StepAdjustments: appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArray{
    			&appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{
    				ScalingAdjustment:        pulumi.Int(0),
    				MetricIntervalLowerBound: pulumi.String("string"),
    				MetricIntervalUpperBound: pulumi.String("string"),
    			},
    		},
    	},
    	TargetTrackingScalingPolicyConfiguration: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationArgs{
    		TargetValue: pulumi.Float64(0),
    		CustomizedMetricSpecification: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs{
    			Dimensions: appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray{
    				&appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs{
    					Name:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			MetricName: pulumi.String("string"),
    			Metrics: appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray{
    				&appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs{
    					Id:         pulumi.String("string"),
    					Expression: pulumi.String("string"),
    					Label:      pulumi.String("string"),
    					MetricStat: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{
    						Metric: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{
    							MetricName: pulumi.String("string"),
    							Namespace:  pulumi.String("string"),
    							Dimensions: appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{
    								&appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{
    									Name:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    						Stat: pulumi.String("string"),
    						Unit: pulumi.String("string"),
    					},
    					ReturnData: pulumi.Bool(false),
    				},
    			},
    			Namespace: pulumi.String("string"),
    			Statistic: pulumi.String("string"),
    			Unit:      pulumi.String("string"),
    		},
    		DisableScaleIn: pulumi.Bool(false),
    		PredefinedMetricSpecification: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs{
    			PredefinedMetricType: pulumi.String("string"),
    			ResourceLabel:        pulumi.String("string"),
    		},
    		ScaleInCooldown:  pulumi.Int(0),
    		ScaleOutCooldown: pulumi.Int(0),
    	},
    })
    
    resource "aws_appautoscaling_policy" "awsPolicyResource" {
      lifecycle {
        create_before_destroy = true
      }
      resource_id        = "string"
      scalable_dimension = "string"
      service_namespace  = "string"
      name               = "string"
      policy_type        = "string"
      predictive_scaling_policy_configuration = {
        metric_specifications = [{
          target_value = "string"
          customized_capacity_metric_specification = {
            metric_data_queries = [{
              id         = "string"
              expression = "string"
              label      = "string"
              metric_stat = {
                metric = {
                  dimensions = [{
                    name  = "string"
                    value = "string"
                  }]
                  metric_name = "string"
                  namespace   = "string"
                }
                stat = "string"
                unit = "string"
              }
              return_data = false
            }]
          }
          customized_load_metric_specification = {
            metric_data_queries = [{
              id         = "string"
              expression = "string"
              label      = "string"
              metric_stat = {
                metric = {
                  dimensions = [{
                    name  = "string"
                    value = "string"
                  }]
                  metric_name = "string"
                  namespace   = "string"
                }
                stat = "string"
                unit = "string"
              }
              return_data = false
            }]
          }
          customized_scaling_metric_specification = {
            metric_data_queries = [{
              id         = "string"
              expression = "string"
              label      = "string"
              metric_stat = {
                metric = {
                  dimensions = [{
                    name  = "string"
                    value = "string"
                  }]
                  metric_name = "string"
                  namespace   = "string"
                }
                stat = "string"
                unit = "string"
              }
              return_data = false
            }]
          }
          predefined_load_metric_specification = {
            predefined_metric_type = "string"
            resource_label         = "string"
          }
          predefined_metric_pair_specification = {
            predefined_metric_type = "string"
            resource_label         = "string"
          }
          predefined_scaling_metric_specification = {
            predefined_metric_type = "string"
            resource_label         = "string"
          }
        }]
        max_capacity_breach_behavior = "string"
        max_capacity_buffer          = 0
        mode                         = "string"
        scheduling_buffer_time       = 0
      }
      region = "string"
      step_scaling_policy_configuration = {
        adjustment_type          = "string"
        cooldown                 = 0
        metric_aggregation_type  = "string"
        min_adjustment_magnitude = 0
        step_adjustments = [{
          scaling_adjustment          = 0
          metric_interval_lower_bound = "string"
          metric_interval_upper_bound = "string"
        }]
      }
      target_tracking_scaling_policy_configuration = {
        target_value = 0
        customized_metric_specification = {
          dimensions = [{
            name  = "string"
            value = "string"
          }]
          metric_name = "string"
          metrics = [{
            id         = "string"
            expression = "string"
            label      = "string"
            metric_stat = {
              metric = {
                metric_name = "string"
                namespace   = "string"
                dimensions = [{
                  name  = "string"
                  value = "string"
                }]
              }
              stat = "string"
              unit = "string"
            }
            return_data = false
          }]
          namespace = "string"
          statistic = "string"
          unit      = "string"
        }
        disable_scale_in = false
        predefined_metric_specification = {
          predefined_metric_type = "string"
          resource_label         = "string"
        }
        scale_in_cooldown  = 0
        scale_out_cooldown = 0
      }
    }
    
    var awsPolicyResource = new com.pulumi.aws.appautoscaling.Policy("awsPolicyResource", com.pulumi.aws.appautoscaling.PolicyArgs.builder()
        .resourceId("string")
        .scalableDimension("string")
        .serviceNamespace("string")
        .name("string")
        .policyType("string")
        .predictiveScalingPolicyConfiguration(PolicyPredictiveScalingPolicyConfigurationArgs.builder()
            .metricSpecifications(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs.builder()
                .targetValue("string")
                .customizedCapacityMetricSpecification(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs.builder()
                    .metricDataQueries(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs.builder()
                        .id("string")
                        .expression("string")
                        .label("string")
                        .metricStat(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatArgs.builder()
                            .metric(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs.builder()
                                .dimensions(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.builder()
                                    .name("string")
                                    .value("string")
                                    .build())
                                .metricName("string")
                                .namespace("string")
                                .build())
                            .stat("string")
                            .unit("string")
                            .build())
                        .returnData(false)
                        .build())
                    .build())
                .customizedLoadMetricSpecification(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs.builder()
                    .metricDataQueries(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs.builder()
                        .id("string")
                        .expression("string")
                        .label("string")
                        .metricStat(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatArgs.builder()
                            .metric(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs.builder()
                                .dimensions(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.builder()
                                    .name("string")
                                    .value("string")
                                    .build())
                                .metricName("string")
                                .namespace("string")
                                .build())
                            .stat("string")
                            .unit("string")
                            .build())
                        .returnData(false)
                        .build())
                    .build())
                .customizedScalingMetricSpecification(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()
                    .metricDataQueries(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()
                        .id("string")
                        .expression("string")
                        .label("string")
                        .metricStat(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs.builder()
                            .metric(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.builder()
                                .dimensions(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.builder()
                                    .name("string")
                                    .value("string")
                                    .build())
                                .metricName("string")
                                .namespace("string")
                                .build())
                            .stat("string")
                            .unit("string")
                            .build())
                        .returnData(false)
                        .build())
                    .build())
                .predefinedLoadMetricSpecification(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs.builder()
                    .predefinedMetricType("string")
                    .resourceLabel("string")
                    .build())
                .predefinedMetricPairSpecification(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs.builder()
                    .predefinedMetricType("string")
                    .resourceLabel("string")
                    .build())
                .predefinedScalingMetricSpecification(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.builder()
                    .predefinedMetricType("string")
                    .resourceLabel("string")
                    .build())
                .build())
            .maxCapacityBreachBehavior("string")
            .maxCapacityBuffer(0)
            .mode("string")
            .schedulingBufferTime(0)
            .build())
        .region("string")
        .stepScalingPolicyConfiguration(PolicyStepScalingPolicyConfigurationArgs.builder()
            .adjustmentType("string")
            .cooldown(0)
            .metricAggregationType("string")
            .minAdjustmentMagnitude(0)
            .stepAdjustments(PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.builder()
                .scalingAdjustment(0)
                .metricIntervalLowerBound("string")
                .metricIntervalUpperBound("string")
                .build())
            .build())
        .targetTrackingScalingPolicyConfiguration(PolicyTargetTrackingScalingPolicyConfigurationArgs.builder()
            .targetValue(0.0)
            .customizedMetricSpecification(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs.builder()
                .dimensions(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs.builder()
                    .name("string")
                    .value("string")
                    .build())
                .metricName("string")
                .metrics(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.builder()
                    .id("string")
                    .expression("string")
                    .label("string")
                    .metricStat(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()
                        .metric(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()
                            .metricName("string")
                            .namespace("string")
                            .dimensions(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()
                                .name("string")
                                .value("string")
                                .build())
                            .build())
                        .stat("string")
                        .unit("string")
                        .build())
                    .returnData(false)
                    .build())
                .namespace("string")
                .statistic("string")
                .unit("string")
                .build())
            .disableScaleIn(false)
            .predefinedMetricSpecification(PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs.builder()
                .predefinedMetricType("string")
                .resourceLabel("string")
                .build())
            .scaleInCooldown(0)
            .scaleOutCooldown(0)
            .build())
        .build());
    
    aws_policy_resource = aws.appautoscaling.Policy("awsPolicyResource",
        resource_id="string",
        scalable_dimension="string",
        service_namespace="string",
        name="string",
        policy_type="string",
        predictive_scaling_policy_configuration={
            "metric_specifications": [{
                "target_value": "string",
                "customized_capacity_metric_specification": {
                    "metric_data_queries": [{
                        "id": "string",
                        "expression": "string",
                        "label": "string",
                        "metric_stat": {
                            "metric": {
                                "dimensions": [{
                                    "name": "string",
                                    "value": "string",
                                }],
                                "metric_name": "string",
                                "namespace": "string",
                            },
                            "stat": "string",
                            "unit": "string",
                        },
                        "return_data": False,
                    }],
                },
                "customized_load_metric_specification": {
                    "metric_data_queries": [{
                        "id": "string",
                        "expression": "string",
                        "label": "string",
                        "metric_stat": {
                            "metric": {
                                "dimensions": [{
                                    "name": "string",
                                    "value": "string",
                                }],
                                "metric_name": "string",
                                "namespace": "string",
                            },
                            "stat": "string",
                            "unit": "string",
                        },
                        "return_data": False,
                    }],
                },
                "customized_scaling_metric_specification": {
                    "metric_data_queries": [{
                        "id": "string",
                        "expression": "string",
                        "label": "string",
                        "metric_stat": {
                            "metric": {
                                "dimensions": [{
                                    "name": "string",
                                    "value": "string",
                                }],
                                "metric_name": "string",
                                "namespace": "string",
                            },
                            "stat": "string",
                            "unit": "string",
                        },
                        "return_data": False,
                    }],
                },
                "predefined_load_metric_specification": {
                    "predefined_metric_type": "string",
                    "resource_label": "string",
                },
                "predefined_metric_pair_specification": {
                    "predefined_metric_type": "string",
                    "resource_label": "string",
                },
                "predefined_scaling_metric_specification": {
                    "predefined_metric_type": "string",
                    "resource_label": "string",
                },
            }],
            "max_capacity_breach_behavior": "string",
            "max_capacity_buffer": 0,
            "mode": "string",
            "scheduling_buffer_time": 0,
        },
        region="string",
        step_scaling_policy_configuration={
            "adjustment_type": "string",
            "cooldown": 0,
            "metric_aggregation_type": "string",
            "min_adjustment_magnitude": 0,
            "step_adjustments": [{
                "scaling_adjustment": 0,
                "metric_interval_lower_bound": "string",
                "metric_interval_upper_bound": "string",
            }],
        },
        target_tracking_scaling_policy_configuration={
            "target_value": float(0),
            "customized_metric_specification": {
                "dimensions": [{
                    "name": "string",
                    "value": "string",
                }],
                "metric_name": "string",
                "metrics": [{
                    "id": "string",
                    "expression": "string",
                    "label": "string",
                    "metric_stat": {
                        "metric": {
                            "metric_name": "string",
                            "namespace": "string",
                            "dimensions": [{
                                "name": "string",
                                "value": "string",
                            }],
                        },
                        "stat": "string",
                        "unit": "string",
                    },
                    "return_data": False,
                }],
                "namespace": "string",
                "statistic": "string",
                "unit": "string",
            },
            "disable_scale_in": False,
            "predefined_metric_specification": {
                "predefined_metric_type": "string",
                "resource_label": "string",
            },
            "scale_in_cooldown": 0,
            "scale_out_cooldown": 0,
        })
    
    const awsPolicyResource = new aws.appautoscaling.Policy("awsPolicyResource", {
        resourceId: "string",
        scalableDimension: "string",
        serviceNamespace: "string",
        name: "string",
        policyType: "string",
        predictiveScalingPolicyConfiguration: {
            metricSpecifications: [{
                targetValue: "string",
                customizedCapacityMetricSpecification: {
                    metricDataQueries: [{
                        id: "string",
                        expression: "string",
                        label: "string",
                        metricStat: {
                            metric: {
                                dimensions: [{
                                    name: "string",
                                    value: "string",
                                }],
                                metricName: "string",
                                namespace: "string",
                            },
                            stat: "string",
                            unit: "string",
                        },
                        returnData: false,
                    }],
                },
                customizedLoadMetricSpecification: {
                    metricDataQueries: [{
                        id: "string",
                        expression: "string",
                        label: "string",
                        metricStat: {
                            metric: {
                                dimensions: [{
                                    name: "string",
                                    value: "string",
                                }],
                                metricName: "string",
                                namespace: "string",
                            },
                            stat: "string",
                            unit: "string",
                        },
                        returnData: false,
                    }],
                },
                customizedScalingMetricSpecification: {
                    metricDataQueries: [{
                        id: "string",
                        expression: "string",
                        label: "string",
                        metricStat: {
                            metric: {
                                dimensions: [{
                                    name: "string",
                                    value: "string",
                                }],
                                metricName: "string",
                                namespace: "string",
                            },
                            stat: "string",
                            unit: "string",
                        },
                        returnData: false,
                    }],
                },
                predefinedLoadMetricSpecification: {
                    predefinedMetricType: "string",
                    resourceLabel: "string",
                },
                predefinedMetricPairSpecification: {
                    predefinedMetricType: "string",
                    resourceLabel: "string",
                },
                predefinedScalingMetricSpecification: {
                    predefinedMetricType: "string",
                    resourceLabel: "string",
                },
            }],
            maxCapacityBreachBehavior: "string",
            maxCapacityBuffer: 0,
            mode: "string",
            schedulingBufferTime: 0,
        },
        region: "string",
        stepScalingPolicyConfiguration: {
            adjustmentType: "string",
            cooldown: 0,
            metricAggregationType: "string",
            minAdjustmentMagnitude: 0,
            stepAdjustments: [{
                scalingAdjustment: 0,
                metricIntervalLowerBound: "string",
                metricIntervalUpperBound: "string",
            }],
        },
        targetTrackingScalingPolicyConfiguration: {
            targetValue: 0,
            customizedMetricSpecification: {
                dimensions: [{
                    name: "string",
                    value: "string",
                }],
                metricName: "string",
                metrics: [{
                    id: "string",
                    expression: "string",
                    label: "string",
                    metricStat: {
                        metric: {
                            metricName: "string",
                            namespace: "string",
                            dimensions: [{
                                name: "string",
                                value: "string",
                            }],
                        },
                        stat: "string",
                        unit: "string",
                    },
                    returnData: false,
                }],
                namespace: "string",
                statistic: "string",
                unit: "string",
            },
            disableScaleIn: false,
            predefinedMetricSpecification: {
                predefinedMetricType: "string",
                resourceLabel: "string",
            },
            scaleInCooldown: 0,
            scaleOutCooldown: 0,
        },
    });
    
    type: aws:appautoscaling:Policy
    properties:
        name: string
        policyType: string
        predictiveScalingPolicyConfiguration:
            maxCapacityBreachBehavior: string
            maxCapacityBuffer: 0
            metricSpecifications:
                - customizedCapacityMetricSpecification:
                    metricDataQueries:
                        - expression: string
                          id: string
                          label: string
                          metricStat:
                            metric:
                                dimensions:
                                    - name: string
                                      value: string
                                metricName: string
                                namespace: string
                            stat: string
                            unit: string
                          returnData: false
                  customizedLoadMetricSpecification:
                    metricDataQueries:
                        - expression: string
                          id: string
                          label: string
                          metricStat:
                            metric:
                                dimensions:
                                    - name: string
                                      value: string
                                metricName: string
                                namespace: string
                            stat: string
                            unit: string
                          returnData: false
                  customizedScalingMetricSpecification:
                    metricDataQueries:
                        - expression: string
                          id: string
                          label: string
                          metricStat:
                            metric:
                                dimensions:
                                    - name: string
                                      value: string
                                metricName: string
                                namespace: string
                            stat: string
                            unit: string
                          returnData: false
                  predefinedLoadMetricSpecification:
                    predefinedMetricType: string
                    resourceLabel: string
                  predefinedMetricPairSpecification:
                    predefinedMetricType: string
                    resourceLabel: string
                  predefinedScalingMetricSpecification:
                    predefinedMetricType: string
                    resourceLabel: string
                  targetValue: string
            mode: string
            schedulingBufferTime: 0
        region: string
        resourceId: string
        scalableDimension: string
        serviceNamespace: string
        stepScalingPolicyConfiguration:
            adjustmentType: string
            cooldown: 0
            metricAggregationType: string
            minAdjustmentMagnitude: 0
            stepAdjustments:
                - metricIntervalLowerBound: string
                  metricIntervalUpperBound: string
                  scalingAdjustment: 0
        targetTrackingScalingPolicyConfiguration:
            customizedMetricSpecification:
                dimensions:
                    - name: string
                      value: string
                metricName: string
                metrics:
                    - expression: string
                      id: string
                      label: string
                      metricStat:
                        metric:
                            dimensions:
                                - name: string
                                  value: string
                            metricName: string
                            namespace: string
                        stat: string
                        unit: string
                      returnData: false
                namespace: string
                statistic: string
                unit: string
            disableScaleIn: false
            predefinedMetricSpecification:
                predefinedMetricType: string
                resourceLabel: string
            scaleInCooldown: 0
            scaleOutCooldown: 0
            targetValue: 0
    

    Policy 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 Policy resource accepts the following input properties:

    ResourceId string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    ScalableDimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    ServiceNamespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    PolicyType string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    PredictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfiguration
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    StepScalingPolicyConfiguration PolicyStepScalingPolicyConfiguration
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfiguration
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    ResourceId string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    ScalableDimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    ServiceNamespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    PolicyType string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    PredictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfigurationArgs
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    StepScalingPolicyConfiguration PolicyStepScalingPolicyConfigurationArgs
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfigurationArgs
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    resource_id string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalable_dimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    service_namespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    policy_type string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictive_scaling_policy_configuration object
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    step_scaling_policy_configuration object
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    target_tracking_scaling_policy_configuration object
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    resourceId String
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalableDimension String
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    serviceNamespace String
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    policyType String
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfiguration
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    stepScalingPolicyConfiguration PolicyStepScalingPolicyConfiguration
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    targetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfiguration
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    resourceId string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalableDimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    serviceNamespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    policyType string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfiguration
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    stepScalingPolicyConfiguration PolicyStepScalingPolicyConfiguration
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    targetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfiguration
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    resource_id str
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalable_dimension str
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    service_namespace str
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    policy_type str
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictive_scaling_policy_configuration PolicyPredictiveScalingPolicyConfigurationArgs
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    step_scaling_policy_configuration PolicyStepScalingPolicyConfigurationArgs
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    target_tracking_scaling_policy_configuration PolicyTargetTrackingScalingPolicyConfigurationArgs
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    resourceId String
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalableDimension String
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    serviceNamespace String
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    policyType String
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictiveScalingPolicyConfiguration Property Map
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    stepScalingPolicyConfiguration Property Map
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    targetTrackingScalingPolicyConfiguration Property Map
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:

    AlarmArns List<string>
    List of CloudWatch alarm ARNs associated with the scaling policy.
    Arn string
    ARN assigned by AWS to the scaling policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    AlarmArns []string
    List of CloudWatch alarm ARNs associated with the scaling policy.
    Arn string
    ARN assigned by AWS to the scaling policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    alarm_arns list(string)
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn string
    ARN assigned by AWS to the scaling policy.
    id string
    The provider-assigned unique ID for this managed resource.
    alarmArns List<String>
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn String
    ARN assigned by AWS to the scaling policy.
    id String
    The provider-assigned unique ID for this managed resource.
    alarmArns string[]
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn string
    ARN assigned by AWS to the scaling policy.
    id string
    The provider-assigned unique ID for this managed resource.
    alarm_arns Sequence[str]
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn str
    ARN assigned by AWS to the scaling policy.
    id str
    The provider-assigned unique ID for this managed resource.
    alarmArns List<String>
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn String
    ARN assigned by AWS to the scaling policy.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Policy Resource

    Get an existing Policy 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?: PolicyState, opts?: CustomResourceOptions): Policy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alarm_arns: Optional[Sequence[str]] = None,
            arn: Optional[str] = None,
            name: Optional[str] = None,
            policy_type: Optional[str] = None,
            predictive_scaling_policy_configuration: Optional[PolicyPredictiveScalingPolicyConfigurationArgs] = None,
            region: Optional[str] = None,
            resource_id: Optional[str] = None,
            scalable_dimension: Optional[str] = None,
            service_namespace: Optional[str] = None,
            step_scaling_policy_configuration: Optional[PolicyStepScalingPolicyConfigurationArgs] = None,
            target_tracking_scaling_policy_configuration: Optional[PolicyTargetTrackingScalingPolicyConfigurationArgs] = None) -> Policy
    func GetPolicy(ctx *Context, name string, id IDInput, state *PolicyState, opts ...ResourceOption) (*Policy, error)
    public static Policy Get(string name, Input<string> id, PolicyState? state, CustomResourceOptions? opts = null)
    public static Policy get(String name, Output<String> id, PolicyState state, CustomResourceOptions options)
    resources:  _:    type: aws:appautoscaling:Policy    get:      id: ${id}
    import {
      to = aws_appautoscaling_policy.example
      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.
    The following state arguments are supported:
    AlarmArns List<string>
    List of CloudWatch alarm ARNs associated with the scaling policy.
    Arn string
    ARN assigned by AWS to the scaling policy.
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    PolicyType string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    PredictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfiguration
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceId string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    ScalableDimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    ServiceNamespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    StepScalingPolicyConfiguration PolicyStepScalingPolicyConfiguration
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfiguration
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    AlarmArns []string
    List of CloudWatch alarm ARNs associated with the scaling policy.
    Arn string
    ARN assigned by AWS to the scaling policy.
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    PolicyType string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    PredictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfigurationArgs
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceId string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    ScalableDimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    ServiceNamespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    StepScalingPolicyConfiguration PolicyStepScalingPolicyConfigurationArgs
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfigurationArgs
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    alarm_arns list(string)
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn string
    ARN assigned by AWS to the scaling policy.
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    policy_type string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictive_scaling_policy_configuration object
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_id string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalable_dimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    service_namespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    step_scaling_policy_configuration object
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    target_tracking_scaling_policy_configuration object
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    alarmArns List<String>
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn String
    ARN assigned by AWS to the scaling policy.
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    policyType String
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfiguration
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceId String
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalableDimension String
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    serviceNamespace String
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    stepScalingPolicyConfiguration PolicyStepScalingPolicyConfiguration
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    targetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfiguration
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    alarmArns string[]
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn string
    ARN assigned by AWS to the scaling policy.
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    policyType string
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictiveScalingPolicyConfiguration PolicyPredictiveScalingPolicyConfiguration
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceId string
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalableDimension string
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    serviceNamespace string
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    stepScalingPolicyConfiguration PolicyStepScalingPolicyConfiguration
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    targetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfiguration
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    alarm_arns Sequence[str]
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn str
    ARN assigned by AWS to the scaling policy.
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    policy_type str
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictive_scaling_policy_configuration PolicyPredictiveScalingPolicyConfigurationArgs
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_id str
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalable_dimension str
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    service_namespace str
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    step_scaling_policy_configuration PolicyStepScalingPolicyConfigurationArgs
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    target_tracking_scaling_policy_configuration PolicyTargetTrackingScalingPolicyConfigurationArgs
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
    alarmArns List<String>
    List of CloudWatch alarm ARNs associated with the scaling policy.
    arn String
    ARN assigned by AWS to the scaling policy.
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    policyType String
    Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
    predictiveScalingPolicyConfiguration Property Map
    Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceId String
    Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
    scalableDimension String
    Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
    serviceNamespace String
    AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
    stepScalingPolicyConfiguration Property Map
    Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
    targetTrackingScalingPolicyConfiguration Property Map
    Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.

    Supporting Types

    PolicyPredictiveScalingPolicyConfiguration, PolicyPredictiveScalingPolicyConfigurationArgs

    MetricSpecifications List<PolicyPredictiveScalingPolicyConfigurationMetricSpecification>
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    MaxCapacityBreachBehavior string
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    MaxCapacityBuffer int
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    Mode string
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    SchedulingBufferTime int
    Amount of time, in seconds, that the start time can be advanced.
    MetricSpecifications []PolicyPredictiveScalingPolicyConfigurationMetricSpecification
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    MaxCapacityBreachBehavior string
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    MaxCapacityBuffer int
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    Mode string
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    SchedulingBufferTime int
    Amount of time, in seconds, that the start time can be advanced.
    metric_specifications list(object)
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    max_capacity_breach_behavior string
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    max_capacity_buffer number
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    mode string
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    scheduling_buffer_time number
    Amount of time, in seconds, that the start time can be advanced.
    metricSpecifications List<PolicyPredictiveScalingPolicyConfigurationMetricSpecification>
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    maxCapacityBreachBehavior String
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    maxCapacityBuffer Integer
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    mode String
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    schedulingBufferTime Integer
    Amount of time, in seconds, that the start time can be advanced.
    metricSpecifications PolicyPredictiveScalingPolicyConfigurationMetricSpecification[]
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    maxCapacityBreachBehavior string
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    maxCapacityBuffer number
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    mode string
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    schedulingBufferTime number
    Amount of time, in seconds, that the start time can be advanced.
    metric_specifications Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecification]
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    max_capacity_breach_behavior str
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    max_capacity_buffer int
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    mode str
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    scheduling_buffer_time int
    Amount of time, in seconds, that the start time can be advanced.
    metricSpecifications List<Property Map>
    Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
    maxCapacityBreachBehavior String
    Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
    maxCapacityBuffer Number
    Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
    mode String
    Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
    schedulingBufferTime Number
    Amount of time, in seconds, that the start time can be advanced.

    PolicyPredictiveScalingPolicyConfigurationMetricSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs

    TargetValue string
    CustomizedCapacityMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecification
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    CustomizedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecification
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    CustomizedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecification
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    PredefinedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecification
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    PredefinedMetricPairSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecification
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    PredefinedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecification
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.
    TargetValue string
    CustomizedCapacityMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecification
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    CustomizedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecification
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    CustomizedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecification
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    PredefinedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecification
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    PredefinedMetricPairSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecification
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    PredefinedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecification
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.
    target_value string
    customized_capacity_metric_specification object
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    customized_load_metric_specification object
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    customized_scaling_metric_specification object
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    predefined_load_metric_specification object
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    predefined_metric_pair_specification object
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    predefined_scaling_metric_specification object
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.
    targetValue String
    customizedCapacityMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecification
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    customizedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecification
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    customizedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecification
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    predefinedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecification
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    predefinedMetricPairSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecification
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    predefinedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecification
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.
    targetValue string
    customizedCapacityMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecification
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    customizedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecification
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    customizedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecification
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    predefinedLoadMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecification
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    predefinedMetricPairSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecification
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    predefinedScalingMetricSpecification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecification
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.
    target_value str
    customized_capacity_metric_specification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecification
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    customized_load_metric_specification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecification
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    customized_scaling_metric_specification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecification
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    predefined_load_metric_specification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecification
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    predefined_metric_pair_specification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecification
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    predefined_scaling_metric_specification PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecification
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.
    targetValue String
    customizedCapacityMetricSpecification Property Map
    Customized capacity metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_capacity_metric_specification Block for details.
    customizedLoadMetricSpecification Property Map
    Customized load metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_load_metric_specification Block for details.
    customizedScalingMetricSpecification Property Map
    Customized scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification Block for details.
    predefinedLoadMetricSpecification Property Map
    Predefined load metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_load_metric_specification Block for details.
    predefinedMetricPairSpecification Property Map
    Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See predictive_scaling_policy_configuration.metric_specification.predefined_metric_pair_specification Block for details.
    predefinedScalingMetricSpecification Property Map
    Predefined scaling metric specification. See predictive_scaling_policy_configuration.metric_specification.predefined_scaling_metric_specification Block for details.

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs

    MetricDataQueries List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    MetricDataQueries []PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metric_data_queries list(object)
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery[]
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metric_data_queries Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery]
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries List<Property Map>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatArgs

    metric object
    stat string
    unit string

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs

    Dimensions List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    MetricName string
    Namespace string
    Dimensions []PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    MetricName string
    Namespace string
    dimensions list(object)
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metric_name string
    namespace string
    dimensions List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName String
    namespace String
    dimensions PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension[]
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName string
    namespace string
    dimensions Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension]
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metric_name str
    namespace str
    dimensions List<Property Map>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName String
    namespace String

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs

    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    value str
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs

    MetricDataQueries List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    MetricDataQueries []PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metric_data_queries list(object)
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery[]
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metric_data_queries Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery]
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries List<Property Map>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStat, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatArgs

    metric object
    stat string
    unit string

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetric, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs

    Dimensions List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    MetricName string
    Namespace string
    Dimensions []PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    MetricName string
    Namespace string
    dimensions list(object)
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metric_name string
    namespace string
    dimensions List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName String
    namespace String
    dimensions PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension[]
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName string
    namespace string
    dimensions Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension]
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metric_name str
    namespace str
    dimensions List<Property Map>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName String
    namespace String

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs

    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    value str
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs

    MetricDataQueries List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQuery>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    MetricDataQueries []PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQuery
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metric_data_queries list(object)
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQuery>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQuery[]
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metric_data_queries Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQuery]
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.
    metricDataQueries List<Property Map>
    One or more metric data queries to provide data points for a metric specification. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query Block for details.

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQuery, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs

    metric object
    stat string
    unit string

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs

    Dimensions List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    MetricName string
    Namespace string
    Dimensions []PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    MetricName string
    Namespace string
    dimensions list(object)
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metric_name string
    namespace string
    dimensions List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName String
    namespace String
    dimensions PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension[]
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName string
    namespace string
    dimensions Sequence[PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension]
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metric_name str
    namespace str
    dimensions List<Property Map>
    Dimensions of the metric. See predictive_scaling_policy_configuration.metric_specification.customized_scaling_metric_specification.metric_data_query.metric_stat.metric.dimension Block for details.
    metricName String
    namespace String

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs

    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    value str
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs

    PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecification, PolicyPredictiveScalingPolicyConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs

    PolicyStepScalingPolicyConfiguration, PolicyStepScalingPolicyConfigurationArgs

    AdjustmentType string
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    Cooldown int
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    MetricAggregationType string
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    MinAdjustmentMagnitude int
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    StepAdjustments List<PolicyStepScalingPolicyConfigurationStepAdjustment>
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
    AdjustmentType string
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    Cooldown int
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    MetricAggregationType string
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    MinAdjustmentMagnitude int
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    StepAdjustments []PolicyStepScalingPolicyConfigurationStepAdjustment
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
    adjustment_type string
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    cooldown number
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    metric_aggregation_type string
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    min_adjustment_magnitude number
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    step_adjustments list(object)
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
    adjustmentType String
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    cooldown Integer
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    metricAggregationType String
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    minAdjustmentMagnitude Integer
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    stepAdjustments List<PolicyStepScalingPolicyConfigurationStepAdjustment>
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
    adjustmentType string
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    cooldown number
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    metricAggregationType string
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    minAdjustmentMagnitude number
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    stepAdjustments PolicyStepScalingPolicyConfigurationStepAdjustment[]
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
    adjustment_type str
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    cooldown int
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    metric_aggregation_type str
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    min_adjustment_magnitude int
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    step_adjustments Sequence[PolicyStepScalingPolicyConfigurationStepAdjustment]
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
    adjustmentType String
    Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    cooldown Number
    Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
    metricAggregationType String
    Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
    minAdjustmentMagnitude Number
    Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
    stepAdjustments List<Property Map>
    Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.

    PolicyStepScalingPolicyConfigurationStepAdjustment, PolicyStepScalingPolicyConfigurationStepAdjustmentArgs

    ScalingAdjustment int
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    MetricIntervalLowerBound string
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    MetricIntervalUpperBound string
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.
    ScalingAdjustment int
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    MetricIntervalLowerBound string
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    MetricIntervalUpperBound string
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.
    scaling_adjustment number
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    metric_interval_lower_bound string
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    metric_interval_upper_bound string
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.
    scalingAdjustment Integer
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    metricIntervalLowerBound String
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    metricIntervalUpperBound String
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.
    scalingAdjustment number
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    metricIntervalLowerBound string
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    metricIntervalUpperBound string
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.
    scaling_adjustment int
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    metric_interval_lower_bound str
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    metric_interval_upper_bound str
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.
    scalingAdjustment Number
    Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
    metricIntervalLowerBound String
    Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as negative infinity.
    metricIntervalUpperBound String
    Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS treats this bound as infinity. The upper bound must be greater than the lower bound.

    PolicyTargetTrackingScalingPolicyConfiguration, PolicyTargetTrackingScalingPolicyConfigurationArgs

    TargetValue double
    Target value for the metric.
    CustomizedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    DisableScaleIn bool
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    PredefinedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    ScaleInCooldown int
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    ScaleOutCooldown int
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
    TargetValue float64
    Target value for the metric.
    CustomizedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    DisableScaleIn bool
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    PredefinedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    ScaleInCooldown int
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    ScaleOutCooldown int
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
    target_value number
    Target value for the metric.
    customized_metric_specification object
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    disable_scale_in bool
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    predefined_metric_specification object
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    scale_in_cooldown number
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    scale_out_cooldown number
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
    targetValue Double
    Target value for the metric.
    customizedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    disableScaleIn Boolean
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    predefinedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    scaleInCooldown Integer
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    scaleOutCooldown Integer
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
    targetValue number
    Target value for the metric.
    customizedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    disableScaleIn boolean
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    predefinedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    scaleInCooldown number
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    scaleOutCooldown number
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
    target_value float
    Target value for the metric.
    customized_metric_specification PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    disable_scale_in bool
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    predefined_metric_specification PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    scale_in_cooldown int
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    scale_out_cooldown int
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
    targetValue Number
    Target value for the metric.
    customizedMetricSpecification Property Map
    Custom CloudWatch metric. See the AWS Customized Metric Specification documentation. See target_tracking_scaling_policy_configuration.customized_metric_specification Block for details.
    disableScaleIn Boolean
    Whether scale in by the target tracking policy is disabled. If true, scale in is disabled and the target tracking policy does not remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. Defaults to false.
    predefinedMetricSpecification Property Map
    Predefined metric. See target_tracking_scaling_policy_configuration.predefined_metric_specification Block for details.
    scaleInCooldown Number
    Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
    scaleOutCooldown Number
    Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.

    PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs

    Dimensions List<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension>
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    MetricName string
    Metrics List<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric>
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    Namespace string
    Statistic string
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    Unit string
    Dimensions []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    MetricName string
    Metrics []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    Namespace string
    Statistic string
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    Unit string
    dimensions list(object)
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metric_name string
    metrics list(object)
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    namespace string
    statistic string
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    unit string
    dimensions List<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension>
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metricName String
    metrics List<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric>
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    namespace String
    statistic String
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    unit String
    dimensions PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension[]
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metricName string
    metrics PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric[]
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    namespace string
    statistic string
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    unit string
    dimensions Sequence[PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension]
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metric_name str
    metrics Sequence[PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric]
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    namespace str
    statistic str
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    unit str
    dimensions List<Property Map>
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metricName String
    metrics List<Property Map>
    Metrics to include, as a metric data query. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics Block for details.
    namespace String
    statistic String
    Statistic of the metric. Valid values are Average, Minimum, Maximum, SampleCount, and Sum.
    unit String

    PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs

    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    value str
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String

    PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs

    PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStat, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs

    metric object
    stat string
    unit string

    PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetric, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs

    MetricName string
    Namespace string
    Dimensions List<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension>
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    MetricName string
    Namespace string
    Dimensions []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metric_name string
    namespace string
    dimensions list(object)
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metricName String
    namespace String
    dimensions List<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension>
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metricName string
    namespace string
    dimensions PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension[]
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metric_name str
    namespace str
    dimensions Sequence[PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension]
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.
    metricName String
    namespace String
    dimensions List<Property Map>
    Dimensions of the metric. See target_tracking_scaling_policy_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensions Block for details.

    PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs

    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    Name string
    Name of the policy. Must be between 1 and 255 characters in length.
    Value string
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String
    name string
    Name of the policy. Must be between 1 and 255 characters in length.
    value string
    name str
    Name of the policy. Must be between 1 and 255 characters in length.
    value str
    name String
    Name of the policy. Must be between 1 and 255 characters in length.
    value String

    PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification, PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.41.0
    published on Friday, Aug 7, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial