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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-vpclattice/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 type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.

Returns:

  • (String)


3390
3391
3392
3393
3394
3395
3396
3397
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3390

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)


3390
3391
3392
3393
3394
3395
3396
3397
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3390

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)


3390
3391
3392
3393
3394
3395
3396
3397
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3390

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 will be sent to this target while current connections are being drained. 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)


3390
3391
3392
3393
3394
3395
3396
3397
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3390

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