AWS::RefactorSpaces::Route UriPathRouteInput - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::RefactorSpaces::Route UriPathRouteInput

The configuration for the URI path route type.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ActivationState" : String, "IncludeChildPaths" : Boolean, "Methods" : [ String, ... ], "SourcePath" : String }

YAML

ActivationState: String IncludeChildPaths: Boolean Methods: - String SourcePath: String

Properties

ActivationState

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

Required: Yes

Type: String

Update requires: No interruption

IncludeChildPaths

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.

Required: No

Type: Boolean

Update requires: Replacement

Methods

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.

Required: No

Type: List of String

Update requires: Replacement

SourcePath

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

Required: No

Type: String

Update requires: Replacement