VM::EC2::ReservedInstance::Modification::Configuration - Object describing an Amazon EC2 reserved
Contents
Description
This object represents an Amazon EC2 reserved instance modification result configuration returned by
VM::EC2->describe_reserved_instances_modifications().
Methods
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
Name
VM::EC2::ReservedInstance::Modification::Configuration - Object describing an Amazon EC2 reserved
instance listing modification result configuration
See Also
VM::EC2 VM::EC2::Generic
String Overloading
When used in a string context, this object will return a string containing the
availabilityZone,platform,instanceCount,instanceType
Synopsis
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;
}
