The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

Deprecated.

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

Deprecated.

CreateTime => Str

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

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

The behavior when a Spot Instance is interrupted.

LaunchedAvailabilityZone => Str

The Availability Zone in which the request 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 price per hour that you are willing to pay for a Spot Instance.

State => Str

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) in the Amazon EC2 User Guide for Linux Instances.

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, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

ValidUntil => Str

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

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