The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::EC2::SpotInstanceRequest

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::SpotInstanceRequest object:

  $service_obj->Method(Att1 => { ActualBlockHourlyPrice => $value, ..., ValidUntil => $value  });

Results returned from an API call

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

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

DESCRIPTION

This class has no description

ATTRIBUTES

ActualBlockHourlyPrice => Str

  If you specified a duration and your Spot instance request was
fulfilled, this is the fixed hourly price in effect for the Spot
instance while it runs.

AvailabilityZoneGroup => Str

  The Availability Zone group. If you specify the same Availability Zone
group for all Spot instance requests, all Spot instances are launched
in the same Availability Zone.

BlockDurationMinutes => Int

  The duration for the Spot instance, in minutes.

CreateTime => Str

  The date and time when the Spot instance request was created, in UTC
format (for example, I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z).

Fault => Paws::EC2::SpotInstanceStateFault

  The fault codes for the Spot instance request, if any.

InstanceId => Str

  The instance ID, if an instance has been launched to fulfill the Spot
instance request.

InstanceInterruptionBehavior => Str

  Indicates whether a Spot instance stops or terminates when it is
interrupted.

LaunchedAvailabilityZone => Str

  The Availability Zone in which the bid is launched.

LaunchGroup => Str

  The instance launch group. Launch groups are Spot instances that launch
together and terminate together.

LaunchSpecification => Paws::EC2::LaunchSpecification

  Additional information for launching instances.

ProductDescription => Str

  The product description associated with the Spot instance.

SpotInstanceRequestId => Str

  The ID of the Spot instance request.

SpotPrice => Str

  The maximum hourly price (bid) for the Spot instance launched to
fulfill the request.

State => Str

  The state of the Spot instance request. Spot bid status information can
help you track your Spot instance requests. For more information, see
Spot Bid Status in the I<Amazon Elastic Compute Cloud User Guide>.

Status => Paws::EC2::SpotInstanceStatus

  The status code and status message describing the Spot instance
request.

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

  Any tags assigned to the resource.

Type => Str

  The Spot instance request type.

ValidFrom => Str

  The start date of the request, in UTC format (for example,
I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). The request becomes active at
this date and time.

ValidUntil => Str

  The end date of the request, in UTC format (for example,
I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). If this is a one-time request,
it remains active until all instances launch, the request is canceled,
or this date is reached. If the request is persistent, it remains
active until it is canceled or this date is reached.

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