AWS::EC2::LaunchTemplate InstanceMarketOptions - AWS CloudFormation

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 }

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