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.

BootMode => Str

The boot mode of the instance. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon EC2 User Guide.

CapacityReservationId => Str

The ID of the Capacity Reservation.

CapacityReservationSpecification => Paws::EC2::CapacityReservationSpecificationResponse

Information about the Capacity Reservation targeting option.

ClientToken => Str

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

CpuOptions => Paws::EC2::CpuOptions

The CPU options for the instance.

EbsOptimized => Bool

Indicates whether the instance is optimized for Amazon 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.

ElasticGpuAssociations => ArrayRef[Paws::EC2::ElasticGpuAssociation]

The Elastic GPU associated with the instance.

ElasticInferenceAcceleratorAssociations => ArrayRef[Paws::EC2::ElasticInferenceAcceleratorAssociation]

The elastic inference accelerator associated with the instance.

EnaSupport => Bool

Specifies whether enhanced networking with ENA is enabled.

EnclaveOptions => Paws::EC2::EnclaveOptions

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

HibernationOptions => Paws::EC2::HibernationOptions

Indicates whether the instance is enabled for hibernation.

Hypervisor => Str

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

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.

Licenses => ArrayRef[Paws::EC2::LicenseConfiguration]

The license configurations.

MetadataOptions => Paws::EC2::InstanceMetadataOptionsResponse

The metadata options for the instance.

Monitoring => Paws::EC2::Monitoring

The monitoring for the instance.

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

[EC2-VPC] The network interfaces for the instance.

OutpostArn => Str

The Amazon Resource Name (ARN) of the Outpost.

Placement => Paws::EC2::Placement

The location where the instance launched, if applicable.

Platform => Str

The value is Windows for Windows instances; otherwise blank.

PrivateDnsName => Str

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

PrivateIpAddress => Str

The private IPv4 address assigned to the instance.

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

The product codes attached to this instance, if applicable.

PublicDnsName => Str

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

PublicIpAddress => Str

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

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

RamdiskId => Str

The RAM disk associated with this instance, if applicable.

RootDeviceName => Str

The device name of the root device volume (for example, /dev/sda1).

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]

The security groups for the instance.

SourceDestCheck => Bool

Indicates whether source/destination checking is enabled.

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