NAME

Paws::EC2::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::EC2::Instance object:

$service_obj->Method(Att1 => { AmiLaunchIndex => $value, ..., VpcId => $value  });

Results returned from an API call

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

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

DESCRIPTION

This class has no description

ATTRIBUTES

AmiLaunchIndex => Int

The AMI launch index, which can be used to find this instance in the
launch group.

Architecture => Str

The architecture of the image.

BlockDeviceMappings => ArrayRef[Paws::EC2::InstanceBlockDeviceMapping]

Any block device mapping entries for the instance.

ClientToken => Str

The idempotency token you provided when you launched the instance, if
applicable.

EbsOptimized => Bool

Indicates whether the instance is optimized for EBS I/O. This
optimization provides dedicated throughput to Amazon EBS and an
optimized configuration stack to provide optimal I/O performance. This
optimization isn't available with all instance types. Additional usage
charges apply when using an EBS Optimized instance.

EnaSupport => Bool

Specifies whether enhanced networking with ENA is enabled.

Hypervisor => Str

The hypervisor type of the instance.

IamInstanceProfile => Paws::EC2::IamInstanceProfile

The IAM instance profile associated with the instance, if applicable.

ImageId => Str

The ID of the AMI used to launch the instance.

InstanceId => Str

The ID of the instance.

InstanceLifecycle => Str

Indicates whether this is a Spot instance or a Scheduled Instance.

InstanceType => Str

The instance type.

KernelId => Str

The kernel associated with this instance, if applicable.

KeyName => Str

The name of the key pair, if this instance was launched with an
associated key pair.

LaunchTime => Str

The time the instance was launched.

Monitoring => Paws::EC2::Monitoring

The monitoring information for the instance.

NetworkInterfaces => ArrayRef[Paws::EC2::InstanceNetworkInterface]

[EC2-VPC] One or more network interfaces for the instance.

Placement => Paws::EC2::Placement

The location where the instance launched, if applicable.

Platform => Str

The value is C<Windows> for Windows instances; otherwise blank.

PrivateDnsName => Str

The private DNS name assigned to the instance. This DNS name can only
be used inside the Amazon EC2 network. This name is not available until
the instance enters the C<running> state. For EC2-VPC, this name is
only available if you've enabled DNS hostnames for your VPC.

PrivateIpAddress => Str

The private IP address assigned to the instance.

ProductCodes => ArrayRef[Paws::EC2::ProductCode]

The product codes attached to this instance, if applicable.

PublicDnsName => Str

The public DNS name assigned to the instance. This name is not
available until the instance enters the C<running> state. For EC2-VPC,
this name is only available if you've enabled DNS hostnames for your
VPC.

PublicIpAddress => Str

The public IP address assigned to the instance, if applicable.

RamdiskId => Str

The RAM disk associated with this instance, if applicable.

RootDeviceName => Str

The root device name (for example, C</dev/sda1> or C</dev/xvda>).

RootDeviceType => Str

The root device type used by the AMI. The AMI can use an EBS volume or
an instance store volume.

SecurityGroups => ArrayRef[Paws::EC2::GroupIdentifier]

One or more security groups for the instance.

SourceDestCheck => Bool

Specifies whether to enable an instance launched in a VPC to perform
NAT. This controls whether source/destination checking is enabled on
the instance. A value of C<true> means checking is enabled, and
C<false> means checking is disabled. The value must be C<false> for the
instance to perform NAT. For more information, see NAT Instances in the
I<Amazon Virtual Private Cloud User Guide>.

SpotInstanceRequestId => Str

If the request is a Spot instance request, the ID of the request.

SriovNetSupport => Str

Specifies whether enhanced networking with the Intel 82599 Virtual
Function interface is enabled.

State => Paws::EC2::InstanceState

The current state of the instance.

StateReason => Paws::EC2::StateReason

The reason for the most recent state transition.

StateTransitionReason => Str

The reason for the most recent state transition. This might be an empty
string.

SubnetId => Str

[EC2-VPC] The ID of the subnet in which the instance is running.

Tags => ArrayRef[Paws::EC2::Tag]

Any tags assigned to the instance.

VirtualizationType => Str

The virtualization type of the instance.

VpcId => Str

[EC2-VPC] The ID of the VPC in which the instance is running.

SEE ALSO

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

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