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/JobFlowInstancesConfig.html below:

JobFlowInstancesConfig — AWS SDK for Ruby V2

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

{
  master_instance_type: "InstanceType",
  slave_instance_type: "InstanceType",
  instance_count: 1,
  instance_groups: [
    {
      name: "XmlStringMaxLen256",
      market: "ON_DEMAND",       instance_role: "MASTER",       bid_price: "XmlStringMaxLen256",
      instance_type: "InstanceType",       instance_count: 1,       configurations: [
        {
          classification: "String",
          configurations: {
                      },
          properties: {
            "String" => "String",
          },
        },
      ],
      ebs_configuration: {
        ebs_block_device_configs: [
          {
            volume_specification: {               volume_type: "String",               iops: 1,
              size_in_gb: 1,             },
            volumes_per_instance: 1,
          },
        ],
        ebs_optimized: false,
      },
      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",
                  },
                ],
              },
            },
          },
        ],
      },
    },
  ],
  instance_fleets: [
    {
      name: "XmlStringMaxLen256",
      instance_fleet_type: "MASTER",       target_on_demand_capacity: 1,
      target_spot_capacity: 1,
      instance_type_configs: [
        {
          instance_type: "InstanceType",           weighted_capacity: 1,
          bid_price: "XmlStringMaxLen256",
          bid_price_as_percentage_of_on_demand_price: 1.0,
          ebs_configuration: {
            ebs_block_device_configs: [
              {
                volume_specification: {                   volume_type: "String",                   iops: 1,
                  size_in_gb: 1,                 },
                volumes_per_instance: 1,
              },
            ],
            ebs_optimized: false,
          },
          configurations: [
            {
              classification: "String",
              configurations: {
                              },
              properties: {
                "String" => "String",
              },
            },
          ],
        },
      ],
      launch_specifications: {
        spot_specification: {
          timeout_duration_minutes: 1,           timeout_action: "SWITCH_TO_ON_DEMAND",           block_duration_minutes: 1,
          allocation_strategy: "capacity-optimized",         },
        on_demand_specification: {
          allocation_strategy: "lowest-price",         },
      },
    },
  ],
  ec2_key_name: "XmlStringMaxLen256",
  placement: {
    availability_zone: "XmlString",
    availability_zones: ["XmlStringMaxLen256"],
  },
  keep_job_flow_alive_when_no_steps: false,
  termination_protected: false,
  hadoop_version: "XmlStringMaxLen256",
  ec2_subnet_id: "XmlStringMaxLen256",
  ec2_subnet_ids: ["XmlStringMaxLen256"],
  emr_managed_master_security_group: "XmlStringMaxLen256",
  emr_managed_slave_security_group: "XmlStringMaxLen256",
  service_access_security_group: "XmlStringMaxLen256",
  additional_master_security_groups: ["XmlStringMaxLen256"],
  additional_slave_security_groups: ["XmlStringMaxLen256"],
}

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