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

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

πŸ’– VM::EC2::DB::Instance::OrderableOption β€” bestie edition πŸ’–

okay so this page is the manual for VM::EC2::DB::Instance::OrderableOption(3pm) β€” that's the Perl module you're looking at, and it lives in the User Contributed Perl Documentation. come on in, the vibes are immaculate πŸ¦‹


✨ NAME ✨

VM::EC2::DB::Instance::OrderableOption β€” an RDS Database Orderable Option. that's it, that's the whole name. short, sweet, main character energy πŸ‘‘


🌸 SYNOPSIS 🌸

okay so here's the vibe, copy-paste this and go:

use VM::EC2;

$ec2 = VM::EC2->new(...);
@options = $ec2->describe_orderable_db_instance_options(-engine => 'mysql');
foreach $option (grep { $_->MultiAZCapable } @options) {
  print $option->EngineVersion,' ',
        $option->DBInstanceClass,' ',
        join(',',grep { $_->ProvisionedIopsCapable } $option->AvailabilityZones),
        "\n";
}

literally you make your $ec2 object, you ask for the orderable DB instance options filtered by -engine => 'mysql', then you loop through only the ones that are MultiAZCapable and print the engine version, the instance class, and the availability zones that are ProvisionedIopsCapable. chef's kiss, no notes πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so like, what is this thing? it's an object that represents a DB Instance Orderable Option β€” the stuff that comes back when you call the VM::EC2->describe_orderable_db_instance_options() call. that's it. that's the job. she's an object, she holds data, she slays ✨


πŸ¦‹ STRING OVERLOADING πŸ¦‹

none

yeah bestie there's no string overloading here. don't try to stringify it and expect poetry, it will not give you that. πŸ™ˆ


⭐ SEE ALSO ⭐

go check out her friends, they're all iconic too:

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

πŸ‘‘ AUTHOR πŸ‘‘

written by Lance Kinley <lkinley@loyaltymethods.com>. πŸ’–

Copyright (c) 2013 Loyalty Methods, Inc.

okay so legal moment, but make it cute: 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. wanna read the whole thing? refer to LICENSE for the full license text. and also, please see DISCLAIMER.txt for disclaimers of warranty. fr fr, read the fine print, it's giving responsible 🫢


and that's a wrap on this one! this page ships with perl v5.38.2, dated 2024-08-10. go forth and describe those orderable options, bestie πŸ’œπŸŒΈπŸŽ€

πŸ“¦ where this page comes from