AWS::EC2::LaunchTemplate CapacityReservationTarget - 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 CapacityReservationTarget

Specifies a target Capacity Reservation.

CapacityReservationTarget is a property of the Amazon EC2 LaunchTemplate LaunchTemplateData property type.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

CapacityReservationId

The ID of the Capacity Reservation in which to run the instance.

Required: No

Type: String

Update requires: No interruption

CapacityReservationResourceGroupArn

The ARN of the Capacity Reservation resource group in which to run the instance.

Required: No

Type: String

Update requires: No interruption