Sha256: 3de276525e80b5058511a3bb8ee08f492825604ba0741c9c7bd34d500f8a47c3

Contents?: true

Size: 325 Bytes

Versions: 13

Compression:

Stored size: 325 Bytes

Contents

module AwsEc2
  autoload :Waiter, 'aws_ec2/waiter'

  class Wait < Command
    desc "ami", "Wait until AMI available."
    long_desc Help.text("wait:ami")
    option :timeout, type: :numeric, default: 1800, desc: "Timeout in seconds."
    def ami(name)
      Waiter::Ami.new(options.merge(name: name)).wait
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
aws-ec2-1.4.9 lib/aws_ec2/wait.rb
aws-ec2-1.4.8 lib/aws_ec2/wait.rb
aws-ec2-1.4.7 lib/aws_ec2/wait.rb
aws-ec2-1.4.6 lib/aws_ec2/wait.rb
aws-ec2-1.4.5 lib/aws_ec2/wait.rb
aws-ec2-1.4.4 lib/aws_ec2/wait.rb
aws-ec2-1.4.3 lib/aws_ec2/wait.rb
aws-ec2-1.4.2 lib/aws_ec2/wait.rb
aws-ec2-1.4.1 lib/aws_ec2/wait.rb
aws-ec2-1.4.0 lib/aws_ec2/wait.rb
aws-ec2-1.3.2 lib/aws_ec2/wait.rb
aws-ec2-1.3.1 lib/aws_ec2/wait.rb
aws-ec2-1.3.0 lib/aws_ec2/wait.rb