NAME

Paws::OpsWorks::Instance

USAGE

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(...);
$result->Att1->AgentVersion

DESCRIPTION

Describes an instance.

ATTRIBUTES

AgentVersion => Str

The agent version. This parameter is set to 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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html)

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 (https://docs.aws.amazon.com/general/latest/gr/rande.html).

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

An array of 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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).

Hostname => Str

The instance host name.

InfrastructureClass => Str

For registered instances, the infrastructure class: ec2 or on-premises.

InstallUpdatesOnBoot => Bool

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

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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).

InstanceType => Str

The instance type, such as t2.micro.

LastServiceErrorId => Str

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

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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#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 VPC.

Tenancy => Str

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

VirtualizationType => Str

The instance's virtualization type: paravirtual or hvm.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues