You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::SpotFleetTagSpecification

  • Object
show all
Defined in:



When passing SpotFleetTagSpecification as input to an Aws::Client method, you can use a vanilla Hash:

  resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
  tags: [
      key: "String",
      value: "String",

The tags for a Spot Fleet resource.

Instance Attribute Summary collapse

Instance Attribute Details


The type of resource. Currently, the only resource type that is supported is instance.

Possible values:

  • customer-gateway
  • dhcp-options
  • image
  • instance
  • internet-gateway
  • network-acl
  • network-interface
  • reserved-instances
  • route-table
  • snapshot
  • spot-instances-request
  • subnet
  • security-group
  • volume
  • vpc
  • vpn-connection
  • vpn-gateway


  • (String)

    The type of resource.


The tags.