RouteUriPathRouteInputArgs

data class RouteUriPathRouteInputArgs(val activationState: Output<RouteActivationState>, val appendSourcePath: Output<Boolean>? = null, val includeChildPaths: Output<Boolean>? = null, val methods: Output<List<RouteMethod>>? = null, val sourcePath: Output<String>? = null) : ConvertibleToJava<RouteUriPathRouteInputArgs>

Constructors

Link copied to clipboard
constructor(activationState: Output<RouteActivationState>, appendSourcePath: Output<Boolean>? = null, includeChildPaths: Output<Boolean>? = null, methods: Output<List<RouteMethod>>? = null, sourcePath: Output<String>? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val appendSourcePath: Output<Boolean>? = null

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

Link copied to clipboard
val includeChildPaths: Output<Boolean>? = null

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.

Link copied to clipboard
val methods: Output<List<RouteMethod>>? = null

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.

Link copied to clipboard
val sourcePath: Output<String>? = null

This is the path that Refactor Spaces uses to match traffic. 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'.

Functions

Link copied to clipboard
open override fun toJava(): RouteUriPathRouteInputArgs