AWS::EC2::CapacityReservation TagSpecification - AWS CloudFormation
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

AWS::EC2::CapacityReservation TagSpecification

应用于此资源的键/值对数组。

有关更多信息,请参阅标签

语法

要在 AWS CloudFormation 模板中声明此实体,请使用以下语法:

JSON

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

YAML

ResourceType: String Tags: - Tag

属性

ResourceType

要为其添加标签的资源的类型。指定 capacity-reservation

必需:否

类型:字符串

允许的值client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | 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-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-multicast-domain | transit-gateway-route-table | volume | vpc | vpc-flow-log | vpc-peering-connection | vpn-connection | vpn-gateway

Update requires: No interruption

Tags

要应用于资源的标签。

必需:否

类型Tag 的列表

Update requires: No interruption