Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::EC2::EC2Fleet TagSpecification

Focus mode
AWS::EC2::EC2Fleet TagSpecification - AWS CloudFormation
Filter View

Specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.

TagSpecification is a property of the AWS::EC2::EC2Fleet resource.

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.

Required: No

Type: String

Allowed values: client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | egress-only-internet-gateway | elastic-gpu | elastic-ip | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | image | import-image-task | import-snapshot-task | instance | internet-gateway | key-pair | launch-template | local-gateway-route-table-vpc-association | natgateway | network-acl | network-insights-analysis | network-insights-path | network-interface | placement-group | reserved-instances | route-table | security-group | snapshot | spot-fleet-request | spot-instances-request | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-connect-peer | transit-gateway-multicast-domain | transit-gateway-route-table | volume | vpc | vpc-flow-log | vpc-peering-connection | vpn-connection | vpn-gateway

Update requires: Replacement

Tags

The tags to apply to the resource.

Required: No

Type: Array of Tag

Update requires: Replacement

See also

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.