You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EMR::Types::Application

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 Application data as a hash:

{
  name: "String",
  version: "String",
  args: ["String"],
  additional_info: {
    "String" => "String",
  },
}

An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see Using the MapR Distribution for Hadoop. Currently 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 cluster using MapR M3 or M5 Edition, respectively.

In Amazon EMR releases 4.x and later, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.

Instance Attribute Summary collapse

Instance Attribute Details

#additional_infoHash<String,String>

This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.

Returns:

  • (Hash<String,String>)


365
366
367
368
369
370
371
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 365

class Application < Struct.new(
  :name,
  :version,
  :args,
  :additional_info)
  include Aws::Structure
end

#argsArray<String>

Arguments for Amazon EMR to pass to the application.

Returns:

  • (Array<String>)


365
366
367
368
369
370
371
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 365

class Application < Struct.new(
  :name,
  :version,
  :args,
  :additional_info)
  include Aws::Structure
end

#nameString

The name of the application.

Returns:

  • (String)


365
366
367
368
369
370
371
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 365

class Application < Struct.new(
  :name,
  :version,
  :args,
  :additional_info)
  include Aws::Structure
end

#versionString

The version of the application.

Returns:

  • (String)


365
366
367
368
369
370
371
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 365

class Application < Struct.new(
  :name,
  :version,
  :args,
  :additional_info)
  include Aws::Structure
end