A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/EMR/Types/PutAutoScalingPolicyInput.html below:

PutAutoScalingPolicyInput — AWS SDK for Ruby V2

When passing PutAutoScalingPolicyInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  cluster_id: "ClusterId",   instance_group_id: "InstanceGroupId",   auto_scaling_policy: {     constraints: {       min_capacity: 1,       max_capacity: 1,     },
    rules: [       {
        name: "String",         description: "String",
        action: {           market: "ON_DEMAND",           simple_scaling_policy_configuration: {             adjustment_type: "CHANGE_IN_CAPACITY",             scaling_adjustment: 1,             cool_down: 1,
          },
        },
        trigger: {           cloud_watch_alarm_definition: {             comparison_operator: "GREATER_THAN_OR_EQUAL",             evaluation_periods: 1,
            metric_name: "String",             namespace: "String",
            period: 1,             statistic: "SAMPLE_COUNT",             threshold: 1.0,             unit: "NONE",             dimensions: [
              {
                key: "String",
                value: "String",
              },
            ],
          },
        },
      },
    ],
  },
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4