AWS::EC2::LaunchTemplate InstanceMarketOptions
Specifies the market (purchasing) option for an instance.
InstanceMarketOptions
is a property of the AWS::EC2::LaunchTemplate LaunchTemplateData.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "MarketType" :
String
, "SpotOptions" :SpotOptions
}
YAML
MarketType:
String
SpotOptions:SpotOptions
Properties
MarketType
-
The market type.
Required: Conditional
Type: String
Allowed values:
spot
Update requires: No interruption
SpotOptions
-
The options for Spot Instances.
Required: No
Type: SpotOptions
Update requires: No interruption
See also
-
LaunchTemplateInstanceMarketOptionsRequest in the Amazon EC2 API Reference