This class represents one of two things:

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::OpsWorks::Instance object:

  $service_obj->Method(Att1 => { AgentVersion => $value, ..., VirtualizationType => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Instance object:

  $result = $service_obj->Method(...);


Describes an instance.


AgentVersion => Str

  The agent version. This parameter is set to C<INHERIT> if the instance
inherits the default stack setting or to a a version number for a fixed
agent version.

AmiId => Str

  A custom AMI ID to be used to create the instance. For more
information, see Instances

Architecture => Str

  The instance architecture: "i386" or "x86_64".

Arn => Str

  The instance's Amazon Resource Number (ARN).

AutoScalingType => Str

  For load-based or time-based instances, the type.

AvailabilityZone => Str

  The instance Availability Zone. For more information, see Regions and
Endpoints (

BlockDeviceMappings => ArrayRef[Paws::OpsWorks::BlockDeviceMapping]

  An array of C<BlockDeviceMapping> objects that specify the instance's
block device mappings.

CreatedAt => Str

  The time that the instance was created.

EbsOptimized => Bool

  Whether this is an Amazon EBS-optimized instance.

Ec2InstanceId => Str

  The ID of the associated Amazon EC2 instance.

EcsClusterArn => Str

  For container instances, the Amazon ECS cluster's ARN.

EcsContainerInstanceArn => Str

  For container instances, the instance's ARN.

ElasticIp => Str

  The instance Elastic IP address

Hostname => Str

  The instance host name.

InfrastructureClass => Str

  For registered instances, the infrastructure class: C<ec2> or

InstallUpdatesOnBoot => Bool

  Whether to install operating system and package updates when the
instance boots. The default value is C<true>. If this value is set to
C<false>, you must then update your instances manually by using
CreateDeployment to run the C<update_dependencies> stack command or by
manually running C<yum> (Amazon Linux) or C<apt-get> (Ubuntu) on the

We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

InstanceId => Str

  The instance ID.

InstanceProfileArn => Str

  The ARN of the instance's IAM profile. For more information about IAM
ARNs, see Using Identifiers

InstanceType => Str

  The instance type, such as C<t2.micro>.

LastServiceErrorId => Str

  The ID of the last service error. For more information, call

LayerIds => ArrayRef[Str|Undef]

  An array containing the instance layer IDs.

Os => Str

  The instance's operating system.

Platform => Str

  The instance's platform.

PrivateDns => Str

  The instance's private DNS name.

PrivateIp => Str

  The instance's private IP address.

PublicDns => Str

  The instance public DNS name.

PublicIp => Str

  The instance public IP address.

RegisteredBy => Str

  For registered instances, who performed the registration.

ReportedAgentVersion => Str

  The instance's reported AWS OpsWorks Stacks agent version.

ReportedOs => Paws::OpsWorks::ReportedOs

  For registered instances, the reported operating system.

RootDeviceType => Str

  The instance's root device type. For more information, see Storage for
the Root Device

RootDeviceVolumeId => Str

  The root device volume ID.

SecurityGroupIds => ArrayRef[Str|Undef]

  An array containing the instance security group IDs.

SshHostDsaKeyFingerprint => Str

  The SSH key's Deep Security Agent (DSA) fingerprint.

SshHostRsaKeyFingerprint => Str

  The SSH key's RSA fingerprint.

SshKeyName => Str

  The instance's Amazon EC2 key-pair name.

StackId => Str

  The stack ID.

Status => Str

  The instance status:
  • booting

  • connection_lost

  • online

  • pending

  • rebooting

  • requested

  • running_setup

  • setup_failed

  • shutting_down

  • start_failed

  • stop_failed

  • stopped

  • stopping

  • terminated

  • terminating

SubnetId => Str

  The instance's subnet ID; applicable only if the stack is running in a

Tenancy => Str

  The instance's tenancy option, such as C<dedicated> or C<host>.

VirtualizationType => Str

  The instance's virtualization type: C<paravirtual> or C<hvm>.


This class forms part of Paws, describing an object used in Paws::OpsWorks


The source code is located here:

Please report bugs to: