This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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 CloudFormation template, use the following syntax:
JSON
{ "MarketType" :String, "SpotOptions" :SpotOptions}
YAML
MarketType:StringSpotOptions:SpotOptions
Properties
MarketType-
The market type.
Required: Conditional
Type: String
Allowed values:
spot | capacity-block | interruptible-capacity-reservationUpdate 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
-
Create a launch template using advanced settings in the Amazon EC2 Auto Scaling User Guide
Warning Javascript is disabled or is unavailable in your browser.
To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.