DOKK / manpages / debian 11 / libvm-ec2-perl / VM::EC2::ReservedInstance::Modification::Configuration.3pm.en
VM::EC2::ReservedInstance::Modification::Configuration(3pm) User Contributed Perl Documentation VM::EC2::ReservedInstance::Modification::Configuration(3pm)

VM::EC2::ReservedInstance::Modification::Configuration - Object describing an Amazon EC2 reserved instance listing modification result configuration

  use VM::EC2;
  $ec2       = VM::EC2->new(...);
  @mods = $ec2->describe_reserved_instances_modifications();
  for my $m (@mods) {
    my $result = $m->modificationResult,"\n";
    my $cfg = $result->targetConfiguration;
    print $cfg->availabilityZone;
  }

This object represents an Amazon EC2 reserved instance modification result configuration returned by VM::EC2->describe_reserved_instances_modifications().

These object methods are supported:

 availabilityZone   -- The Availability Zone for the modified Reserved Instances
 platform           -- The network platform of the modified Reserved Instances,
                       which is either EC2-Classic or EC2-VPC
 instanceCount      -- The number of modified Reserved Instances
 instanceType       -- The instance type for the modified Reserved Instances

When used in a string context, this object will return a string containing the availabilityZone,platform,instanceCount,instanceType

VM::EC2 VM::EC2::Generic

Lance Kinley <lkinley@loyaltymethods.com<gt>.

Copyright (c) 2014 Loyalty Methods, Inc.

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.

2016-06-04 perl v5.22.2