Show / Hide Table of Contents

Class CfnRoutePropsMixin.UriPathRouteInputProperty

The configuration for the URI path route type.

Inheritance
object
CfnRoutePropsMixin.UriPathRouteInputProperty
Implements
CfnRoutePropsMixin.IUriPathRouteInputProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html

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 ACTIVE , traffic is forwarded to this route’s service after the route is created.

AppendSourcePath

If set to true , this option appends the source path to the service URL endpoint.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-activationstate

AppendSourcePath

If set to true , this option appends the source path to the service URL endpoint.

public object? AppendSourcePath { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-appendsourcepath

Type union: either bool or IResolvable

IncludeChildPaths

Indicates whether to match all subpaths of the given source path.

public object? IncludeChildPaths { get; set; }
Property Value

object

Remarks

If this value is false , requests must match the source path exactly before they are forwarded to this route's service.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-includechildpaths

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-methods

SourcePath

This is the path that Refactor Spaces uses to match traffic.

public string? SourcePath { get; set; }
Property Value

string

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-sourcepath

Implements

CfnRoutePropsMixin.IUriPathRouteInputProperty
Back to top Generated by DocFX