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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-vpclattice/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.

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)


2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 2491

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



2491
2492
2493
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 2491

def unknown
  @unknown
end