Sha256: 69ffd7684650a3ee69cf656a6b857d270528420be04ca436b5b940704c22798d

Contents?: true

Size: 532 Bytes

Versions: 6

Compression:

Stored size: 532 Bytes

Contents

module Elasticity

  class HadoopBootstrapAction

    attr_accessor :name
    attr_accessor :option
    attr_accessor :value

    def initialize(option, value)
      @name = 'Elasticity Bootstrap Action (Configure Hadoop)'
      @option = option
      @value = value
    end

    def to_aws_bootstrap_action
      {
        :name => @name,
        :script_bootstrap_action => {
          :path => 's3n://elasticmapreduce/bootstrap-actions/configure-hadoop',
          :args => [@option, @value]
        }
      }
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elasticity-2.3.1 lib/elasticity/hadoop_bootstrap_action.rb
elasticity-2.3 lib/elasticity/hadoop_bootstrap_action.rb
elasticity-2.2 lib/elasticity/hadoop_bootstrap_action.rb
elasticity-2.1.1 lib/elasticity/hadoop_bootstrap_action.rb
elasticity-2.1 lib/elasticity/hadoop_bootstrap_action.rb
elasticity-2.0 lib/elasticity/hadoop_bootstrap_action.rb