Class: Aws::VPCLattice::Types::TargetSummary

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

Overview

Summary information about a target.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the target. If the target group type is ‘INSTANCE`, this is an instance ID. If the target group type is `IP`, this is an IP address. If the target group type is `LAMBDA`, this is the ARN of a Lambda function. If the target type is `ALB`, this is the ARN of an Application Load Balancer.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-vpclattice/types.rb', line 3402

class TargetSummary < Struct.new(
  :id,
  :port,
  :reason_code,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port on which the target is listening.

Returns:

  • (Integer)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-vpclattice/types.rb', line 3402

class TargetSummary < Struct.new(
  :id,
  :port,
  :reason_code,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#reason_codeString

The code for why the target status is what it is.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-vpclattice/types.rb', line 3402

class TargetSummary < Struct.new(
  :id,
  :port,
  :reason_code,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the target.

  • ‘DRAINING`: The target is being deregistered. No new connections are sent to this target while current connections are being drained. The default draining time is 5 minutes.

  • ‘UNAVAILABLE`: Health checks are unavailable for the target group.

  • ‘HEALTHY`: The target is healthy.

  • ‘UNHEALTHY`: The target is unhealthy.

  • ‘INITIAL`: Initial health checks on the target are being performed.

  • ‘UNUSED`: Target group is not used in a service.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-vpclattice/types.rb', line 3402

class TargetSummary < Struct.new(
  :id,
  :port,
  :reason_code,
  :status)
  SENSITIVE = []
  include Aws::Structure
end