« blib/lib/Paws/EC2/LaunchTemplateSpecification.pm
↑ Summary
blib/lib/Paws/EC2/LaunchTemplateSpotMarketOptionsRequest.pm »
| 1 | package Paws::EC2::LaunchTemplateSpotMarketOptions; | ||
| 2 | use Moose; | ||
| 3 | has BlockDurationMinutes => (is => 'ro', isa => 'Int', request_name => 'blockDurationMinutes', traits => ['NameInRequest']); | ||
| 4 | has InstanceInterruptionBehavior => (is => 'ro', isa => 'Str', request_name => 'instanceInterruptionBehavior', traits => ['NameInRequest']); | ||
| 5 | has MaxPrice => (is => 'ro', isa => 'Str', request_name => 'maxPrice', traits => ['NameInRequest']); | ||
| 6 | has SpotInstanceType => (is => 'ro', isa => 'Str', request_name => 'spotInstanceType', traits => ['NameInRequest']); | ||
| 7 | has ValidUntil => (is => 'ro', isa => 'Str', request_name => 'validUntil', traits => ['NameInRequest']); | ||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::EC2::LaunchTemplateSpotMarketOptions | ||
| 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::LaunchTemplateSpotMarketOptions 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::LaunchTemplateSpotMarketOptions 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. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 MaxPrice => Str | ||
| 56 | |||
| 57 | The maximum hourly price you're willing to pay for the Spot Instances. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 SpotInstanceType => Str | ||
| 61 | |||
| 62 | The Spot Instance request type. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 ValidUntil => Str | ||
| 66 | |||
| 67 | The end date of the request. For a one-time request, the request | ||
| 68 | remains active until all instances launch, the request is canceled, or | ||
| 69 | this date is reached. If the request is persistent, it remains active | ||
| 70 | until it is canceled or this date and time is reached. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut |