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

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

Overview

Describes a target failure.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_code ⇒ String

The failure code.

Returns:

  • (String)


5331
5332
5333
5334
5335
5336
5337
5338
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 5331

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

#failure_message ⇒ String

The failure message.

Returns:

  • (String)


5331
5332
5333
5334
5335
5336
5337
5338
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 5331

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

#id ⇒ String

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)


5331
5332
5333
5334
5335
5336
5337
5338
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 5331

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

#port ⇒ Integer

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

Returns:

  • (Integer)


5331
5332
5333
5334
5335
5336
5337
5338
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 5331

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