1VM::EC2::Instance::ConsUosleerOuCtopnuttr(i3b)uted PerlVDMo:c:uEmCe2n:t:aItnisotnance::ConsoleOutput(3)
2
3
4
6 VM::EC2::ConsoleOutput - Object describing console output from an
7 Amazon EC2 instance
8
10 use VM::EC2;
11
12 $ec2 = VM::EC2->new(...);
13 $instance = $ec2->describe_instance(-instance_id=>'i-123456');
14
15 my $out = $instance->console_output;
16
17 print $out,"\n";
18 my $ts = $out->timestamp;
19 my $instance = $out->instanceId;
20
22 This object represents the output from the console of a Amazon EC2
23 instance. The instance may be running, pending or stopped. It is
24 returned by VM::EC2->get_console_output(), as well as
25 VM::EC2::Instance->console_output.
26
27 Please see VM::EC2::Generic for methods shared by all VM::EC2 objects.
28
30 These object methods are supported:
31
32 requestId -- ID of the request that generated this object
33 instanceId -- ID of the instance that generated this output
34 timestamp -- Time that this output was generated
35 output -- Text of the console output
36
38 When used in a string context, this object will act as if its output()
39 method was called, allowing it to be printed or searched directly.
40
42 VM::EC2 VM::EC2::Generic VM::EC2::Instance
43
45 Lincoln Stein <lincoln.stein@gmail.com>.
46
47 Copyright (c) 2011 Ontario Institute for Cancer Research
48
49 This package and its accompanying libraries is free software; you can
50 redistribute it and/or modify it under the terms of the GPL (either
51 version 1, or at your option, any later version) or the Artistic
52 License 2.0. Refer to LICENSE for the full license text. In addition,
53 please see DISCLAIMER.txt for disclaimers of warranty.
54
55
56
57perl v5.30.0 2019-07-26VM::EC2::Instance::ConsoleOutput(3)