AWS::EC2::CapacityReservationFleet TagSpecification - AWS CloudFormation

AWS::EC2::CapacityReservationFleet TagSpecification

The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.

Note

The Valid Values lists all the resource types that can be tagged. However, the action you're using might not support tagging all of these resource types. If you try to tag a resource type that is unsupported for the action you're using, you'll get an error.

Syntax

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

JSON

{ "ResourceType" : String, "Tags" : [ Tag, ... ] }

YAML

ResourceType: String Tags: - Tag

Properties

ResourceType

The type of resource to tag on creation. Specify capacity-reservation-fleet.

To tag a resource after it has been created, see CreateTags.

Required: No

Type: String

Update requires: Replacement

Tags

The tags to apply to the resource.

Required: No

Type: Array of Tag

Update requires: Replacement