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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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:



2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
# File 'lib/aws-sdk-vpclattice/types.rb', line 2714

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



2714
2715
2716
# File 'lib/aws-sdk-vpclattice/types.rb', line 2714

def unknown
  @unknown
end