« blib/lib/Paws/EC2/LaunchTemplateSpotMarketOptions.pm
↑ Summary
blib/lib/Paws/EC2/LaunchTemplateTagSpecification.pm »
| 1 | package Paws::EC2::LaunchTemplateSpotMarketOptionsRequest; | ||
| 2 | use Moose; | ||
| 3 | has BlockDurationMinutes => (is => 'ro', isa => 'Int'); | ||
| 4 | has InstanceInterruptionBehavior => (is => 'ro', isa => 'Str'); | ||
| 5 | has MaxPrice => (is => 'ro', isa => 'Str'); | ||
| 6 | has SpotInstanceType => (is => 'ro', isa => 'Str'); | ||
| 7 | has ValidUntil => (is => 'ro', isa => 'Str'); | ||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::EC2::LaunchTemplateSpotMarketOptionsRequest | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::EC2::LaunchTemplateSpotMarketOptionsRequest object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { BlockDurationMinutes => $value, ..., ValidUntil => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::LaunchTemplateSpotMarketOptionsRequest object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->BlockDurationMinutes | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | This class has no description | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 BlockDurationMinutes => Int | ||
| 44 | |||
| 45 | The required duration for the Spot Instances (also known as Spot | ||
| 46 | blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, | ||
| 47 | 240, 300, or 360). | ||
| 48 | |||
| 49 | |||
| 50 | =head2 InstanceInterruptionBehavior => Str | ||
| 51 | |||
| 52 | The behavior when a Spot Instance is interrupted. The default is | ||
| 53 | C<terminate>. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 MaxPrice => Str | ||
| 57 | |||
| 58 | The maximum hourly price you're willing to pay for the Spot Instances. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 SpotInstanceType => Str | ||
| 62 | |||
| 63 | The Spot Instance request type. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 ValidUntil => Str | ||
| 67 | |||
| 68 | The end date of the request. For a one-time request, the request | ||
| 69 | remains active until all instances launch, the request is canceled, or | ||
| 70 | this date is reached. If the request is persistent, it remains active | ||
| 71 | until it is canceled or this date and time is reached. The default end | ||
| 72 | date is 7 days from the current date. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut |