Class: Aws::VPCLattice::Types::RuleMatch

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

Overview

Note:

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

Note:

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

Describes a rule match.

Direct Known Subclasses

HttpMatch, Unknown

Defined Under Namespace

Classes: HttpMatch, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#http_matchTypes::HttpMatch

The HTTP criteria that a rule must match.

Returns:



3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3991

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

  class HttpMatch < RuleMatch; end
  class Unknown < RuleMatch; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3991
3992
3993
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3991

def unknown
  @unknown
end