![]() |
![]()
| ![]() |
![]()
NAMEPaws::EC2::SpotMarketOptions USAGEThis 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::SpotMarketOptions object: $service_obj->Method(Att1 => { BlockDurationMinutes => $value, ..., ValidUntil => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotMarketOptions object: $result = $service_obj->Method(...); $result->Att1->BlockDurationMinutes DESCRIPTIONThis class has no description ATTRIBUTESBlockDurationMinutes => IntThe required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360). The duration period starts as soon as your Spot Instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot Instance for termination and provides a Spot Instance termination notice, which gives the instance a two-minute warning before it terminates. You can't specify an Availability Zone group or a launch group if you specify a duration. New accounts or accounts with no previous billing history with Amazon Web Services are not eligible for Spot Instances with a defined duration (also known as Spot blocks). InstanceInterruptionBehavior => StrThe behavior when a Spot Instance is interrupted. The default is "terminate". MaxPrice => StrThe maximum hourly price you're willing to pay for the Spot Instances. The default is the On-Demand price. SpotInstanceType => StrThe Spot Instance request type. For RunInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances), persistent Spot Instance requests are only supported when the instance interruption behavior is either "hibernate" or "stop". ValidUntil => StrThe end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.
SEE ALSOThis class forms part of Paws, describing an object used in Paws::EC2 BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|