VM::EC2::Instance::ConsoleOutput3pm
Object describing console output from an amazon ec2 instance
Usage
use VM::EC2;$ec2 = VM::EC2->new(...);$instance = $ec2->describe_instance(-instance_id=>'i-123456');my $out = $instance->console_output;print $out,"\n";my $ts = $out->timestamp;my $instance = $out->instanceId;
Overview
This object represents the output from the console of a Amazon EC2 instance. The instance may be running, pending or stopped. It is returned by VM::EC2->get_console_output(), as well as VM::EC2::Instance->console_output.
Please see VM::EC2::Generic for methods shared by all VM::EC2 objects.
Methods
These object methods are supported:
requestId -- ID of the request that generated this objectinstanceId -- ID of the instance that generated this outputtimestamp -- Time that this output was generatedoutput -- Text of the console output
String overloading
When used in a string context, this object will act as if its output() method was called, allowing it to be printed or searched directly.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.