Class: Aws::MigrationHubRefactorSpaces::Types::UriPathRouteInput

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

Overview

Note:

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

Instance Attribute Details

#activation_stateString

If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.

Returns:

  • (String)


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_pathsBoolean

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.

Returns:

  • (Boolean)


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

#methodsArray<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.

Returns:

  • (Array<String>)


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_pathString

The path to use to match traffic. Paths must start with / and are relative to the base of the application.

Returns:

  • (String)


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