Class CfnRoutePropsMixin.UriPathRouteInputProperty
The configuration for the URI path route type.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.RefactorSpaces
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnRoutePropsMixin.UriPathRouteInputProperty : CfnRoutePropsMixin.IUriPathRouteInputProperty
Syntax (vb)
Public Class CfnRoutePropsMixin.UriPathRouteInputProperty Implements CfnRoutePropsMixin.IUriPathRouteInputProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.RefactorSpaces;
var uriPathRouteInputProperty = new UriPathRouteInputProperty {
ActivationState = "activationState",
AppendSourcePath = false,
IncludeChildPaths = false,
Methods = new [] { "methods" },
SourcePath = "sourcePath"
};
Synopsis
Constructors
| UriPathRouteInputProperty() | The configuration for the URI path route type. |
Properties
| ActivationState | If set to |
| AppendSourcePath | If set to |
| IncludeChildPaths | Indicates whether to match all subpaths of the given source path. |
| Methods | A list of HTTP methods to match. |
| SourcePath | This is the path that Refactor Spaces uses to match traffic. |
Constructors
UriPathRouteInputProperty()
The configuration for the URI path route type.
public UriPathRouteInputProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.RefactorSpaces;
var uriPathRouteInputProperty = new UriPathRouteInputProperty {
ActivationState = "activationState",
AppendSourcePath = false,
IncludeChildPaths = false,
Methods = new [] { "methods" },
SourcePath = "sourcePath"
};
Properties
ActivationState
If set to ACTIVE , traffic is forwarded to this route’s service after the route is created.
public string? ActivationState { get; set; }
Property Value
Remarks
AppendSourcePath
If set to true , this option appends the source path to the service URL endpoint.
public object? AppendSourcePath { get; set; }
Property Value
Remarks
IncludeChildPaths
Indicates whether to match all subpaths of the given source path.
public object? IncludeChildPaths { get; set; }
Property Value
Remarks
If this value is false , requests must match the source path exactly before they are forwarded to this route's service.
Type union: either bool or IResolvable
Methods
A list of HTTP methods to match.
public string[]? Methods { get; set; }
Property Value
string[]
Remarks
An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
SourcePath
This is the path that Refactor Spaces uses to match traffic.
public string? SourcePath { get; set; }
Property Value
Remarks
Paths must start with / and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.