You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppMesh::Types::HttpRouteMatch

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing HttpRouteMatch as input to an Aws::Client method, you can use a vanilla Hash:

{
  headers: [
    {
      invert: false,
      match: {
        exact: "HeaderMatch",
        prefix: "HeaderMatch",
        range: {
          end: 1, # required
          start: 1, # required
        },
        regex: "HeaderMatch",
        suffix: "HeaderMatch",
      },
      name: "HeaderName", # required
    },
  ],
  method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
  prefix: "String", # required
  scheme: "http", # accepts http, https
}

An object representing the requirements for a route to match HTTP requests for a virtual router.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#headersArray<Types::HttpRouteHeader>

Returns:

#methodString

Possible values:

  • connect
  • delete
  • get
  • head
  • options
  • patch
  • post
  • put
  • trace

Returns:

  • (String)

#prefixString

Returns:

  • (String)

#schemeString

Possible values:

  • http
  • https

Returns:

  • (String)