You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::LaunchTemplateInstanceMarketOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplateInstanceMarketOptionsRequest
- Defined in:
- (unknown)
Overview
Note:
When passing LaunchTemplateInstanceMarketOptionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
market_type: "spot", # accepts spot
spot_options: {
max_price: "String",
spot_instance_type: "one-time", # accepts one-time, persistent
block_duration_minutes: 1,
valid_until: Time.now,
instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
},
}
The market (purchasing) option for the instances.
Returned by:
Instance Attribute Summary collapse
-
#market_type ⇒ String
The market type.
-
#spot_options ⇒ Types::LaunchTemplateSpotMarketOptionsRequest
The options for Spot Instances.
Instance Attribute Details
#market_type ⇒ String
The market type.
Possible values:
- spot
#spot_options ⇒ Types::LaunchTemplateSpotMarketOptionsRequest
The options for Spot Instances.