VM::EC...Output(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ VM::EC2::ConsoleOutput ✨

okay bestie, welcome to the VM::EC2::ConsoleOutput page (yes it's a (3pm) perl manpage, iykyk) β€” it's the object that describes console output from an Amazon EC2 instance πŸ’–


πŸŽ€ NAME πŸŽ€

VM::EC2::ConsoleOutput β€” an object describing console output from an Amazon EC2 instance. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

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;

🌸 DESCRIPTION 🌸

So this object is literally the glow-up of the output from the console of a Amazon EC2 instance ✨ The instance can be running, pending or stopped β€” all three vibes are valid here πŸ’…

You get one of these handed to you by VM::EC2->get_console_output(), and also by VM::EC2::Instance->console_output. two paths, same slay 🫢

ngl if you want the methods that every VM::EC2 object shares, go look at VM::EC2::Generic β€” that's where the communal stuff lives πŸ’œ


πŸ”₯ METHODS πŸ”₯

these object methods are supported, no cap:

  • requestId β€” the ID of the request that generated this object
  • instanceId β€” the ID of the instance that generated this output
  • timestamp β€” the time that this output was generated
  • output β€” the actual text of the console output

πŸ’€ STRING OVERLOADING πŸ’€

the way that this object just becomes its output when you use it in a string context… iconic 😭 it acts exactly as if its output() method was called, so you can print it or search it directly. no extra steps, main character energy πŸ’–


🌈 SEE ALSO 🌈

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::Instance

πŸ‘‘ AUTHOR πŸ‘‘

Lincoln Stein <lincoln.stein@gmail.com>.

Copyright (c) 2011 Ontario Institute for Cancer Research

This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.

fr fr read those license files, bestie β€” LICENSE and DISCLAIMER.txt are the receipts 🧚

okay that's the whole page, love u, go print some console output πŸ’…βœ¨ β€” this was VM::EC2::ConsoleOutput, perl v5.38.2, dated 2024-08-10. bye bestie πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from