Class: Aws::AppMesh::Types::GrpcRouteMetadataMatchMethod

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass GrpcRouteMetadataMatchMethod data as a hash:

{
  exact: "HeaderMatch",
  prefix: "HeaderMatch",
  range: {
    end: 1, # required
    start: 1, # required
  },
  regex: "HeaderMatch",
  suffix: "HeaderMatch",
}

An object that represents the match method. Specify one of the match values.

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

The value sent by the client must match the specified value exactly.

Returns:

  • (String)


1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-appmesh/types.rb', line 1190

class GrpcRouteMetadataMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#prefixString

The value sent by the client must begin with the specified characters.

Returns:

  • (String)


1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-appmesh/types.rb', line 1190

class GrpcRouteMetadataMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#rangeTypes::MatchRange

An object that represents the range of values to match on.

Returns:



1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-appmesh/types.rb', line 1190

class GrpcRouteMetadataMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#regexString

The value sent by the client must include the specified characters.

Returns:

  • (String)


1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-appmesh/types.rb', line 1190

class GrpcRouteMetadataMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#suffixString

The value sent by the client must end with the specified characters.

Returns:

  • (String)


1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-appmesh/types.rb', line 1190

class GrpcRouteMetadataMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end