Class: Aws::EMR::Types::RunJobFlowInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass RunJobFlowInput data as a hash:

{
  name: "XmlStringMaxLen256", # required
  log_uri: "XmlString",
  log_encryption_kms_key_id: "XmlString",
  additional_info: "XmlString",
  ami_version: "XmlStringMaxLen256",
  release_label: "XmlStringMaxLen256",
  instances: { # required
    master_instance_type: "InstanceType",
    slave_instance_type: "InstanceType",
    instance_count: 1,
    instance_groups: [
      {
        name: "XmlStringMaxLen256",
        market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
        instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
        bid_price: "XmlStringMaxLen256",
        instance_type: "InstanceType", # required
        instance_count: 1, # required
        configurations: [
          {
            classification: "String",
            configurations: {
              # recursive ConfigurationList
            },
            properties: {
              "String" => "String",
            },
          },
        ],
        ebs_configuration: {
          ebs_block_device_configs: [
            {
              volume_specification: { # required
                volume_type: "String", # required
                iops: 1,
                size_in_gb: 1, # required
              },
              volumes_per_instance: 1,
            },
          ],
          ebs_optimized: false,
        },
        auto_scaling_policy: {
          constraints: { # required
            min_capacity: 1, # required
            max_capacity: 1, # required
          },
          rules: [ # required
            {
              name: "String", # required
              description: "String",
              action: { # required
                market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
                simple_scaling_policy_configuration: { # required
                  adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
                  scaling_adjustment: 1, # required
                  cool_down: 1,
                },
              },
              trigger: { # required
                cloud_watch_alarm_definition: { # required
                  comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
                  evaluation_periods: 1,
                  metric_name: "String", # required
                  namespace: "String",
                  period: 1, # required
                  statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
                  threshold: 1.0, # required
                  unit: "NONE", # accepts NONE, SECONDS, MICRO_SECONDS, MILLI_SECONDS, BYTES, KILO_BYTES, MEGA_BYTES, GIGA_BYTES, TERA_BYTES, BITS, KILO_BITS, MEGA_BITS, GIGA_BITS, TERA_BITS, PERCENT, COUNT, BYTES_PER_SECOND, KILO_BYTES_PER_SECOND, MEGA_BYTES_PER_SECOND, GIGA_BYTES_PER_SECOND, TERA_BYTES_PER_SECOND, BITS_PER_SECOND, KILO_BITS_PER_SECOND, MEGA_BITS_PER_SECOND, GIGA_BITS_PER_SECOND, TERA_BITS_PER_SECOND, COUNT_PER_SECOND
                  dimensions: [
                    {
                      key: "String",
                      value: "String",
                    },
                  ],
                },
              },
            },
          ],
        },
        custom_ami_id: "XmlStringMaxLen256",
      },
    ],
    instance_fleets: [
      {
        name: "XmlStringMaxLen256",
        instance_fleet_type: "MASTER", # required, accepts MASTER, CORE, TASK
        target_on_demand_capacity: 1,
        target_spot_capacity: 1,
        instance_type_configs: [
          {
            instance_type: "InstanceType", # required
            weighted_capacity: 1,
            bid_price: "XmlStringMaxLen256",
            bid_price_as_percentage_of_on_demand_price: 1.0,
            ebs_configuration: {
              ebs_block_device_configs: [
                {
                  volume_specification: { # required
                    volume_type: "String", # required
                    iops: 1,
                    size_in_gb: 1, # required
                  },
                  volumes_per_instance: 1,
                },
              ],
              ebs_optimized: false,
            },
            configurations: [
              {
                classification: "String",
                configurations: {
                  # recursive ConfigurationList
                },
                properties: {
                  "String" => "String",
                },
              },
            ],
            custom_ami_id: "XmlStringMaxLen256",
          },
        ],
        launch_specifications: {
          spot_specification: {
            timeout_duration_minutes: 1, # required
            timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
            block_duration_minutes: 1,
            allocation_strategy: "capacity-optimized", # accepts capacity-optimized
          },
          on_demand_specification: {
            allocation_strategy: "lowest-price", # required, accepts lowest-price
            capacity_reservation_options: {
              usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
              capacity_reservation_preference: "open", # accepts open, none
              capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
            },
          },
        },
      },
    ],
    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"],
  },
  steps: [
    {
      name: "XmlStringMaxLen256", # required
      action_on_failure: "TERMINATE_JOB_FLOW", # accepts TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
      hadoop_jar_step: { # required
        properties: [
          {
            key: "XmlString",
            value: "XmlString",
          },
        ],
        jar: "XmlString", # required
        main_class: "XmlString",
        args: ["XmlString"],
      },
    },
  ],
  bootstrap_actions: [
    {
      name: "XmlStringMaxLen256", # required
      script_bootstrap_action: { # required
        path: "XmlString", # required
        args: ["XmlString"],
      },
    },
  ],
  supported_products: ["XmlStringMaxLen256"],
  new_supported_products: [
    {
      name: "XmlStringMaxLen256",
      args: ["XmlString"],
    },
  ],
  applications: [
    {
      name: "String",
      version: "String",
      args: ["String"],
      additional_info: {
        "String" => "String",
      },
    },
  ],
  configurations: [
    {
      classification: "String",
      configurations: {
        # recursive ConfigurationList
      },
      properties: {
        "String" => "String",
      },
    },
  ],
  visible_to_all_users: false,
  job_flow_role: "XmlString",
  service_role: "XmlString",
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
  security_configuration: "XmlString",
  auto_scaling_role: "XmlString",
  scale_down_behavior: "TERMINATE_AT_INSTANCE_HOUR", # accepts TERMINATE_AT_INSTANCE_HOUR, TERMINATE_AT_TASK_COMPLETION
  custom_ami_id: "XmlStringMaxLen256",
  ebs_root_volume_size: 1,
  repo_upgrade_on_boot: "SECURITY", # accepts SECURITY, NONE
  kerberos_attributes: {
    realm: "XmlStringMaxLen256", # required
    kdc_admin_password: "XmlStringMaxLen256", # required
    cross_realm_trust_principal_password: "XmlStringMaxLen256",
    ad_domain_join_user: "XmlStringMaxLen256",
    ad_domain_join_password: "XmlStringMaxLen256",
  },
  step_concurrency_level: 1,
  managed_scaling_policy: {
    compute_limits: {
      unit_type: "InstanceFleetUnits", # required, accepts InstanceFleetUnits, Instances, VCPU
      minimum_capacity_units: 1, # required
      maximum_capacity_units: 1, # required
      maximum_on_demand_capacity_units: 1,
      maximum_core_capacity_units: 1,
    },
  },
  placement_group_configs: [
    {
      instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
      placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
    },
  ],
  auto_termination_policy: {
    idle_timeout: 1,
  },
}

