Class: Aws::VPCLattice::Types::TargetFailure

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

Overview

Describes a target failure.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_codeString

The failure code.

Returns:

  • (String)


3207
3208
3209
3210
3211
3212
3213
3214
# File 'lib/aws-sdk-vpclattice/types.rb', line 3207

class TargetFailure < Struct.new(
  :failure_code,
  :failure_message,
  :id,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#failure_messageString

The failure message.

Returns:

  • (String)


3207
3208
3209
3210
3211
3212
3213
3214
# File 'lib/aws-sdk-vpclattice/types.rb', line 3207

class TargetFailure < Struct.new(
  :failure_code,
  :failure_message,
  :id,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#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 group type is `ALB`, this is the ARN of an Application Load Balancer.

Returns:

  • (String)


3207
3208
3209
3210
3211
3212
3213
3214
# File 'lib/aws-sdk-vpclattice/types.rb', line 3207

class TargetFailure < Struct.new(
  :failure_code,
  :failure_message,
  :id,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port on which the target is listening. This parameter doesn’t apply if the target is a Lambda function.

Returns:

  • (Integer)


3207
3208
3209
3210
3211
3212
3213
3214
# File 'lib/aws-sdk-vpclattice/types.rb', line 3207

class TargetFailure < Struct.new(
  :failure_code,
  :failure_message,
  :id,
  :port)
  SENSITIVE = []
  include Aws::Structure
end