package Net::Amazon::EC2::InstanceState;
$Net::Amazon::EC2::InstanceState::VERSION = '0.36';
use Moose;

=head1 NAME



A class representing the state of an instance.



=item code (required)

An interger representing the instance state. Valid values are:


=item * 0: pending 

=item * 16: running 

=item * 32: shutting-down 

=item * 48: terminated

=item * 64: stopping

=item * 80: stopped


=item name (required)

The current named state of the instance. Valid values are:


=item * pending: the instance is in the process of being launched 

=item * running: the instance launched (though booting may not be completed) 

=item * shutting-down: the instance started shutting down 

=item * terminated: the instance terminated 

=item * stopping: the instance is in the process of stopping

=item * stopped: the instance has been stopped



has 'code'  => ( is => 'ro', isa => 'Int' );
has 'name'  => ( is => 'ro', isa => 'Str' );



=head1 AUTHOR

Jeff Kim <>


Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.


no Moose;