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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass SpotFleetTagSpecification data as a 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

#resource_typeString

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

Returns:

  • (String)


23166
23167
23168
23169
23170
# File 'lib/aws-sdk-ec2/types.rb', line 23166

class SpotFleetTagSpecification < Struct.new(
  :resource_type,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags.

Returns:



23166
23167
23168
23169
23170
# File 'lib/aws-sdk-ec2/types.rb', line 23166

class SpotFleetTagSpecification < Struct.new(
  :resource_type,
  :tags)
  include Aws::Structure
end