Class: Aws::MigrationHubRefactorSpaces::Types::CreateRouteRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#application_identifierString

The ID of the application within which the route is being created.

Returns:

  • (String)


531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#client_tokenString

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.

Returns:

  • (String)


531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#default_routeTypes::DefaultRouteInput

Configuration for the default route type.



531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#environment_identifierString

The ID of the environment in which the route is created.

Returns:

  • (String)


531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#route_typeString

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.

Returns:

  • (String)


531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#service_identifierString

The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.

Returns:

  • (String)


531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#uri_path_routeTypes::UriPathRouteInput

The configuration for the URI path route type.



531
532
533
534
535
536
537
538
539
540
541
542
# File 'lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 531

class CreateRouteRequest < Struct.new(
  :application_identifier,
  :client_token,
  :default_route,
  :environment_identifier,
  :route_type,
  :service_identifier,
  :tags,
  :uri_path_route)
  SENSITIVE = [:tags]
  include Aws::Structure
end