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:



4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4072

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



4072
4073
4074
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4072

def unknown
  @unknown
end