Input to the RunJobFlow operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_infoString

A JSON string for selecting additional features.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#ami_versionString

Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#applicationsArray<Types::Application>

Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. For a list of applications available for each Amazon EMR release version, see the Amazon EMR Release Guide.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#auto_scaling_roleString

An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#auto_termination_policyTypes::AutoTerminationPolicy

An auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#bootstrap_actionsArray<Types::BootstrapActionConfig>

A list of bootstrap actions to run before Hadoop starts on the cluster nodes.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#configurationsArray<Types::Configuration>

For Amazon EMR releases 4.0 and later. The list of configurations supplied for the EMR cluster you are creating.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#custom_ami_idString

Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when it launches cluster EC2 instances. For more information about custom AMIs in Amazon EMR, see Using a Custom AMI in the Amazon EMR Management Guide. If omitted, the cluster uses the base Linux AMI for the ReleaseLabel specified. For Amazon EMR versions 2.x and 3.x, use AmiVersion instead.

For information about creating a custom AMI, see Creating an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information about finding an AMI ID, see Finding a Linux AMI.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#ebs_root_volume_sizeInteger

The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

Returns:

  • (Integer)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#instancesTypes::JobFlowInstancesConfig

A specification of the number and type of Amazon EC2 instances.



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#job_flow_roleString

Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole. In order to use the default role, you must have already created it using the CLI or console.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#kerberos_attributesTypes::KerberosAttributes

Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#log_encryption_kms_key_idString

The KMS key used for encrypting log files. If a value is not provided, the logs remain encrypted by AES-256. This attribute is only available with Amazon EMR version 5.30.0 and later, excluding Amazon EMR 6.0.0.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#log_uriString

The location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#managed_scaling_policyTypes::ManagedScalingPolicy

The specified managed scaling policy for an Amazon EMR cluster.



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the job flow.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#new_supported_productsArray<Types::SupportedProductConfig>

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications.

A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see "Launch a Job Flow on the MapR Distribution for Hadoop" in the Amazon EMR Developer Guide. Supported values are:

  • "mapr-m3" - launch the cluster using MapR M3 Edition.

  • "mapr-m5" - launch the cluster using MapR M5 Edition.

  • "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition respectively.

  • "mapr-m7" - launch the cluster using MapR M7 Edition.

  • "hunk" - launch the cluster with the Hunk Big Data Analytics Platform.

  • "hue"- launch the cluster with Hue installed.

  • "spark" - launch the cluster with Apache Spark installed.

  • "ganglia" - launch the cluster with the Ganglia Monitoring System installed.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#placement_group_configsArray<Types::PlacementGroupConfig>

The specified placement group configuration for an Amazon EMR cluster.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#release_labelString

The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#repo_upgrade_on_bootString

Applies only when CustomAmiID is used. Specifies which updates from the Amazon Linux AMI package repositories to apply automatically when the instance boots using the AMI. If omitted, the default is SECURITY, which indicates that only security updates are applied. If NONE is specified, no updates are applied, and all updates must be applied manually.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#scale_down_behaviorString

Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#security_configurationString

The name of a security configuration to apply to the cluster.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#service_roleString

The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

Returns:

  • (String)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#step_concurrency_levelInteger

Specifies the number of steps that can be executed concurrently. The default value is 1. The maximum value is 256.

Returns:

  • (Integer)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#stepsArray<Types::StepConfig>

A list of steps to run.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#supported_productsArray<String>

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications.

A list of strings that indicates third-party software to use. For more information, see the Amazon EMR Developer Guide. Currently supported values are:

  • "mapr-m3" - launch the job flow using MapR M3 Edition.

  • "mapr-m5" - launch the job flow using MapR M5 Edition.

Returns:

  • (Array<String>)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags to associate with a cluster and propagate to Amazon EC2 instances.

Returns:



6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#visible_to_all_usersBoolean

Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the EMR API or the CLI create-cluster command.

When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.

Returns:

  • (Boolean)


6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6638

class RunJobFlowInput < Struct.new(
  :name,
  :log_uri,
  :log_encryption_kms_key_id,
  :additional_info,
  :ami_version,
  :release_label,
  :instances,
  :steps,
  :bootstrap_actions,
  :supported_products,
  :new_supported_products,
  :applications,
  :configurations,
  :visible_to_all_users,
  :job_flow_role,
  :service_role,
  :tags,
  :security_configuration,
  :auto_scaling_role,
  :scale_down_behavior,
  :custom_ami_id,
  :ebs_root_volume_size,
  :repo_upgrade_on_boot,
  :kerberos_attributes,
  :step_concurrency_level,
  :managed_scaling_policy,
  :placement_group_configs,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end