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: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, 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)


34573
34574
34575
34576
34577
# File 'lib/aws-sdk-ec2/types.rb', line 34573

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

#tagsArray<Types::Tag>

The tags.

Returns:



34573
34574
34575
34576
34577
# File 'lib/aws-sdk-ec2/types.rb', line 34573

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