Class: Aws::VPCLattice::Types::PathMatchType

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

Overview

Note:

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

Note:

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

Describes a path match type. Each rule can include only one of the following types of paths.

Defined Under Namespace

Classes: Exact, Prefix, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exact ⇒ String

An exact match of the path.

Returns:

  • (String)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4124

class PathMatchType < Struct.new(
  :exact,
  :prefix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < PathMatchType; end
  class Prefix < PathMatchType; end
  class Unknown < PathMatchType; end
end

#prefix ⇒ String

A prefix match of the path.

Returns:

  • (String)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4124

class PathMatchType < Struct.new(
  :exact,
  :prefix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < PathMatchType; end
  class Prefix < PathMatchType; end
  class Unknown < PathMatchType; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4124
4125
4126
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4124

def unknown
  @unknown
end