class Aws::MigrationHubRefactorSpaces::Types::CreateRouteRequest

@note When making an API call, you may pass CreateRouteRequest

data as a hash:

    {
      application_identifier: "ApplicationId", # required
      client_token: "ClientToken",
      environment_identifier: "EnvironmentId", # required
      route_type: "DEFAULT", # required, accepts DEFAULT, URI_PATH
      service_identifier: "ServiceId", # required
      tags: {
        "TagMapKeyString" => "TagMapValueString",
      },
      uri_path_route: {
        activation_state: "ACTIVE", # required, accepts ACTIVE
        include_child_paths: false,
        methods: ["DELETE"], # accepts DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
        source_path: "UriPath", # required
      },
    }

@!attribute [rw] application_identifier

The ID of the application within which the route is being created.
@return [String]

@!attribute [rw] client_token

A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@!attribute [rw] environment_identifier

The ID of the environment in which the route is created.
@return [String]

@!attribute [rw] route_type

The route type of the route. `DEFAULT` indicates that all traffic
that does not match another route is forwarded to the default route.
Applications must have a default route before any other routes can
be created. `URI_PATH` indicates a route that is based on a URI
path.
@return [String]

@!attribute [rw] service_identifier

The ID of the service in which the route is created. Traffic that
matches this route is forwarded to this service.
@return [String]

@!attribute [rw] tags

The tags to assign to the route. A tag is a label that you assign to
an Amazon Web Services resource. Each tag consists of a key-value
pair..
@return [Hash<String,String>]

@!attribute [rw] uri_path_route

The configuration for the URI path route type.
@return [Types::UriPathRouteInput]

@see docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateRouteRequest AWS API Documentation

Constants

SENSITIVE