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

Class: Aws::ElasticLoadBalancingV2::Types::DeregisterTargetsInput

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 DeregisterTargetsInput data as a hash:

{
  target_group_arn: "TargetGroupArn", # required
  targets: [ # required
    {
      id: "TargetId", # required
      port: 1,
      availability_zone: "ZoneName",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#target_group_arnString

The Amazon Resource Name (ARN) of the target group.

Returns:

  • (String)


712
713
714
715
716
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 712

class DeregisterTargetsInput < Struct.new(
  :target_group_arn,
  :targets)
  include Aws::Structure
end

#targetsArray<Types::TargetDescription>

The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.

Returns:



712
713
714
715
716
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 712

class DeregisterTargetsInput < Struct.new(
  :target_group_arn,
  :targets)
  include Aws::Structure
end