Class: Aws::MigrationHubRefactorSpaces::Types::UriPathRouteInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::MigrationHubRefactorSpaces::Types::UriPathRouteInput
- Defined in:
- gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb
Overview
When making an API call, you may pass UriPathRouteInput data as a hash:
{
activation_state: "ACTIVE", # required, accepts ACTIVE, INACTIVE
include_child_paths: false,
methods: ["DELETE"], # accepts DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
source_path: "UriPath", # required
}
The configuration for the URI path route type.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#activation_state ⇒ String
If set to
ACTIVE
, traffic is forwarded to this route’s service after the route is created. -
#include_child_paths ⇒ Boolean
Indicates whether to match all subpaths of the given source path.
-
#methods ⇒ Array<String>
A list of HTTP methods to match.
-
#source_path ⇒ String
The path to use to match traffic.
Instance Attribute Details
#activation_state ⇒ String
If set to ACTIVE
, traffic is forwarded to this route’s service
after the route is created.
2666 2667 2668 2669 2670 2671 2672 2673 |
# File 'gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 2666 class UriPathRouteInput < Struct.new( :activation_state, :include_child_paths, :methods, :source_path) SENSITIVE = [] include Aws::Structure end |
#include_child_paths ⇒ Boolean
Indicates whether to match all subpaths of the given source path. If
this value is false
, requests must match the source path exactly
before they are forwarded to this route's service.
2666 2667 2668 2669 2670 2671 2672 2673 |
# File 'gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 2666 class UriPathRouteInput < Struct.new( :activation_state, :include_child_paths, :methods, :source_path) SENSITIVE = [] include Aws::Structure end |
#methods ⇒ Array<String>
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
2666 2667 2668 2669 2670 2671 2672 2673 |
# File 'gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 2666 class UriPathRouteInput < Struct.new( :activation_state, :include_child_paths, :methods, :source_path) SENSITIVE = [] include Aws::Structure end |
#source_path ⇒ String
The path to use to match traffic. Paths must start with /
and are
relative to the base of the application.
2666 2667 2668 2669 2670 2671 2672 2673 |
# File 'gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 2666 class UriPathRouteInput < Struct.new( :activation_state, :include_child_paths, :methods, :source_path) SENSITIVE = [] include Aws::Structure end |