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

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

Direct Known Subclasses

Exact, Prefix, Unknown

Defined Under Namespace

Classes: Exact, Prefix, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

An exact match of the path.

Returns:

  • (String)


3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
# File 'lib/aws-sdk-vpclattice/types.rb', line 3587

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

#prefixString

A prefix match of the path.

Returns:

  • (String)


3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
# File 'lib/aws-sdk-vpclattice/types.rb', line 3587

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3587
3588
3589
# File 'lib/aws-sdk-vpclattice/types.rb', line 3587

def unknown
  @unknown
end