Class: Aws::VPCLattice::Types::Matcher

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

Overview

Note:

Matcher is a union - when making an API calls you must set exactly one of the members.

Note:

Matcher is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Matcher corresponding to the set member.

Describes the codes to use when checking for a successful response from a target for health checks.

Direct Known Subclasses

HttpCode, Unknown

Defined Under Namespace

Classes: HttpCode, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#http_codeString

The HTTP code to use when checking for a successful response from a target.

Returns:

  • (String)


2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
# File 'lib/aws-sdk-vpclattice/types.rb', line 2484

class Matcher < Struct.new(
  :http_code,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class HttpCode < Matcher; end
  class Unknown < Matcher; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2484
2485
2486
# File 'lib/aws-sdk-vpclattice/types.rb', line 2484

def unknown
  @unknown
end