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

Class: Aws::ElasticLoadBalancingV2::Types::TargetDescription

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

Overview

Note:

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

{
  id: "TargetId", # required
  port: 1,
}

Information about a target.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the target.

Returns:

  • (String)


1988
1989
1990
1991
1992
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1988

class TargetDescription < Struct.new(
  :id,
  :port)
  include Aws::Structure
end

#portInteger

The port on which the target is listening.

Returns:

  • (Integer)


1988
1989
1990
1991
1992
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1988

class TargetDescription < Struct.new(
  :id,
  :port)
  include Aws::Structure
end