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

Class: Aws::EC2::Types::TargetGroupsConfig

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

Overview

Note:

When making an API call, you may pass TargetGroupsConfig data as a hash:

{
  target_groups: [ # required
    {
      arn: "String", # required
    },
  ],
}

Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the running Spot Instances with these target groups.

Instance Attribute Summary collapse

Instance Attribute Details

#target_groupsArray<Types::TargetGroup>

One or more target groups.

Returns:



28797
28798
28799
28800
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28797

class TargetGroupsConfig < Struct.new(
  :target_groups)
  include Aws::Structure
end