AWS::EC2::LaunchTemplate InstanceMarketOptions - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon CloudFormation template, use the following syntax:

JSON

{ "MarketType" : String, "SpotOptions" : SpotOptions }

Properties

MarketType

The market type.

Required: Conditional

Type: String

Allowed values: spot | capacity-block

Update requires: No interruption

SpotOptions

The options for Spot Instances.

Required: No

Type: SpotOptions

Update requires: No interruption

See also