AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.9.1 published on Tuesday, Jun 21, 2022 by Pulumi

Route

Provides an AWS App Mesh route resource.

Example Usage

HTTP Routing

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
        {
            MeshName = aws_appmesh_mesh.Simple.Id,
            VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
            Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
            {
                HttpRoute = new Aws.AppMesh.Inputs.RouteSpecHttpRouteArgs
                {
                    Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchArgs
                    {
                        Prefix = "/",
                    },
                    Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
                    {
                        WeightedTargets = 
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = aws_appmesh_virtual_node.Serviceb1.Name,
                                Weight = 90,
                            },
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = aws_appmesh_virtual_node.Serviceb2.Name,
                                Weight = 10,
                            },
                        },
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appmesh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
			MeshName:          pulumi.Any(aws_appmesh_mesh.Simple.Id),
			VirtualRouterName: pulumi.Any(aws_appmesh_virtual_router.Serviceb.Name),
			Spec: &appmesh.RouteSpecArgs{
				HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
					Match: &appmesh.RouteSpecHttpRouteMatchArgs{
						Prefix: pulumi.String("/"),
					},
					Action: &appmesh.RouteSpecHttpRouteActionArgs{
						WeightedTargets: appmesh.RouteSpecHttpRouteActionWeightedTargetArray{
							&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
								VirtualNode: pulumi.Any(aws_appmesh_virtual_node.Serviceb1.Name),
								Weight:      pulumi.Int(90),
							},
							&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
								VirtualNode: pulumi.Any(aws_appmesh_virtual_node.Serviceb2.Name),
								Weight:      pulumi.Int(10),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var serviceb = new Route("serviceb", RouteArgs.builder()        
            .meshName(aws_appmesh_mesh.simple().id())
            .virtualRouterName(aws_appmesh_virtual_router.serviceb().name())
            .spec(RouteSpecArgs.builder()
                .httpRoute(RouteSpecHttpRouteArgs.builder()
                    .match(RouteSpecHttpRouteMatchArgs.builder()
                        .prefix("/")
                        .build())
                    .action(RouteSpecHttpRouteActionArgs.builder()
                        .weightedTargets(                        
                            RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                                .virtualNode(aws_appmesh_virtual_node.serviceb1().name())
                                .weight(90)
                                .build(),
                            RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                                .virtualNode(aws_appmesh_virtual_node.serviceb2().name())
                                .weight(10)
                                .build())
                        .build())
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

serviceb = aws.appmesh.Route("serviceb",
    mesh_name=aws_appmesh_mesh["simple"]["id"],
    virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"],
    spec=aws.appmesh.RouteSpecArgs(
        http_route=aws.appmesh.RouteSpecHttpRouteArgs(
            match=aws.appmesh.RouteSpecHttpRouteMatchArgs(
                prefix="/",
            ),
            action=aws.appmesh.RouteSpecHttpRouteActionArgs(
                weighted_targets=[
                    aws.appmesh.RouteSpecHttpRouteActionWeightedTargetArgs(
                        virtual_node=aws_appmesh_virtual_node["serviceb1"]["name"],
                        weight=90,
                    ),
                    aws.appmesh.RouteSpecHttpRouteActionWeightedTargetArgs(
                        virtual_node=aws_appmesh_virtual_node["serviceb2"]["name"],
                        weight=10,
                    ),
                ],
            ),
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const serviceb = new aws.appmesh.Route("serviceb", {
    meshName: aws_appmesh_mesh.simple.id,
    virtualRouterName: aws_appmesh_virtual_router.serviceb.name,
    spec: {
        httpRoute: {
            match: {
                prefix: "/",
            },
            action: {
                weightedTargets: [
                    {
                        virtualNode: aws_appmesh_virtual_node.serviceb1.name,
                        weight: 90,
                    },
                    {
                        virtualNode: aws_appmesh_virtual_node.serviceb2.name,
                        weight: 10,
                    },
                ],
            },
        },
    },
});
resources:
  serviceb:
    type: aws:appmesh:Route
    properties:
      meshName: ${aws_appmesh_mesh.simple.id}
      virtualRouterName: ${aws_appmesh_virtual_router.serviceb.name}
      spec:
        httpRoute:
          match:
            prefix: /
          action:
            weightedTargets:
              - virtualNode: ${aws_appmesh_virtual_node.serviceb1.name}
                weight: 90
              - virtualNode: ${aws_appmesh_virtual_node.serviceb2.name}
                weight: 10

HTTP Header Routing

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
        {
            MeshName = aws_appmesh_mesh.Simple.Id,
            VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
            Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
            {
                HttpRoute = new Aws.AppMesh.Inputs.RouteSpecHttpRouteArgs
                {
                    Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchArgs
                    {
                        Method = "POST",
                        Prefix = "/",
                        Scheme = "https",
                        Headers = 
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderArgs
                            {
                                Name = "clientRequestId",
                                Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderMatchArgs
                                {
                                    Prefix = "123",
                                },
                            },
                        },
                    },
                    Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
                    {
                        WeightedTargets = 
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = aws_appmesh_virtual_node.Serviceb.Name,
                                Weight = 100,
                            },
                        },
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appmesh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
			MeshName:          pulumi.Any(aws_appmesh_mesh.Simple.Id),
			VirtualRouterName: pulumi.Any(aws_appmesh_virtual_router.Serviceb.Name),
			Spec: &appmesh.RouteSpecArgs{
				HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
					Match: &appmesh.RouteSpecHttpRouteMatchArgs{
						Method: pulumi.String("POST"),
						Prefix: pulumi.String("/"),
						Scheme: pulumi.String("https"),
						Headers: appmesh.RouteSpecHttpRouteMatchHeaderArray{
							&appmesh.RouteSpecHttpRouteMatchHeaderArgs{
								Name: pulumi.String("clientRequestId"),
								Match: &appmesh.RouteSpecHttpRouteMatchHeaderMatchArgs{
									Prefix: pulumi.String("123"),
								},
							},
						},
					},
					Action: &appmesh.RouteSpecHttpRouteActionArgs{
						WeightedTargets: appmesh.RouteSpecHttpRouteActionWeightedTargetArray{
							&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
								VirtualNode: pulumi.Any(aws_appmesh_virtual_node.Serviceb.Name),
								Weight:      pulumi.Int(100),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var serviceb = new Route("serviceb", RouteArgs.builder()        
            .meshName(aws_appmesh_mesh.simple().id())
            .virtualRouterName(aws_appmesh_virtual_router.serviceb().name())
            .spec(RouteSpecArgs.builder()
                .httpRoute(RouteSpecHttpRouteArgs.builder()
                    .match(RouteSpecHttpRouteMatchArgs.builder()
                        .method("POST")
                        .prefix("/")
                        .scheme("https")
                        .headers(RouteSpecHttpRouteMatchHeaderArgs.builder()
                            .name("clientRequestId")
                            .match(RouteSpecHttpRouteMatchHeaderMatchArgs.builder()
                                .prefix("123")
                                .build())
                            .build())
                        .build())
                    .action(RouteSpecHttpRouteActionArgs.builder()
                        .weightedTargets(RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                            .virtualNode(aws_appmesh_virtual_node.serviceb().name())
                            .weight(100)
                            .build())
                        .build())
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

serviceb = aws.appmesh.Route("serviceb",
    mesh_name=aws_appmesh_mesh["simple"]["id"],
    virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"],
    spec=aws.appmesh.RouteSpecArgs(
        http_route=aws.appmesh.RouteSpecHttpRouteArgs(
            match=aws.appmesh.RouteSpecHttpRouteMatchArgs(
                method="POST",
                prefix="/",
                scheme="https",
                headers=[aws.appmesh.RouteSpecHttpRouteMatchHeaderArgs(
                    name="clientRequestId",
                    match=aws.appmesh.RouteSpecHttpRouteMatchHeaderMatchArgs(
                        prefix="123",
                    ),
                )],
            ),
            action=aws.appmesh.RouteSpecHttpRouteActionArgs(
                weighted_targets=[aws.appmesh.RouteSpecHttpRouteActionWeightedTargetArgs(
                    virtual_node=aws_appmesh_virtual_node["serviceb"]["name"],
                    weight=100,
                )],
            ),
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const serviceb = new aws.appmesh.Route("serviceb", {
    meshName: aws_appmesh_mesh.simple.id,
    virtualRouterName: aws_appmesh_virtual_router.serviceb.name,
    spec: {
        httpRoute: {
            match: {
                method: "POST",
                prefix: "/",
                scheme: "https",
                headers: [{
                    name: "clientRequestId",
                    match: {
                        prefix: "123",
                    },
                }],
            },
            action: {
                weightedTargets: [{
                    virtualNode: aws_appmesh_virtual_node.serviceb.name,
                    weight: 100,
                }],
            },
        },
    },
});
resources:
  serviceb:
    type: aws:appmesh:Route
    properties:
      meshName: ${aws_appmesh_mesh.simple.id}
      virtualRouterName: ${aws_appmesh_virtual_router.serviceb.name}
      spec:
        httpRoute:
          match:
            method: POST
            prefix: /
            scheme: https
            headers:
              - name: clientRequestId
                match:
                  prefix: 123
          action:
            weightedTargets:
              - virtualNode: ${aws_appmesh_virtual_node.serviceb.name}
                weight: 100

Retry Policy

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
        {
            MeshName = aws_appmesh_mesh.Simple.Id,
            VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
            Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
            {
                HttpRoute = new Aws.AppMesh.Inputs.RouteSpecHttpRouteArgs
                {
                    Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchArgs
                    {
                        Prefix = "/",
                    },
                    RetryPolicy = new Aws.AppMesh.Inputs.RouteSpecHttpRouteRetryPolicyArgs
                    {
                        HttpRetryEvents = 
                        {
                            "server-error",
                        },
                        MaxRetries = 1,
                        PerRetryTimeout = new Aws.AppMesh.Inputs.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs
                        {
                            Unit = "s",
                            Value = 15,
                        },
                    },
                    Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
                    {
                        WeightedTargets = 
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = aws_appmesh_virtual_node.Serviceb.Name,
                                Weight = 100,
                            },
                        },
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appmesh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
			MeshName:          pulumi.Any(aws_appmesh_mesh.Simple.Id),
			VirtualRouterName: pulumi.Any(aws_appmesh_virtual_router.Serviceb.Name),
			Spec: &appmesh.RouteSpecArgs{
				HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
					Match: &appmesh.RouteSpecHttpRouteMatchArgs{
						Prefix: pulumi.String("/"),
					},
					RetryPolicy: &appmesh.RouteSpecHttpRouteRetryPolicyArgs{
						HttpRetryEvents: pulumi.StringArray{
							pulumi.String("server-error"),
						},
						MaxRetries: pulumi.Int(1),
						PerRetryTimeout: &appmesh.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs{
							Unit:  pulumi.String("s"),
							Value: pulumi.Int(15),
						},
					},
					Action: &appmesh.RouteSpecHttpRouteActionArgs{
						WeightedTargets: appmesh.RouteSpecHttpRouteActionWeightedTargetArray{
							&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
								VirtualNode: pulumi.Any(aws_appmesh_virtual_node.Serviceb.Name),
								Weight:      pulumi.Int(100),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var serviceb = new Route("serviceb", RouteArgs.builder()        
            .meshName(aws_appmesh_mesh.simple().id())
            .virtualRouterName(aws_appmesh_virtual_router.serviceb().name())
            .spec(RouteSpecArgs.builder()
                .httpRoute(RouteSpecHttpRouteArgs.builder()
                    .match(RouteSpecHttpRouteMatchArgs.builder()
                        .prefix("/")
                        .build())
                    .retryPolicy(RouteSpecHttpRouteRetryPolicyArgs.builder()
                        .httpRetryEvents("server-error")
                        .maxRetries(1)
                        .perRetryTimeout(RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs.builder()
                            .unit("s")
                            .value(15)
                            .build())
                        .build())
                    .action(RouteSpecHttpRouteActionArgs.builder()
                        .weightedTargets(RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                            .virtualNode(aws_appmesh_virtual_node.serviceb().name())
                            .weight(100)
                            .build())
                        .build())
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

serviceb = aws.appmesh.Route("serviceb",
    mesh_name=aws_appmesh_mesh["simple"]["id"],
    virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"],
    spec=aws.appmesh.RouteSpecArgs(
        http_route=aws.appmesh.RouteSpecHttpRouteArgs(
            match=aws.appmesh.RouteSpecHttpRouteMatchArgs(
                prefix="/",
            ),
            retry_policy=aws.appmesh.RouteSpecHttpRouteRetryPolicyArgs(
                http_retry_events=["server-error"],
                max_retries=1,
                per_retry_timeout=aws.appmesh.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs(
                    unit="s",
                    value=15,
                ),
            ),
            action=aws.appmesh.RouteSpecHttpRouteActionArgs(
                weighted_targets=[aws.appmesh.RouteSpecHttpRouteActionWeightedTargetArgs(
                    virtual_node=aws_appmesh_virtual_node["serviceb"]["name"],
                    weight=100,
                )],
            ),
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const serviceb = new aws.appmesh.Route("serviceb", {
    meshName: aws_appmesh_mesh.simple.id,
    virtualRouterName: aws_appmesh_virtual_router.serviceb.name,
    spec: {
        httpRoute: {
            match: {
                prefix: "/",
            },
            retryPolicy: {
                httpRetryEvents: ["server-error"],
                maxRetries: 1,
                perRetryTimeout: {
                    unit: "s",
                    value: 15,
                },
            },
            action: {
                weightedTargets: [{
                    virtualNode: aws_appmesh_virtual_node.serviceb.name,
                    weight: 100,
                }],
            },
        },
    },
});
resources:
  serviceb:
    type: aws:appmesh:Route
    properties:
      meshName: ${aws_appmesh_mesh.simple.id}
      virtualRouterName: ${aws_appmesh_virtual_router.serviceb.name}
      spec:
        httpRoute:
          match:
            prefix: /
          retryPolicy:
            httpRetryEvents:
              - server-error
            maxRetries: 1
            perRetryTimeout:
              unit: s
              value: 15
          action:
            weightedTargets:
              - virtualNode: ${aws_appmesh_virtual_node.serviceb.name}
                weight: 100

TCP Routing

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
        {
            MeshName = aws_appmesh_mesh.Simple.Id,
            VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
            Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
            {
                TcpRoute = new Aws.AppMesh.Inputs.RouteSpecTcpRouteArgs
                {
                    Action = new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionArgs
                    {
                        WeightedTargets = 
                        {
                            new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = aws_appmesh_virtual_node.Serviceb1.Name,
                                Weight = 100,
                            },
                        },
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appmesh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
			MeshName:          pulumi.Any(aws_appmesh_mesh.Simple.Id),
			VirtualRouterName: pulumi.Any(aws_appmesh_virtual_router.Serviceb.Name),
			Spec: &appmesh.RouteSpecArgs{
				TcpRoute: &appmesh.RouteSpecTcpRouteArgs{
					Action: &appmesh.RouteSpecTcpRouteActionArgs{
						WeightedTargets: appmesh.RouteSpecTcpRouteActionWeightedTargetArray{
							&appmesh.RouteSpecTcpRouteActionWeightedTargetArgs{
								VirtualNode: pulumi.Any(aws_appmesh_virtual_node.Serviceb1.Name),
								Weight:      pulumi.Int(100),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var serviceb = new Route("serviceb", RouteArgs.builder()        
            .meshName(aws_appmesh_mesh.simple().id())
            .virtualRouterName(aws_appmesh_virtual_router.serviceb().name())
            .spec(RouteSpecArgs.builder()
                .tcpRoute(RouteSpecTcpRouteArgs.builder()
                    .action(RouteSpecTcpRouteActionArgs.builder()
                        .weightedTargets(RouteSpecTcpRouteActionWeightedTargetArgs.builder()
                            .virtualNode(aws_appmesh_virtual_node.serviceb1().name())
                            .weight(100)
                            .build())
                        .build())
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

serviceb = aws.appmesh.Route("serviceb",
    mesh_name=aws_appmesh_mesh["simple"]["id"],
    virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"],
    spec=aws.appmesh.RouteSpecArgs(
        tcp_route=aws.appmesh.RouteSpecTcpRouteArgs(
            action=aws.appmesh.RouteSpecTcpRouteActionArgs(
                weighted_targets=[aws.appmesh.RouteSpecTcpRouteActionWeightedTargetArgs(
                    virtual_node=aws_appmesh_virtual_node["serviceb1"]["name"],
                    weight=100,
                )],
            ),
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const serviceb = new aws.appmesh.Route("serviceb", {
    meshName: aws_appmesh_mesh.simple.id,
    virtualRouterName: aws_appmesh_virtual_router.serviceb.name,
    spec: {
        tcpRoute: {
            action: {
                weightedTargets: [{
                    virtualNode: aws_appmesh_virtual_node.serviceb1.name,
                    weight: 100,
                }],
            },
        },
    },
});
resources:
  serviceb:
    type: aws:appmesh:Route
    properties:
      meshName: ${aws_appmesh_mesh.simple.id}
      virtualRouterName: ${aws_appmesh_virtual_router.serviceb.name}
      spec:
        tcpRoute:
          action:
            weightedTargets:
              - virtualNode: ${aws_appmesh_virtual_node.serviceb1.name}
                weight: 100

Create a Route Resource

new Route(name: string, args: RouteArgs, opts?: CustomResourceOptions);
@overload
def Route(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          mesh_name: Optional[str] = None,
          mesh_owner: Optional[str] = None,
          name: Optional[str] = None,
          spec: Optional[RouteSpecArgs] = None,
          tags: Optional[Mapping[str, str]] = None,
          virtual_router_name: Optional[str] = None)
@overload
def Route(resource_name: str,
          args: RouteArgs,
          opts: Optional[ResourceOptions] = None)
func NewRoute(ctx *Context, name string, args RouteArgs, opts ...ResourceOption) (*Route, error)
public Route(string name, RouteArgs args, CustomResourceOptions? opts = null)
public Route(String name, RouteArgs args)
public Route(String name, RouteArgs args, CustomResourceOptions options)
type: aws:appmesh:Route
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RouteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RouteArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RouteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RouteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RouteArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Route Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Route resource accepts the following input properties:

MeshName string

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

Spec RouteSpecArgs

The route specification to apply.

VirtualRouterName string

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

MeshOwner string

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

Name string

The name to use for the route. Must be between 1 and 255 characters in length.

Tags Dictionary<string, string>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

MeshName string

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

Spec RouteSpecArgs

The route specification to apply.

VirtualRouterName string

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

MeshOwner string

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

Name string

The name to use for the route. Must be between 1 and 255 characters in length.

Tags map[string]string

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

meshName String

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

spec RouteSpecArgs

The route specification to apply.

virtualRouterName String

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

meshOwner String

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name String

The name to use for the route. Must be between 1 and 255 characters in length.

tags Map<String,String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

meshName string

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

spec RouteSpecArgs

The route specification to apply.

virtualRouterName string

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

meshOwner string

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name string

The name to use for the route. Must be between 1 and 255 characters in length.

tags {[key: string]: string}

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

mesh_name str

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

spec RouteSpecArgs

The route specification to apply.

virtual_router_name str

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

mesh_owner str

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name str

The name to use for the route. Must be between 1 and 255 characters in length.

tags Mapping[str, str]

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

meshName String

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

spec Property Map

The route specification to apply.

virtualRouterName String

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

meshOwner String

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name String

The name to use for the route. Must be between 1 and 255 characters in length.

tags Map<String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the Route resource produces the following output properties:

Arn string

The ARN of the route.

CreatedDate string

The creation date of the route.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

The last update date of the route.

ResourceOwner string

The resource owner's AWS account ID.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider .

Arn string

The ARN of the route.

CreatedDate string

The creation date of the route.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

The last update date of the route.

ResourceOwner string

The resource owner's AWS account ID.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider .

arn String

The ARN of the route.

createdDate String

The creation date of the route.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

The last update date of the route.

resourceOwner String

The resource owner's AWS account ID.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider .

arn string

The ARN of the route.

createdDate string

The creation date of the route.

id string

The provider-assigned unique ID for this managed resource.

lastUpdatedDate string

The last update date of the route.

resourceOwner string

The resource owner's AWS account ID.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider .

arn str

The ARN of the route.

created_date str

The creation date of the route.

id str

The provider-assigned unique ID for this managed resource.

last_updated_date str

The last update date of the route.

resource_owner str

The resource owner's AWS account ID.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider .

arn String

The ARN of the route.

createdDate String

The creation date of the route.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

The last update date of the route.

resourceOwner String

The resource owner's AWS account ID.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider .

Look up an Existing Route Resource

Get an existing Route resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: RouteState, opts?: CustomResourceOptions): Route
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        created_date: Optional[str] = None,
        last_updated_date: Optional[str] = None,
        mesh_name: Optional[str] = None,
        mesh_owner: Optional[str] = None,
        name: Optional[str] = None,
        resource_owner: Optional[str] = None,
        spec: Optional[RouteSpecArgs] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        virtual_router_name: Optional[str] = None) -> Route
func GetRoute(ctx *Context, name string, id IDInput, state *RouteState, opts ...ResourceOption) (*Route, error)
public static Route Get(string name, Input<string> id, RouteState? state, CustomResourceOptions? opts = null)
public static Route get(String name, Output<String> id, RouteState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The ARN of the route.

CreatedDate string

The creation date of the route.

LastUpdatedDate string

The last update date of the route.

MeshName string

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

MeshOwner string

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

Name string

The name to use for the route. Must be between 1 and 255 characters in length.

ResourceOwner string

The resource owner's AWS account ID.

Spec RouteSpecArgs

The route specification to apply.

Tags Dictionary<string, string>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider .

VirtualRouterName string

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

Arn string

The ARN of the route.

CreatedDate string

The creation date of the route.

LastUpdatedDate string

The last update date of the route.

MeshName string

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

MeshOwner string

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

Name string

The name to use for the route. Must be between 1 and 255 characters in length.

ResourceOwner string

The resource owner's AWS account ID.

Spec RouteSpecArgs

The route specification to apply.

Tags map[string]string

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider .

VirtualRouterName string

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

arn String

The ARN of the route.

createdDate String

The creation date of the route.

lastUpdatedDate String

The last update date of the route.

meshName String

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

meshOwner String

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name String

The name to use for the route. Must be between 1 and 255 characters in length.

resourceOwner String

The resource owner's AWS account ID.

spec RouteSpecArgs

The route specification to apply.

tags Map<String,String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider .

virtualRouterName String

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

arn string

The ARN of the route.

createdDate string

The creation date of the route.

lastUpdatedDate string

The last update date of the route.

meshName string

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

meshOwner string

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name string

The name to use for the route. Must be between 1 and 255 characters in length.

resourceOwner string

The resource owner's AWS account ID.

spec RouteSpecArgs

The route specification to apply.

tags {[key: string]: string}

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider .

virtualRouterName string

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

arn str

The ARN of the route.

created_date str

The creation date of the route.

last_updated_date str

The last update date of the route.

mesh_name str

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

mesh_owner str

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name str

The name to use for the route. Must be between 1 and 255 characters in length.

resource_owner str

The resource owner's AWS account ID.

spec RouteSpecArgs

The route specification to apply.

tags Mapping[str, str]

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider .

virtual_router_name str

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

arn String

The ARN of the route.

createdDate String

The creation date of the route.

lastUpdatedDate String

The last update date of the route.

meshName String

The name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.

meshOwner String

The AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.

name String

The name to use for the route. Must be between 1 and 255 characters in length.

resourceOwner String

The resource owner's AWS account ID.

spec Property Map

The route specification to apply.

tags Map<String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider .

virtualRouterName String

The name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

Supporting Types

RouteSpec

GrpcRoute RouteSpecGrpcRoute

The gRPC routing information for the route.

Http2Route RouteSpecHttp2Route

The HTTP/2 routing information for the route.

HttpRoute RouteSpecHttpRoute

The HTTP routing information for the route.

Priority int

The priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

TcpRoute RouteSpecTcpRoute

The TCP routing information for the route.

GrpcRoute RouteSpecGrpcRoute

The gRPC routing information for the route.

Http2Route RouteSpecHttp2Route

The HTTP/2 routing information for the route.

HttpRoute RouteSpecHttpRoute

The HTTP routing information for the route.

Priority int

The priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

TcpRoute RouteSpecTcpRoute

The TCP routing information for the route.

grpcRoute RouteSpecGrpcRoute

The gRPC routing information for the route.

http2Route RouteSpecHttp2Route

The HTTP/2 routing information for the route.

httpRoute RouteSpecHttpRoute

The HTTP routing information for the route.

priority Integer

The priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

tcpRoute RouteSpecTcpRoute

The TCP routing information for the route.

grpcRoute RouteSpecGrpcRoute

The gRPC routing information for the route.

http2Route RouteSpecHttp2Route

The HTTP/2 routing information for the route.

httpRoute RouteSpecHttpRoute

The HTTP routing information for the route.

priority number

The priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

tcpRoute RouteSpecTcpRoute

The TCP routing information for the route.

grpc_route RouteSpecGrpcRoute

The gRPC routing information for the route.

http2_route RouteSpecHttp2Route

The HTTP/2 routing information for the route.

http_route RouteSpecHttpRoute

The HTTP routing information for the route.

priority int

The priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

tcp_route RouteSpecTcpRoute

The TCP routing information for the route.

grpcRoute Property Map

The gRPC routing information for the route.

http2Route Property Map

The HTTP/2 routing information for the route.

httpRoute Property Map

The HTTP routing information for the route.

priority Number

The priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

tcpRoute Property Map

The TCP routing information for the route.

RouteSpecGrpcRoute

Action RouteSpecGrpcRouteAction

The action to take if a match is determined.

Match RouteSpecGrpcRouteMatch

The criteria for determining an gRPC request match.

RetryPolicy RouteSpecGrpcRouteRetryPolicy

The retry policy.

Timeout RouteSpecGrpcRouteTimeout

The types of timeouts.

Action RouteSpecGrpcRouteAction

The action to take if a match is determined.

Match RouteSpecGrpcRouteMatch

The criteria for determining an gRPC request match.

RetryPolicy RouteSpecGrpcRouteRetryPolicy

The retry policy.

Timeout RouteSpecGrpcRouteTimeout

The types of timeouts.

action RouteSpecGrpcRouteAction

The action to take if a match is determined.

match RouteSpecGrpcRouteMatch

The criteria for determining an gRPC request match.

retryPolicy RouteSpecGrpcRouteRetryPolicy

The retry policy.

timeout RouteSpecGrpcRouteTimeout

The types of timeouts.

action RouteSpecGrpcRouteAction

The action to take if a match is determined.

match RouteSpecGrpcRouteMatch

The criteria for determining an gRPC request match.

retryPolicy RouteSpecGrpcRouteRetryPolicy

The retry policy.

timeout RouteSpecGrpcRouteTimeout

The types of timeouts.

action RouteSpecGrpcRouteAction

The action to take if a match is determined.

match RouteSpecGrpcRouteMatch

The criteria for determining an gRPC request match.

retry_policy RouteSpecGrpcRouteRetryPolicy

The retry policy.

timeout RouteSpecGrpcRouteTimeout

The types of timeouts.

action Property Map

The action to take if a match is determined.

match Property Map

The criteria for determining an gRPC request match.

retryPolicy Property Map

The retry policy.

timeout Property Map

The types of timeouts.

RouteSpecGrpcRouteAction

WeightedTargets List<RouteSpecGrpcRouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

WeightedTargets []RouteSpecGrpcRouteActionWeightedTarget

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<RouteSpecGrpcRouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets RouteSpecGrpcRouteActionWeightedTarget[]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weighted_targets Sequence[RouteSpecGrpcRouteActionWeightedTarget]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<Property Map>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

RouteSpecGrpcRouteActionWeightedTarget

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Integer

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight number

The relative weight of the weighted target. An integer between 0 and 100.

virtual_node str

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Number

The relative weight of the weighted target. An integer between 0 and 100.

RouteSpecGrpcRouteMatch

Metadatas List<RouteSpecGrpcRouteMatchMetadata>

The data to match from the gRPC request.

MethodName string

The method name to match from the request. If you specify a name, you must also specify a service_name.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

ServiceName string

The fully qualified domain name for the service to match from the request.

Metadatas []RouteSpecGrpcRouteMatchMetadata

The data to match from the gRPC request.

MethodName string

The method name to match from the request. If you specify a name, you must also specify a service_name.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

ServiceName string

The fully qualified domain name for the service to match from the request.

metadatas List<RouteSpecGrpcRouteMatchMetadata>

The data to match from the gRPC request.

methodName String

The method name to match from the request. If you specify a name, you must also specify a service_name.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

serviceName String

The fully qualified domain name for the service to match from the request.

metadatas RouteSpecGrpcRouteMatchMetadata[]

The data to match from the gRPC request.

methodName string

The method name to match from the request. If you specify a name, you must also specify a service_name.

prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

serviceName string

The fully qualified domain name for the service to match from the request.

metadatas Sequence[RouteSpecGrpcRouteMatchMetadata]

The data to match from the gRPC request.

method_name str

The method name to match from the request. If you specify a name, you must also specify a service_name.

prefix str

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

service_name str

The fully qualified domain name for the service to match from the request.

metadatas List<Property Map>

The data to match from the gRPC request.

methodName String

The method name to match from the request. If you specify a name, you must also specify a service_name.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

serviceName String

The fully qualified domain name for the service to match from the request.

RouteSpecGrpcRouteMatchMetadata

Name string

The name of the route. Must be between 1 and 50 characters in length.

Invert bool

If true, the match is on the opposite of the match criteria. Default is false.

Match RouteSpecGrpcRouteMatchMetadataMatch

The data to match from the request.

Name string

The name of the route. Must be between 1 and 50 characters in length.

Invert bool

If true, the match is on the opposite of the match criteria. Default is false.

Match RouteSpecGrpcRouteMatchMetadataMatch

The data to match from the request.

name String

The name of the route. Must be between 1 and 50 characters in length.

invert Boolean

If true, the match is on the opposite of the match criteria. Default is false.

match RouteSpecGrpcRouteMatchMetadataMatch

The data to match from the request.

name string

The name of the route. Must be between 1 and 50 characters in length.

invert boolean

If true, the match is on the opposite of the match criteria. Default is false.

match RouteSpecGrpcRouteMatchMetadataMatch

The data to match from the request.

name str

The name of the route. Must be between 1 and 50 characters in length.

invert bool

If true, the match is on the opposite of the match criteria. Default is false.

match RouteSpecGrpcRouteMatchMetadataMatch

The data to match from the request.

name String

The name of the route. Must be between 1 and 50 characters in length.

invert Boolean

If true, the match is on the opposite of the match criteria. Default is false.

match Property Map

The data to match from the request.

RouteSpecGrpcRouteMatchMetadataMatch

Exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Range RouteSpecGrpcRouteMatchMetadataMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

Regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

Suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

Exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Range RouteSpecGrpcRouteMatchMetadataMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

Regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

Suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact String

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecGrpcRouteMatchMetadataMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex String

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix String

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecGrpcRouteMatchMetadataMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact str

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix str

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecGrpcRouteMatchMetadataMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex str

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix str

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact String

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range Property Map

The object that specifies the range of numbers that the value sent by the client must be included in.

regex String

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix String

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

RouteSpecGrpcRouteMatchMetadataMatchRange

End int

The end of the range.

Start int

The start of the range.

End int

The end of the range.

Start int

The start of the range.

end Integer

The end of the range.

start Integer

The start of the range.

end number

The end of the range.

start number

The start of the range.

end int

The end of the range.

start int

The start of the range.

end Number

The end of the range.

start Number

The start of the range.

RouteSpecGrpcRouteRetryPolicy

MaxRetries int

The maximum number of retries.

PerRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

GrpcRetryEvents List<string>

List of gRPC retry events. Valid values: cancelled, deadline-exceeded, internal, resource-exhausted, unavailable.

HttpRetryEvents List<string>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

TcpRetryEvents List<string>

List of TCP retry events. The only valid value is connection-error.

MaxRetries int

The maximum number of retries.

PerRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

GrpcRetryEvents []string

List of gRPC retry events. Valid values: cancelled, deadline-exceeded, internal, resource-exhausted, unavailable.

HttpRetryEvents []string

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

TcpRetryEvents []string

List of TCP retry events. The only valid value is connection-error.

maxRetries Integer

The maximum number of retries.

perRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

grpcRetryEvents List<String>

List of gRPC retry events. Valid values: cancelled, deadline-exceeded, internal, resource-exhausted, unavailable.

httpRetryEvents List<String>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents List<String>

List of TCP retry events. The only valid value is connection-error.

maxRetries number

The maximum number of retries.

perRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

grpcRetryEvents string[]

List of gRPC retry events. Valid values: cancelled, deadline-exceeded, internal, resource-exhausted, unavailable.

httpRetryEvents string[]

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents string[]

List of TCP retry events. The only valid value is connection-error.

max_retries int

The maximum number of retries.

per_retry_timeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

grpc_retry_events Sequence[str]

List of gRPC retry events. Valid values: cancelled, deadline-exceeded, internal, resource-exhausted, unavailable.

http_retry_events Sequence[str]

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcp_retry_events Sequence[str]

List of TCP retry events. The only valid value is connection-error.

maxRetries Number

The maximum number of retries.

perRetryTimeout Property Map

The per-retry timeout.

grpcRetryEvents List<String>

List of gRPC retry events. Valid values: cancelled, deadline-exceeded, internal, resource-exhausted, unavailable.

httpRetryEvents List<String>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents List<String>

List of TCP retry events. The only valid value is connection-error.

RouteSpecGrpcRouteRetryPolicyPerRetryTimeout

Unit string

Retry unit. Valid values: ms, s.

Value int

Retry value.

Unit string

Retry unit. Valid values: ms, s.

Value int

Retry value.

unit String

Retry unit. Valid values: ms, s.

value Integer

Retry value.

unit string

Retry unit. Valid values: ms, s.

value number

Retry value.

unit str

Retry unit. Valid values: ms, s.

value int

Retry value.

unit String

Retry unit. Valid values: ms, s.

value Number

Retry value.

RouteSpecGrpcRouteTimeout

Idle RouteSpecGrpcRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

PerRequest RouteSpecGrpcRouteTimeoutPerRequest

The per request timeout.

Idle RouteSpecGrpcRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

PerRequest RouteSpecGrpcRouteTimeoutPerRequest

The per request timeout.

idle RouteSpecGrpcRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest RouteSpecGrpcRouteTimeoutPerRequest

The per request timeout.

idle RouteSpecGrpcRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest RouteSpecGrpcRouteTimeoutPerRequest

The per request timeout.

idle RouteSpecGrpcRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

per_request RouteSpecGrpcRouteTimeoutPerRequest

The per request timeout.

idle Property Map

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest Property Map

The per request timeout.

RouteSpecGrpcRouteTimeoutIdle

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

RouteSpecGrpcRouteTimeoutPerRequest

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

RouteSpecHttp2Route

Action RouteSpecHttp2RouteAction

The action to take if a match is determined.

Match RouteSpecHttp2RouteMatch

The criteria for determining an gRPC request match.

RetryPolicy RouteSpecHttp2RouteRetryPolicy

The retry policy.

Timeout RouteSpecHttp2RouteTimeout

The types of timeouts.

Action RouteSpecHttp2RouteAction

The action to take if a match is determined.

Match RouteSpecHttp2RouteMatch

The criteria for determining an gRPC request match.

RetryPolicy RouteSpecHttp2RouteRetryPolicy

The retry policy.

Timeout RouteSpecHttp2RouteTimeout

The types of timeouts.

action RouteSpecHttp2RouteAction

The action to take if a match is determined.

match RouteSpecHttp2RouteMatch

The criteria for determining an gRPC request match.

retryPolicy RouteSpecHttp2RouteRetryPolicy

The retry policy.

timeout RouteSpecHttp2RouteTimeout

The types of timeouts.

action RouteSpecHttp2RouteAction

The action to take if a match is determined.

match RouteSpecHttp2RouteMatch

The criteria for determining an gRPC request match.

retryPolicy RouteSpecHttp2RouteRetryPolicy

The retry policy.

timeout RouteSpecHttp2RouteTimeout

The types of timeouts.

action RouteSpecHttp2RouteAction

The action to take if a match is determined.

match RouteSpecHttp2RouteMatch

The criteria for determining an gRPC request match.

retry_policy RouteSpecHttp2RouteRetryPolicy

The retry policy.

timeout RouteSpecHttp2RouteTimeout

The types of timeouts.

action Property Map

The action to take if a match is determined.

match Property Map

The criteria for determining an gRPC request match.

retryPolicy Property Map

The retry policy.

timeout Property Map

The types of timeouts.

RouteSpecHttp2RouteAction

WeightedTargets List<RouteSpecHttp2RouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

WeightedTargets []RouteSpecHttp2RouteActionWeightedTarget

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<RouteSpecHttp2RouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets RouteSpecHttp2RouteActionWeightedTarget[]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weighted_targets Sequence[RouteSpecHttp2RouteActionWeightedTarget]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<Property Map>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

RouteSpecHttp2RouteActionWeightedTarget

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Integer

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight number

The relative weight of the weighted target. An integer between 0 and 100.

virtual_node str

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Number

The relative weight of the weighted target. An integer between 0 and 100.

RouteSpecHttp2RouteMatch

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Headers List<RouteSpecHttp2RouteMatchHeader>

The client request headers to match on.

Method string

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

Scheme string

The client request header scheme to match on. Valid values: http, https.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Headers []RouteSpecHttp2RouteMatchHeader

The client request headers to match on.

Method string

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

Scheme string

The client request header scheme to match on. Valid values: http, https.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers List<RouteSpecHttp2RouteMatchHeader>

The client request headers to match on.

method String

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme String

The client request header scheme to match on. Valid values: http, https.

prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers RouteSpecHttp2RouteMatchHeader[]

The client request headers to match on.

method string

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme string

The client request header scheme to match on. Valid values: http, https.

prefix str

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers Sequence[RouteSpecHttp2RouteMatchHeader]

The client request headers to match on.

method str

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme str

The client request header scheme to match on. Valid values: http, https.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers List<Property Map>

The client request headers to match on.

method String

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme String

The client request header scheme to match on. Valid values: http, https.

RouteSpecHttp2RouteMatchHeader

Name string

A name for the HTTP header in the client request that will be matched on.

Invert bool

If true, the match is on the opposite of the match method and value. Default is false.

Match RouteSpecHttp2RouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

Name string

A name for the HTTP header in the client request that will be matched on.

Invert bool

If true, the match is on the opposite of the match method and value. Default is false.

Match RouteSpecHttp2RouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name String

A name for the HTTP header in the client request that will be matched on.

invert Boolean

If true, the match is on the opposite of the match method and value. Default is false.

match RouteSpecHttp2RouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name string

A name for the HTTP header in the client request that will be matched on.

invert boolean

If true, the match is on the opposite of the match method and value. Default is false.

match RouteSpecHttp2RouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name str

A name for the HTTP header in the client request that will be matched on.

invert bool

If true, the match is on the opposite of the match method and value. Default is false.

match RouteSpecHttp2RouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name String

A name for the HTTP header in the client request that will be matched on.

invert Boolean

If true, the match is on the opposite of the match method and value. Default is false.

match Property Map

The method and value to match the header value sent with a request. Specify one match method.

RouteSpecHttp2RouteMatchHeaderMatch

Exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Range RouteSpecHttp2RouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

Regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

Suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

Exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Range RouteSpecHttp2RouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

Regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

Suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact String

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecHttp2RouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex String

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix String

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecHttp2RouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact str

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix str

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecHttp2RouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex str

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix str

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact String

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range Property Map

The object that specifies the range of numbers that the value sent by the client must be included in.

regex String

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix String

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

RouteSpecHttp2RouteMatchHeaderMatchRange

End int

The end of the range.

Start int

The start of the range.

End int

The end of the range.

Start int

The start of the range.

end Integer

The end of the range.

start Integer

The start of the range.

end number

The end of the range.

start number

The start of the range.

end int

The end of the range.

start int

The start of the range.

end Number

The end of the range.

start Number

The start of the range.

RouteSpecHttp2RouteRetryPolicy

MaxRetries int

The maximum number of retries.

PerRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout

The per-retry timeout.

HttpRetryEvents List<string>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

TcpRetryEvents List<string>

List of TCP retry events. The only valid value is connection-error.

MaxRetries int

The maximum number of retries.

PerRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout

The per-retry timeout.

HttpRetryEvents []string

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

TcpRetryEvents []string

List of TCP retry events. The only valid value is connection-error.

maxRetries Integer

The maximum number of retries.

perRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout

The per-retry timeout.

httpRetryEvents List<String>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents List<String>

List of TCP retry events. The only valid value is connection-error.

maxRetries number

The maximum number of retries.

perRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout

The per-retry timeout.

httpRetryEvents string[]

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents string[]

List of TCP retry events. The only valid value is connection-error.

max_retries int

The maximum number of retries.

per_retry_timeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout

The per-retry timeout.

http_retry_events Sequence[str]

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcp_retry_events Sequence[str]

List of TCP retry events. The only valid value is connection-error.

maxRetries Number

The maximum number of retries.

perRetryTimeout Property Map

The per-retry timeout.

httpRetryEvents List<String>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents List<String>

List of TCP retry events. The only valid value is connection-error.

RouteSpecHttp2RouteRetryPolicyPerRetryTimeout

Unit string

Retry unit. Valid values: ms, s.

Value int

Retry value.

Unit string

Retry unit. Valid values: ms, s.

Value int

Retry value.

unit String

Retry unit. Valid values: ms, s.

value Integer

Retry value.

unit string

Retry unit. Valid values: ms, s.

value number

Retry value.

unit str

Retry unit. Valid values: ms, s.

value int

Retry value.

unit String

Retry unit. Valid values: ms, s.

value Number

Retry value.

RouteSpecHttp2RouteTimeout

Idle RouteSpecHttp2RouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

PerRequest RouteSpecHttp2RouteTimeoutPerRequest

The per request timeout.

Idle RouteSpecHttp2RouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

PerRequest RouteSpecHttp2RouteTimeoutPerRequest

The per request timeout.

idle RouteSpecHttp2RouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest RouteSpecHttp2RouteTimeoutPerRequest

The per request timeout.

idle RouteSpecHttp2RouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest RouteSpecHttp2RouteTimeoutPerRequest

The per request timeout.

idle RouteSpecHttp2RouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

per_request RouteSpecHttp2RouteTimeoutPerRequest

The per request timeout.

idle Property Map

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest Property Map

The per request timeout.

RouteSpecHttp2RouteTimeoutIdle

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

RouteSpecHttp2RouteTimeoutPerRequest

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

RouteSpecHttpRoute

Action RouteSpecHttpRouteAction

The action to take if a match is determined.

Match RouteSpecHttpRouteMatch

The criteria for determining an HTTP request match.

RetryPolicy RouteSpecHttpRouteRetryPolicy

The retry policy.

Timeout RouteSpecHttpRouteTimeout

The types of timeouts.

Action RouteSpecHttpRouteAction

The action to take if a match is determined.

Match RouteSpecHttpRouteMatch

The criteria for determining an HTTP request match.

RetryPolicy RouteSpecHttpRouteRetryPolicy

The retry policy.

Timeout RouteSpecHttpRouteTimeout

The types of timeouts.

action RouteSpecHttpRouteAction

The action to take if a match is determined.

match RouteSpecHttpRouteMatch

The criteria for determining an HTTP request match.

retryPolicy RouteSpecHttpRouteRetryPolicy

The retry policy.

timeout RouteSpecHttpRouteTimeout

The types of timeouts.

action RouteSpecHttpRouteAction

The action to take if a match is determined.

match RouteSpecHttpRouteMatch

The criteria for determining an HTTP request match.

retryPolicy RouteSpecHttpRouteRetryPolicy

The retry policy.

timeout RouteSpecHttpRouteTimeout

The types of timeouts.

action RouteSpecHttpRouteAction

The action to take if a match is determined.

match RouteSpecHttpRouteMatch

The criteria for determining an HTTP request match.

retry_policy RouteSpecHttpRouteRetryPolicy

The retry policy.

timeout RouteSpecHttpRouteTimeout

The types of timeouts.

action Property Map

The action to take if a match is determined.

match Property Map

The criteria for determining an HTTP request match.

retryPolicy Property Map

The retry policy.

timeout Property Map

The types of timeouts.

RouteSpecHttpRouteAction

WeightedTargets List<RouteSpecHttpRouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

WeightedTargets []RouteSpecHttpRouteActionWeightedTarget

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<RouteSpecHttpRouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets RouteSpecHttpRouteActionWeightedTarget[]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weighted_targets Sequence[RouteSpecHttpRouteActionWeightedTarget]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<Property Map>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

RouteSpecHttpRouteActionWeightedTarget

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Integer

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight number

The relative weight of the weighted target. An integer between 0 and 100.

virtual_node str

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Number

The relative weight of the weighted target. An integer between 0 and 100.

RouteSpecHttpRouteMatch

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Headers List<RouteSpecHttpRouteMatchHeader>

The client request headers to match on.

Method string

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

Scheme string

The client request header scheme to match on. Valid values: http, https.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Headers []RouteSpecHttpRouteMatchHeader

The client request headers to match on.

Method string

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

Scheme string

The client request header scheme to match on. Valid values: http, https.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers List<RouteSpecHttpRouteMatchHeader>

The client request headers to match on.

method String

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme String

The client request header scheme to match on. Valid values: http, https.

prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers RouteSpecHttpRouteMatchHeader[]

The client request headers to match on.

method string

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme string

The client request header scheme to match on. Valid values: http, https.

prefix str

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers Sequence[RouteSpecHttpRouteMatchHeader]

The client request headers to match on.

method str

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme str

The client request header scheme to match on. Valid values: http, https.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

headers List<Property Map>

The client request headers to match on.

method String

The client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

scheme String

The client request header scheme to match on. Valid values: http, https.

RouteSpecHttpRouteMatchHeader

Name string

A name for the HTTP header in the client request that will be matched on.

Invert bool

If true, the match is on the opposite of the match method and value. Default is false.

Match RouteSpecHttpRouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

Name string

A name for the HTTP header in the client request that will be matched on.

Invert bool

If true, the match is on the opposite of the match method and value. Default is false.

Match RouteSpecHttpRouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name String

A name for the HTTP header in the client request that will be matched on.

invert Boolean

If true, the match is on the opposite of the match method and value. Default is false.

match RouteSpecHttpRouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name string

A name for the HTTP header in the client request that will be matched on.

invert boolean

If true, the match is on the opposite of the match method and value. Default is false.

match RouteSpecHttpRouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name str

A name for the HTTP header in the client request that will be matched on.

invert bool

If true, the match is on the opposite of the match method and value. Default is false.

match RouteSpecHttpRouteMatchHeaderMatch

The method and value to match the header value sent with a request. Specify one match method.

name String

A name for the HTTP header in the client request that will be matched on.

invert Boolean

If true, the match is on the opposite of the match method and value. Default is false.

match Property Map

The method and value to match the header value sent with a request. Specify one match method.

RouteSpecHttpRouteMatchHeaderMatch

Exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Range RouteSpecHttpRouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

Regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

Suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

Exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

Prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Range RouteSpecHttpRouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

Regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

Suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact String

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecHttpRouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex String

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix String

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact string

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix string

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecHttpRouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex string

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix string

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact str

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix str

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range RouteSpecHttpRouteMatchHeaderMatchRange

The object that specifies the range of numbers that the value sent by the client must be included in.

regex str

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix str

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

exact String

The value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.

prefix String

The value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

range Property Map

The object that specifies the range of numbers that the value sent by the client must be included in.

regex String

The value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.

suffix String

The value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

RouteSpecHttpRouteMatchHeaderMatchRange

End int

The end of the range.

Start int

The start of the range.

End int

The end of the range.

Start int

The start of the range.

end Integer

The end of the range.

start Integer

The start of the range.

end number

The end of the range.

start number

The start of the range.

end int

The end of the range.

start int

The start of the range.

end Number

The end of the range.

start Number

The start of the range.

RouteSpecHttpRouteRetryPolicy

MaxRetries int

The maximum number of retries.

PerRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

HttpRetryEvents List<string>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

TcpRetryEvents List<string>

List of TCP retry events. The only valid value is connection-error.

MaxRetries int

The maximum number of retries.

PerRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

HttpRetryEvents []string

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

TcpRetryEvents []string

List of TCP retry events. The only valid value is connection-error.

maxRetries Integer

The maximum number of retries.

perRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

httpRetryEvents List<String>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents List<String>

List of TCP retry events. The only valid value is connection-error.

maxRetries number

The maximum number of retries.

perRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

httpRetryEvents string[]

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents string[]

List of TCP retry events. The only valid value is connection-error.

max_retries int

The maximum number of retries.

per_retry_timeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout

The per-retry timeout.

http_retry_events Sequence[str]

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcp_retry_events Sequence[str]

List of TCP retry events. The only valid value is connection-error.

maxRetries Number

The maximum number of retries.

perRetryTimeout Property Map

The per-retry timeout.

httpRetryEvents List<String>

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

tcpRetryEvents List<String>

List of TCP retry events. The only valid value is connection-error.

RouteSpecHttpRouteRetryPolicyPerRetryTimeout

Unit string

Retry unit. Valid values: ms, s.

Value int

Retry value.

Unit string

Retry unit. Valid values: ms, s.

Value int

Retry value.

unit String

Retry unit. Valid values: ms, s.

value Integer

Retry value.

unit string

Retry unit. Valid values: ms, s.

value number

Retry value.

unit str

Retry unit. Valid values: ms, s.

value int

Retry value.

unit String

Retry unit. Valid values: ms, s.

value Number

Retry value.

RouteSpecHttpRouteTimeout

Idle RouteSpecHttpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

PerRequest RouteSpecHttpRouteTimeoutPerRequest

The per request timeout.

Idle RouteSpecHttpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

PerRequest RouteSpecHttpRouteTimeoutPerRequest

The per request timeout.

idle RouteSpecHttpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest RouteSpecHttpRouteTimeoutPerRequest

The per request timeout.

idle RouteSpecHttpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest RouteSpecHttpRouteTimeoutPerRequest

The per request timeout.

idle RouteSpecHttpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

per_request RouteSpecHttpRouteTimeoutPerRequest

The per request timeout.

idle Property Map

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

perRequest Property Map

The per request timeout.

RouteSpecHttpRouteTimeoutIdle

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

RouteSpecHttpRouteTimeoutPerRequest

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

RouteSpecTcpRoute

Action RouteSpecTcpRouteAction

The action to take if a match is determined.

Timeout RouteSpecTcpRouteTimeout

The types of timeouts.

Action RouteSpecTcpRouteAction

The action to take if a match is determined.

Timeout RouteSpecTcpRouteTimeout

The types of timeouts.

action RouteSpecTcpRouteAction

The action to take if a match is determined.

timeout RouteSpecTcpRouteTimeout

The types of timeouts.

action RouteSpecTcpRouteAction

The action to take if a match is determined.

timeout RouteSpecTcpRouteTimeout

The types of timeouts.

action RouteSpecTcpRouteAction

The action to take if a match is determined.

timeout RouteSpecTcpRouteTimeout

The types of timeouts.

action Property Map

The action to take if a match is determined.

timeout Property Map

The types of timeouts.

RouteSpecTcpRouteAction

WeightedTargets List<RouteSpecTcpRouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

WeightedTargets []RouteSpecTcpRouteActionWeightedTarget

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<RouteSpecTcpRouteActionWeightedTarget>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets RouteSpecTcpRouteActionWeightedTarget[]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weighted_targets Sequence[RouteSpecTcpRouteActionWeightedTarget]

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

weightedTargets List<Property Map>

The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.

RouteSpecTcpRouteActionWeightedTarget

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

VirtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

Weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Integer

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode string

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight number

The relative weight of the weighted target. An integer between 0 and 100.

virtual_node str

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight int

The relative weight of the weighted target. An integer between 0 and 100.

virtualNode String

The virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.

weight Number

The relative weight of the weighted target. An integer between 0 and 100.

RouteSpecTcpRouteTimeout

Idle RouteSpecTcpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

Idle RouteSpecTcpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

idle RouteSpecTcpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

idle RouteSpecTcpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

idle RouteSpecTcpRouteTimeoutIdle

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

idle Property Map

The idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

RouteSpecTcpRouteTimeoutIdle

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

Unit string

The unit of time. Valid values: ms, s.

Value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Integer

The number of time units. Minimum value of 0.

unit string

The unit of time. Valid values: ms, s.

value number

The number of time units. Minimum value of 0.

unit str

The unit of time. Valid values: ms, s.

value int

The number of time units. Minimum value of 0.

unit String

The unit of time. Valid values: ms, s.

value Number

The number of time units. Minimum value of 0.

Import

App Mesh virtual routes can be imported using mesh_name and virtual_router_name together with the route’s name, e.g.,

 $ pulumi import aws:appmesh/route:Route serviceb simpleapp/serviceB/serviceB-route

[1]/docs/providers/aws/index.html

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.