The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

# Generated by default/object.tt
use Moose;
has DeploymentId => (is => 'ro', isa => 'Str', request_name => 'deploymentId', traits => ['NameInRequest']);
has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
has LastUpdatedAt => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedAt', traits => ['NameInRequest']);
has LifecycleEvents => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::LifecycleEvent]', request_name => 'lifecycleEvents', traits => ['NameInRequest']);
has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=head1 NAME
Paws::CodeDeploy::InstanceSummary
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CodeDeploy::InstanceSummary object:
$service_obj->Method(Att1 => { DeploymentId => $value, ..., Status => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::InstanceSummary object:
$result = $service_obj->Method(...);
$result->Att1->DeploymentId
=head1 DESCRIPTION
Information about an instance in a deployment.
=head1 ATTRIBUTES
=head2 DeploymentId => Str
The unique ID of a deployment.
=head2 InstanceId => Str
The instance ID.
=head2 InstanceType => Str
Information about which environment an instance belongs to in a
blue/green deployment.
=over
=item *
BLUE: The instance is part of the original environment.
=item *
GREEN: The instance is part of the replacement environment.
=back
=head2 LastUpdatedAt => Str
A timestamp that indicates when the instance information was last
updated.
=head2 LifecycleEvents => ArrayRef[L<Paws::CodeDeploy::LifecycleEvent>]
A list of lifecycle events for this instance.
=head2 Status => Str
The deployment status for this instance:
=over
=item *
C<Pending>: The deployment is pending for this instance.
=item *
C<In Progress>: The deployment is in progress for this instance.
=item *
C<Succeeded>: The deployment has succeeded for this instance.
=item *
C<Failed>: The deployment has failed for this instance.
=item *
C<Skipped>: The deployment has been skipped for this instance.
=item *
C<Unknown>: The deployment status is unknown for this instance.
=back
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut