1. Packages
  2. AWS
  3. API Docs
  4. appmesh
  5. Route
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.appmesh.Route

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides an AWS App Mesh route resource.

    Example Usage

    HTTP Routing

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const serviceb = new aws.appmesh.Route("serviceb", {
        name: "serviceB-route",
        meshName: simple.id,
        virtualRouterName: servicebAwsAppmeshVirtualRouter.name,
        spec: {
            httpRoute: {
                match: {
                    prefix: "/",
                },
                action: {
                    weightedTargets: [
                        {
                            virtualNode: serviceb1.name,
                            weight: 90,
                        },
                        {
                            virtualNode: serviceb2.name,
                            weight: 10,
                        },
                    ],
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    serviceb = aws.appmesh.Route("serviceb",
        name="serviceB-route",
        mesh_name=simple["id"],
        virtual_router_name=serviceb_aws_appmesh_virtual_router["name"],
        spec={
            "http_route": {
                "match": {
                    "prefix": "/",
                },
                "action": {
                    "weighted_targets": [
                        {
                            "virtual_node": serviceb1["name"],
                            "weight": 90,
                        },
                        {
                            "virtual_node": serviceb2["name"],
                            "weight": 10,
                        },
                    ],
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    			Name:              pulumi.String("serviceB-route"),
    			MeshName:          pulumi.Any(simple.Id),
    			VirtualRouterName: pulumi.Any(servicebAwsAppmeshVirtualRouter.Name),
    			Spec: &appmesh.RouteSpecArgs{
    				HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
    					Match: &appmesh.RouteSpecHttpRouteMatchArgs{
    						Prefix: pulumi.String("/"),
    					},
    					Action: &appmesh.RouteSpecHttpRouteActionArgs{
    						WeightedTargets: appmesh.RouteSpecHttpRouteActionWeightedTargetArray{
    							&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
    								VirtualNode: pulumi.Any(serviceb1.Name),
    								Weight:      pulumi.Int(90),
    							},
    							&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
    								VirtualNode: pulumi.Any(serviceb2.Name),
    								Weight:      pulumi.Int(10),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new()
        {
            Name = "serviceB-route",
            MeshName = simple.Id,
            VirtualRouterName = servicebAwsAppmeshVirtualRouter.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[]
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = serviceb1.Name,
                                Weight = 90,
                            },
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = serviceb2.Name,
                                Weight = 10,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.appmesh.Route;
    import com.pulumi.aws.appmesh.RouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteMatchArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteActionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    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()
                .name("serviceB-route")
                .meshName(simple.id())
                .virtualRouterName(servicebAwsAppmeshVirtualRouter.name())
                .spec(RouteSpecArgs.builder()
                    .httpRoute(RouteSpecHttpRouteArgs.builder()
                        .match(RouteSpecHttpRouteMatchArgs.builder()
                            .prefix("/")
                            .build())
                        .action(RouteSpecHttpRouteActionArgs.builder()
                            .weightedTargets(                        
                                RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                                    .virtualNode(serviceb1.name())
                                    .weight(90)
                                    .build(),
                                RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                                    .virtualNode(serviceb2.name())
                                    .weight(10)
                                    .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      serviceb:
        type: aws:appmesh:Route
        properties:
          name: serviceB-route
          meshName: ${simple.id}
          virtualRouterName: ${servicebAwsAppmeshVirtualRouter.name}
          spec:
            httpRoute:
              match:
                prefix: /
              action:
                weightedTargets:
                  - virtualNode: ${serviceb1.name}
                    weight: 90
                  - virtualNode: ${serviceb2.name}
                    weight: 10
    

    HTTP Header Routing

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const serviceb = new aws.appmesh.Route("serviceb", {
        name: "serviceB-route",
        meshName: simple.id,
        virtualRouterName: servicebAwsAppmeshVirtualRouter.name,
        spec: {
            httpRoute: {
                match: {
                    method: "POST",
                    prefix: "/",
                    scheme: "https",
                    headers: [{
                        name: "clientRequestId",
                        match: {
                            prefix: "123",
                        },
                    }],
                },
                action: {
                    weightedTargets: [{
                        virtualNode: servicebAwsAppmeshVirtualNode.name,
                        weight: 100,
                    }],
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    serviceb = aws.appmesh.Route("serviceb",
        name="serviceB-route",
        mesh_name=simple["id"],
        virtual_router_name=serviceb_aws_appmesh_virtual_router["name"],
        spec={
            "http_route": {
                "match": {
                    "method": "POST",
                    "prefix": "/",
                    "scheme": "https",
                    "headers": [{
                        "name": "clientRequestId",
                        "match": {
                            "prefix": "123",
                        },
                    }],
                },
                "action": {
                    "weighted_targets": [{
                        "virtual_node": serviceb_aws_appmesh_virtual_node["name"],
                        "weight": 100,
                    }],
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    			Name:              pulumi.String("serviceB-route"),
    			MeshName:          pulumi.Any(simple.Id),
    			VirtualRouterName: pulumi.Any(servicebAwsAppmeshVirtualRouter.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(servicebAwsAppmeshVirtualNode.Name),
    								Weight:      pulumi.Int(100),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new()
        {
            Name = "serviceB-route",
            MeshName = simple.Id,
            VirtualRouterName = servicebAwsAppmeshVirtualRouter.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[]
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderArgs
                            {
                                Name = "clientRequestId",
                                Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderMatchArgs
                                {
                                    Prefix = "123",
                                },
                            },
                        },
                    },
                    Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
                    {
                        WeightedTargets = new[]
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = servicebAwsAppmeshVirtualNode.Name,
                                Weight = 100,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.appmesh.Route;
    import com.pulumi.aws.appmesh.RouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteMatchArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteActionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    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()
                .name("serviceB-route")
                .meshName(simple.id())
                .virtualRouterName(servicebAwsAppmeshVirtualRouter.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(servicebAwsAppmeshVirtualNode.name())
                                .weight(100)
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      serviceb:
        type: aws:appmesh:Route
        properties:
          name: serviceB-route
          meshName: ${simple.id}
          virtualRouterName: ${servicebAwsAppmeshVirtualRouter.name}
          spec:
            httpRoute:
              match:
                method: POST
                prefix: /
                scheme: https
                headers:
                  - name: clientRequestId
                    match:
                      prefix: '123'
              action:
                weightedTargets:
                  - virtualNode: ${servicebAwsAppmeshVirtualNode.name}
                    weight: 100
    

    Retry Policy

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const serviceb = new aws.appmesh.Route("serviceb", {
        name: "serviceB-route",
        meshName: simple.id,
        virtualRouterName: servicebAwsAppmeshVirtualRouter.name,
        spec: {
            httpRoute: {
                match: {
                    prefix: "/",
                },
                retryPolicy: {
                    httpRetryEvents: ["server-error"],
                    maxRetries: 1,
                    perRetryTimeout: {
                        unit: "s",
                        value: 15,
                    },
                },
                action: {
                    weightedTargets: [{
                        virtualNode: servicebAwsAppmeshVirtualNode.name,
                        weight: 100,
                    }],
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    serviceb = aws.appmesh.Route("serviceb",
        name="serviceB-route",
        mesh_name=simple["id"],
        virtual_router_name=serviceb_aws_appmesh_virtual_router["name"],
        spec={
            "http_route": {
                "match": {
                    "prefix": "/",
                },
                "retry_policy": {
                    "http_retry_events": ["server-error"],
                    "max_retries": 1,
                    "per_retry_timeout": {
                        "unit": "s",
                        "value": 15,
                    },
                },
                "action": {
                    "weighted_targets": [{
                        "virtual_node": serviceb_aws_appmesh_virtual_node["name"],
                        "weight": 100,
                    }],
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    			Name:              pulumi.String("serviceB-route"),
    			MeshName:          pulumi.Any(simple.Id),
    			VirtualRouterName: pulumi.Any(servicebAwsAppmeshVirtualRouter.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(servicebAwsAppmeshVirtualNode.Name),
    								Weight:      pulumi.Int(100),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new()
        {
            Name = "serviceB-route",
            MeshName = simple.Id,
            VirtualRouterName = servicebAwsAppmeshVirtualRouter.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 = new[]
                        {
                            "server-error",
                        },
                        MaxRetries = 1,
                        PerRetryTimeout = new Aws.AppMesh.Inputs.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs
                        {
                            Unit = "s",
                            Value = 15,
                        },
                    },
                    Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
                    {
                        WeightedTargets = new[]
                        {
                            new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = servicebAwsAppmeshVirtualNode.Name,
                                Weight = 100,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.appmesh.Route;
    import com.pulumi.aws.appmesh.RouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteMatchArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteRetryPolicyArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteActionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    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()
                .name("serviceB-route")
                .meshName(simple.id())
                .virtualRouterName(servicebAwsAppmeshVirtualRouter.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(servicebAwsAppmeshVirtualNode.name())
                                .weight(100)
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      serviceb:
        type: aws:appmesh:Route
        properties:
          name: serviceB-route
          meshName: ${simple.id}
          virtualRouterName: ${servicebAwsAppmeshVirtualRouter.name}
          spec:
            httpRoute:
              match:
                prefix: /
              retryPolicy:
                httpRetryEvents:
                  - server-error
                maxRetries: 1
                perRetryTimeout:
                  unit: s
                  value: 15
              action:
                weightedTargets:
                  - virtualNode: ${servicebAwsAppmeshVirtualNode.name}
                    weight: 100
    

    TCP Routing

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const serviceb = new aws.appmesh.Route("serviceb", {
        name: "serviceB-route",
        meshName: simple.id,
        virtualRouterName: servicebAwsAppmeshVirtualRouter.name,
        spec: {
            tcpRoute: {
                action: {
                    weightedTargets: [{
                        virtualNode: serviceb1.name,
                        weight: 100,
                    }],
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    serviceb = aws.appmesh.Route("serviceb",
        name="serviceB-route",
        mesh_name=simple["id"],
        virtual_router_name=serviceb_aws_appmesh_virtual_router["name"],
        spec={
            "tcp_route": {
                "action": {
                    "weighted_targets": [{
                        "virtual_node": serviceb1["name"],
                        "weight": 100,
                    }],
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    			Name:              pulumi.String("serviceB-route"),
    			MeshName:          pulumi.Any(simple.Id),
    			VirtualRouterName: pulumi.Any(servicebAwsAppmeshVirtualRouter.Name),
    			Spec: &appmesh.RouteSpecArgs{
    				TcpRoute: &appmesh.RouteSpecTcpRouteArgs{
    					Action: &appmesh.RouteSpecTcpRouteActionArgs{
    						WeightedTargets: appmesh.RouteSpecTcpRouteActionWeightedTargetArray{
    							&appmesh.RouteSpecTcpRouteActionWeightedTargetArgs{
    								VirtualNode: pulumi.Any(serviceb1.Name),
    								Weight:      pulumi.Int(100),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceb = new Aws.AppMesh.Route("serviceb", new()
        {
            Name = "serviceB-route",
            MeshName = simple.Id,
            VirtualRouterName = servicebAwsAppmeshVirtualRouter.Name,
            Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
            {
                TcpRoute = new Aws.AppMesh.Inputs.RouteSpecTcpRouteArgs
                {
                    Action = new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionArgs
                    {
                        WeightedTargets = new[]
                        {
                            new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionWeightedTargetArgs
                            {
                                VirtualNode = serviceb1.Name,
                                Weight = 100,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.appmesh.Route;
    import com.pulumi.aws.appmesh.RouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecTcpRouteArgs;
    import com.pulumi.aws.appmesh.inputs.RouteSpecTcpRouteActionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    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()
                .name("serviceB-route")
                .meshName(simple.id())
                .virtualRouterName(servicebAwsAppmeshVirtualRouter.name())
                .spec(RouteSpecArgs.builder()
                    .tcpRoute(RouteSpecTcpRouteArgs.builder()
                        .action(RouteSpecTcpRouteActionArgs.builder()
                            .weightedTargets(RouteSpecTcpRouteActionWeightedTargetArgs.builder()
                                .virtualNode(serviceb1.name())
                                .weight(100)
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      serviceb:
        type: aws:appmesh:Route
        properties:
          name: serviceB-route
          meshName: ${simple.id}
          virtualRouterName: ${servicebAwsAppmeshVirtualRouter.name}
          spec:
            tcpRoute:
              action:
                weightedTargets:
                  - virtualNode: ${serviceb1.name}
                    weight: 100
    

    Create Route Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Route(name: string, args: RouteArgs, opts?: CustomResourceOptions);
    @overload
    def Route(resource_name: str,
              args: RouteArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Route(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              mesh_name: Optional[str] = None,
              spec: Optional[RouteSpecArgs] = None,
              virtual_router_name: Optional[str] = None,
              mesh_owner: Optional[str] = None,
              name: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var awsRouteResource = new Aws.AppMesh.Route("awsRouteResource", new()
    {
        MeshName = "string",
        Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
        {
            GrpcRoute = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteArgs
            {
                Action = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteActionArgs
                {
                    WeightedTargets = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecGrpcRouteActionWeightedTargetArgs
                        {
                            VirtualNode = "string",
                            Weight = 0,
                            Port = 0,
                        },
                    },
                },
                Match = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteMatchArgs
                {
                    Metadatas = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecGrpcRouteMatchMetadataArgs
                        {
                            Name = "string",
                            Invert = false,
                            Match = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteMatchMetadataMatchArgs
                            {
                                Exact = "string",
                                Prefix = "string",
                                Range = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteMatchMetadataMatchRangeArgs
                                {
                                    End = 0,
                                    Start = 0,
                                },
                                Regex = "string",
                                Suffix = "string",
                            },
                        },
                    },
                    MethodName = "string",
                    Port = 0,
                    Prefix = "string",
                    ServiceName = "string",
                },
                RetryPolicy = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteRetryPolicyArgs
                {
                    MaxRetries = 0,
                    PerRetryTimeout = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteRetryPolicyPerRetryTimeoutArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                    GrpcRetryEvents = new[]
                    {
                        "string",
                    },
                    HttpRetryEvents = new[]
                    {
                        "string",
                    },
                    TcpRetryEvents = new[]
                    {
                        "string",
                    },
                },
                Timeout = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteTimeoutArgs
                {
                    Idle = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteTimeoutIdleArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                    PerRequest = new Aws.AppMesh.Inputs.RouteSpecGrpcRouteTimeoutPerRequestArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                },
            },
            Http2Route = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteArgs
            {
                Action = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteActionArgs
                {
                    WeightedTargets = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecHttp2RouteActionWeightedTargetArgs
                        {
                            VirtualNode = "string",
                            Weight = 0,
                            Port = 0,
                        },
                    },
                },
                Match = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchArgs
                {
                    Headers = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchHeaderArgs
                        {
                            Name = "string",
                            Invert = false,
                            Match = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchHeaderMatchArgs
                            {
                                Exact = "string",
                                Prefix = "string",
                                Range = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchHeaderMatchRangeArgs
                                {
                                    End = 0,
                                    Start = 0,
                                },
                                Regex = "string",
                                Suffix = "string",
                            },
                        },
                    },
                    Method = "string",
                    Path = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchPathArgs
                    {
                        Exact = "string",
                        Regex = "string",
                    },
                    Port = 0,
                    Prefix = "string",
                    QueryParameters = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchQueryParameterArgs
                        {
                            Name = "string",
                            Match = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteMatchQueryParameterMatchArgs
                            {
                                Exact = "string",
                            },
                        },
                    },
                    Scheme = "string",
                },
                RetryPolicy = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteRetryPolicyArgs
                {
                    MaxRetries = 0,
                    PerRetryTimeout = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteRetryPolicyPerRetryTimeoutArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                    HttpRetryEvents = new[]
                    {
                        "string",
                    },
                    TcpRetryEvents = new[]
                    {
                        "string",
                    },
                },
                Timeout = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteTimeoutArgs
                {
                    Idle = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteTimeoutIdleArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                    PerRequest = new Aws.AppMesh.Inputs.RouteSpecHttp2RouteTimeoutPerRequestArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                },
            },
            HttpRoute = new Aws.AppMesh.Inputs.RouteSpecHttpRouteArgs
            {
                Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
                {
                    WeightedTargets = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionWeightedTargetArgs
                        {
                            VirtualNode = "string",
                            Weight = 0,
                            Port = 0,
                        },
                    },
                },
                Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchArgs
                {
                    Headers = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderArgs
                        {
                            Name = "string",
                            Invert = false,
                            Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderMatchArgs
                            {
                                Exact = "string",
                                Prefix = "string",
                                Range = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchHeaderMatchRangeArgs
                                {
                                    End = 0,
                                    Start = 0,
                                },
                                Regex = "string",
                                Suffix = "string",
                            },
                        },
                    },
                    Method = "string",
                    Path = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchPathArgs
                    {
                        Exact = "string",
                        Regex = "string",
                    },
                    Port = 0,
                    Prefix = "string",
                    QueryParameters = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchQueryParameterArgs
                        {
                            Name = "string",
                            Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchQueryParameterMatchArgs
                            {
                                Exact = "string",
                            },
                        },
                    },
                    Scheme = "string",
                },
                RetryPolicy = new Aws.AppMesh.Inputs.RouteSpecHttpRouteRetryPolicyArgs
                {
                    MaxRetries = 0,
                    PerRetryTimeout = new Aws.AppMesh.Inputs.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                    HttpRetryEvents = new[]
                    {
                        "string",
                    },
                    TcpRetryEvents = new[]
                    {
                        "string",
                    },
                },
                Timeout = new Aws.AppMesh.Inputs.RouteSpecHttpRouteTimeoutArgs
                {
                    Idle = new Aws.AppMesh.Inputs.RouteSpecHttpRouteTimeoutIdleArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                    PerRequest = new Aws.AppMesh.Inputs.RouteSpecHttpRouteTimeoutPerRequestArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                },
            },
            Priority = 0,
            TcpRoute = new Aws.AppMesh.Inputs.RouteSpecTcpRouteArgs
            {
                Action = new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionArgs
                {
                    WeightedTargets = new[]
                    {
                        new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionWeightedTargetArgs
                        {
                            VirtualNode = "string",
                            Weight = 0,
                            Port = 0,
                        },
                    },
                },
                Match = new Aws.AppMesh.Inputs.RouteSpecTcpRouteMatchArgs
                {
                    Port = 0,
                },
                Timeout = new Aws.AppMesh.Inputs.RouteSpecTcpRouteTimeoutArgs
                {
                    Idle = new Aws.AppMesh.Inputs.RouteSpecTcpRouteTimeoutIdleArgs
                    {
                        Unit = "string",
                        Value = 0,
                    },
                },
            },
        },
        VirtualRouterName = "string",
        MeshOwner = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := appmesh.NewRoute(ctx, "awsRouteResource", &appmesh.RouteArgs{
    	MeshName: pulumi.String("string"),
    	Spec: &appmesh.RouteSpecArgs{
    		GrpcRoute: &appmesh.RouteSpecGrpcRouteArgs{
    			Action: &appmesh.RouteSpecGrpcRouteActionArgs{
    				WeightedTargets: appmesh.RouteSpecGrpcRouteActionWeightedTargetArray{
    					&appmesh.RouteSpecGrpcRouteActionWeightedTargetArgs{
    						VirtualNode: pulumi.String("string"),
    						Weight:      pulumi.Int(0),
    						Port:        pulumi.Int(0),
    					},
    				},
    			},
    			Match: &appmesh.RouteSpecGrpcRouteMatchArgs{
    				Metadatas: appmesh.RouteSpecGrpcRouteMatchMetadataArray{
    					&appmesh.RouteSpecGrpcRouteMatchMetadataArgs{
    						Name:   pulumi.String("string"),
    						Invert: pulumi.Bool(false),
    						Match: &appmesh.RouteSpecGrpcRouteMatchMetadataMatchArgs{
    							Exact:  pulumi.String("string"),
    							Prefix: pulumi.String("string"),
    							Range: &appmesh.RouteSpecGrpcRouteMatchMetadataMatchRangeArgs{
    								End:   pulumi.Int(0),
    								Start: pulumi.Int(0),
    							},
    							Regex:  pulumi.String("string"),
    							Suffix: pulumi.String("string"),
    						},
    					},
    				},
    				MethodName:  pulumi.String("string"),
    				Port:        pulumi.Int(0),
    				Prefix:      pulumi.String("string"),
    				ServiceName: pulumi.String("string"),
    			},
    			RetryPolicy: &appmesh.RouteSpecGrpcRouteRetryPolicyArgs{
    				MaxRetries: pulumi.Int(0),
    				PerRetryTimeout: &appmesh.RouteSpecGrpcRouteRetryPolicyPerRetryTimeoutArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    				GrpcRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				HttpRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TcpRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Timeout: &appmesh.RouteSpecGrpcRouteTimeoutArgs{
    				Idle: &appmesh.RouteSpecGrpcRouteTimeoutIdleArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    				PerRequest: &appmesh.RouteSpecGrpcRouteTimeoutPerRequestArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    			},
    		},
    		Http2Route: &appmesh.RouteSpecHttp2RouteArgs{
    			Action: &appmesh.RouteSpecHttp2RouteActionArgs{
    				WeightedTargets: appmesh.RouteSpecHttp2RouteActionWeightedTargetArray{
    					&appmesh.RouteSpecHttp2RouteActionWeightedTargetArgs{
    						VirtualNode: pulumi.String("string"),
    						Weight:      pulumi.Int(0),
    						Port:        pulumi.Int(0),
    					},
    				},
    			},
    			Match: &appmesh.RouteSpecHttp2RouteMatchArgs{
    				Headers: appmesh.RouteSpecHttp2RouteMatchHeaderArray{
    					&appmesh.RouteSpecHttp2RouteMatchHeaderArgs{
    						Name:   pulumi.String("string"),
    						Invert: pulumi.Bool(false),
    						Match: &appmesh.RouteSpecHttp2RouteMatchHeaderMatchArgs{
    							Exact:  pulumi.String("string"),
    							Prefix: pulumi.String("string"),
    							Range: &appmesh.RouteSpecHttp2RouteMatchHeaderMatchRangeArgs{
    								End:   pulumi.Int(0),
    								Start: pulumi.Int(0),
    							},
    							Regex:  pulumi.String("string"),
    							Suffix: pulumi.String("string"),
    						},
    					},
    				},
    				Method: pulumi.String("string"),
    				Path: &appmesh.RouteSpecHttp2RouteMatchPathArgs{
    					Exact: pulumi.String("string"),
    					Regex: pulumi.String("string"),
    				},
    				Port:   pulumi.Int(0),
    				Prefix: pulumi.String("string"),
    				QueryParameters: appmesh.RouteSpecHttp2RouteMatchQueryParameterArray{
    					&appmesh.RouteSpecHttp2RouteMatchQueryParameterArgs{
    						Name: pulumi.String("string"),
    						Match: &appmesh.RouteSpecHttp2RouteMatchQueryParameterMatchArgs{
    							Exact: pulumi.String("string"),
    						},
    					},
    				},
    				Scheme: pulumi.String("string"),
    			},
    			RetryPolicy: &appmesh.RouteSpecHttp2RouteRetryPolicyArgs{
    				MaxRetries: pulumi.Int(0),
    				PerRetryTimeout: &appmesh.RouteSpecHttp2RouteRetryPolicyPerRetryTimeoutArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    				HttpRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TcpRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Timeout: &appmesh.RouteSpecHttp2RouteTimeoutArgs{
    				Idle: &appmesh.RouteSpecHttp2RouteTimeoutIdleArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    				PerRequest: &appmesh.RouteSpecHttp2RouteTimeoutPerRequestArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    			},
    		},
    		HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
    			Action: &appmesh.RouteSpecHttpRouteActionArgs{
    				WeightedTargets: appmesh.RouteSpecHttpRouteActionWeightedTargetArray{
    					&appmesh.RouteSpecHttpRouteActionWeightedTargetArgs{
    						VirtualNode: pulumi.String("string"),
    						Weight:      pulumi.Int(0),
    						Port:        pulumi.Int(0),
    					},
    				},
    			},
    			Match: &appmesh.RouteSpecHttpRouteMatchArgs{
    				Headers: appmesh.RouteSpecHttpRouteMatchHeaderArray{
    					&appmesh.RouteSpecHttpRouteMatchHeaderArgs{
    						Name:   pulumi.String("string"),
    						Invert: pulumi.Bool(false),
    						Match: &appmesh.RouteSpecHttpRouteMatchHeaderMatchArgs{
    							Exact:  pulumi.String("string"),
    							Prefix: pulumi.String("string"),
    							Range: &appmesh.RouteSpecHttpRouteMatchHeaderMatchRangeArgs{
    								End:   pulumi.Int(0),
    								Start: pulumi.Int(0),
    							},
    							Regex:  pulumi.String("string"),
    							Suffix: pulumi.String("string"),
    						},
    					},
    				},
    				Method: pulumi.String("string"),
    				Path: &appmesh.RouteSpecHttpRouteMatchPathArgs{
    					Exact: pulumi.String("string"),
    					Regex: pulumi.String("string"),
    				},
    				Port:   pulumi.Int(0),
    				Prefix: pulumi.String("string"),
    				QueryParameters: appmesh.RouteSpecHttpRouteMatchQueryParameterArray{
    					&appmesh.RouteSpecHttpRouteMatchQueryParameterArgs{
    						Name: pulumi.String("string"),
    						Match: &appmesh.RouteSpecHttpRouteMatchQueryParameterMatchArgs{
    							Exact: pulumi.String("string"),
    						},
    					},
    				},
    				Scheme: pulumi.String("string"),
    			},
    			RetryPolicy: &appmesh.RouteSpecHttpRouteRetryPolicyArgs{
    				MaxRetries: pulumi.Int(0),
    				PerRetryTimeout: &appmesh.RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    				HttpRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TcpRetryEvents: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Timeout: &appmesh.RouteSpecHttpRouteTimeoutArgs{
    				Idle: &appmesh.RouteSpecHttpRouteTimeoutIdleArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    				PerRequest: &appmesh.RouteSpecHttpRouteTimeoutPerRequestArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    			},
    		},
    		Priority: pulumi.Int(0),
    		TcpRoute: &appmesh.RouteSpecTcpRouteArgs{
    			Action: &appmesh.RouteSpecTcpRouteActionArgs{
    				WeightedTargets: appmesh.RouteSpecTcpRouteActionWeightedTargetArray{
    					&appmesh.RouteSpecTcpRouteActionWeightedTargetArgs{
    						VirtualNode: pulumi.String("string"),
    						Weight:      pulumi.Int(0),
    						Port:        pulumi.Int(0),
    					},
    				},
    			},
    			Match: &appmesh.RouteSpecTcpRouteMatchArgs{
    				Port: pulumi.Int(0),
    			},
    			Timeout: &appmesh.RouteSpecTcpRouteTimeoutArgs{
    				Idle: &appmesh.RouteSpecTcpRouteTimeoutIdleArgs{
    					Unit:  pulumi.String("string"),
    					Value: pulumi.Int(0),
    				},
    			},
    		},
    	},
    	VirtualRouterName: pulumi.String("string"),
    	MeshOwner:         pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var awsRouteResource = new Route("awsRouteResource", RouteArgs.builder()
        .meshName("string")
        .spec(RouteSpecArgs.builder()
            .grpcRoute(RouteSpecGrpcRouteArgs.builder()
                .action(RouteSpecGrpcRouteActionArgs.builder()
                    .weightedTargets(RouteSpecGrpcRouteActionWeightedTargetArgs.builder()
                        .virtualNode("string")
                        .weight(0)
                        .port(0)
                        .build())
                    .build())
                .match(RouteSpecGrpcRouteMatchArgs.builder()
                    .metadatas(RouteSpecGrpcRouteMatchMetadataArgs.builder()
                        .name("string")
                        .invert(false)
                        .match(RouteSpecGrpcRouteMatchMetadataMatchArgs.builder()
                            .exact("string")
                            .prefix("string")
                            .range(RouteSpecGrpcRouteMatchMetadataMatchRangeArgs.builder()
                                .end(0)
                                .start(0)
                                .build())
                            .regex("string")
                            .suffix("string")
                            .build())
                        .build())
                    .methodName("string")
                    .port(0)
                    .prefix("string")
                    .serviceName("string")
                    .build())
                .retryPolicy(RouteSpecGrpcRouteRetryPolicyArgs.builder()
                    .maxRetries(0)
                    .perRetryTimeout(RouteSpecGrpcRouteRetryPolicyPerRetryTimeoutArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .grpcRetryEvents("string")
                    .httpRetryEvents("string")
                    .tcpRetryEvents("string")
                    .build())
                .timeout(RouteSpecGrpcRouteTimeoutArgs.builder()
                    .idle(RouteSpecGrpcRouteTimeoutIdleArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .perRequest(RouteSpecGrpcRouteTimeoutPerRequestArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .build())
                .build())
            .http2Route(RouteSpecHttp2RouteArgs.builder()
                .action(RouteSpecHttp2RouteActionArgs.builder()
                    .weightedTargets(RouteSpecHttp2RouteActionWeightedTargetArgs.builder()
                        .virtualNode("string")
                        .weight(0)
                        .port(0)
                        .build())
                    .build())
                .match(RouteSpecHttp2RouteMatchArgs.builder()
                    .headers(RouteSpecHttp2RouteMatchHeaderArgs.builder()
                        .name("string")
                        .invert(false)
                        .match(RouteSpecHttp2RouteMatchHeaderMatchArgs.builder()
                            .exact("string")
                            .prefix("string")
                            .range(RouteSpecHttp2RouteMatchHeaderMatchRangeArgs.builder()
                                .end(0)
                                .start(0)
                                .build())
                            .regex("string")
                            .suffix("string")
                            .build())
                        .build())
                    .method("string")
                    .path(RouteSpecHttp2RouteMatchPathArgs.builder()
                        .exact("string")
                        .regex("string")
                        .build())
                    .port(0)
                    .prefix("string")
                    .queryParameters(RouteSpecHttp2RouteMatchQueryParameterArgs.builder()
                        .name("string")
                        .match(RouteSpecHttp2RouteMatchQueryParameterMatchArgs.builder()
                            .exact("string")
                            .build())
                        .build())
                    .scheme("string")
                    .build())
                .retryPolicy(RouteSpecHttp2RouteRetryPolicyArgs.builder()
                    .maxRetries(0)
                    .perRetryTimeout(RouteSpecHttp2RouteRetryPolicyPerRetryTimeoutArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .httpRetryEvents("string")
                    .tcpRetryEvents("string")
                    .build())
                .timeout(RouteSpecHttp2RouteTimeoutArgs.builder()
                    .idle(RouteSpecHttp2RouteTimeoutIdleArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .perRequest(RouteSpecHttp2RouteTimeoutPerRequestArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .build())
                .build())
            .httpRoute(RouteSpecHttpRouteArgs.builder()
                .action(RouteSpecHttpRouteActionArgs.builder()
                    .weightedTargets(RouteSpecHttpRouteActionWeightedTargetArgs.builder()
                        .virtualNode("string")
                        .weight(0)
                        .port(0)
                        .build())
                    .build())
                .match(RouteSpecHttpRouteMatchArgs.builder()
                    .headers(RouteSpecHttpRouteMatchHeaderArgs.builder()
                        .name("string")
                        .invert(false)
                        .match(RouteSpecHttpRouteMatchHeaderMatchArgs.builder()
                            .exact("string")
                            .prefix("string")
                            .range(RouteSpecHttpRouteMatchHeaderMatchRangeArgs.builder()
                                .end(0)
                                .start(0)
                                .build())
                            .regex("string")
                            .suffix("string")
                            .build())
                        .build())
                    .method("string")
                    .path(RouteSpecHttpRouteMatchPathArgs.builder()
                        .exact("string")
                        .regex("string")
                        .build())
                    .port(0)
                    .prefix("string")
                    .queryParameters(RouteSpecHttpRouteMatchQueryParameterArgs.builder()
                        .name("string")
                        .match(RouteSpecHttpRouteMatchQueryParameterMatchArgs.builder()
                            .exact("string")
                            .build())
                        .build())
                    .scheme("string")
                    .build())
                .retryPolicy(RouteSpecHttpRouteRetryPolicyArgs.builder()
                    .maxRetries(0)
                    .perRetryTimeout(RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .httpRetryEvents("string")
                    .tcpRetryEvents("string")
                    .build())
                .timeout(RouteSpecHttpRouteTimeoutArgs.builder()
                    .idle(RouteSpecHttpRouteTimeoutIdleArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .perRequest(RouteSpecHttpRouteTimeoutPerRequestArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .build())
                .build())
            .priority(0)
            .tcpRoute(RouteSpecTcpRouteArgs.builder()
                .action(RouteSpecTcpRouteActionArgs.builder()
                    .weightedTargets(RouteSpecTcpRouteActionWeightedTargetArgs.builder()
                        .virtualNode("string")
                        .weight(0)
                        .port(0)
                        .build())
                    .build())
                .match(RouteSpecTcpRouteMatchArgs.builder()
                    .port(0)
                    .build())
                .timeout(RouteSpecTcpRouteTimeoutArgs.builder()
                    .idle(RouteSpecTcpRouteTimeoutIdleArgs.builder()
                        .unit("string")
                        .value(0)
                        .build())
                    .build())
                .build())
            .build())
        .virtualRouterName("string")
        .meshOwner("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    aws_route_resource = aws.appmesh.Route("awsRouteResource",
        mesh_name="string",
        spec={
            "grpc_route": {
                "action": {
                    "weighted_targets": [{
                        "virtual_node": "string",
                        "weight": 0,
                        "port": 0,
                    }],
                },
                "match": {
                    "metadatas": [{
                        "name": "string",
                        "invert": False,
                        "match": {
                            "exact": "string",
                            "prefix": "string",
                            "range": {
                                "end": 0,
                                "start": 0,
                            },
                            "regex": "string",
                            "suffix": "string",
                        },
                    }],
                    "method_name": "string",
                    "port": 0,
                    "prefix": "string",
                    "service_name": "string",
                },
                "retry_policy": {
                    "max_retries": 0,
                    "per_retry_timeout": {
                        "unit": "string",
                        "value": 0,
                    },
                    "grpc_retry_events": ["string"],
                    "http_retry_events": ["string"],
                    "tcp_retry_events": ["string"],
                },
                "timeout": {
                    "idle": {
                        "unit": "string",
                        "value": 0,
                    },
                    "per_request": {
                        "unit": "string",
                        "value": 0,
                    },
                },
            },
            "http2_route": {
                "action": {
                    "weighted_targets": [{
                        "virtual_node": "string",
                        "weight": 0,
                        "port": 0,
                    }],
                },
                "match": {
                    "headers": [{
                        "name": "string",
                        "invert": False,
                        "match": {
                            "exact": "string",
                            "prefix": "string",
                            "range": {
                                "end": 0,
                                "start": 0,
                            },
                            "regex": "string",
                            "suffix": "string",
                        },
                    }],
                    "method": "string",
                    "path": {
                        "exact": "string",
                        "regex": "string",
                    },
                    "port": 0,
                    "prefix": "string",
                    "query_parameters": [{
                        "name": "string",
                        "match": {
                            "exact": "string",
                        },
                    }],
                    "scheme": "string",
                },
                "retry_policy": {
                    "max_retries": 0,
                    "per_retry_timeout": {
                        "unit": "string",
                        "value": 0,
                    },
                    "http_retry_events": ["string"],
                    "tcp_retry_events": ["string"],
                },
                "timeout": {
                    "idle": {
                        "unit": "string",
                        "value": 0,
                    },
                    "per_request": {
                        "unit": "string",
                        "value": 0,
                    },
                },
            },
            "http_route": {
                "action": {
                    "weighted_targets": [{
                        "virtual_node": "string",
                        "weight": 0,
                        "port": 0,
                    }],
                },
                "match": {
                    "headers": [{
                        "name": "string",
                        "invert": False,
                        "match": {
                            "exact": "string",
                            "prefix": "string",
                            "range": {
                                "end": 0,
                                "start": 0,
                            },
                            "regex": "string",
                            "suffix": "string",
                        },
                    }],
                    "method": "string",
                    "path": {
                        "exact": "string",
                        "regex": "string",
                    },
                    "port": 0,
                    "prefix": "string",
                    "query_parameters": [{
                        "name": "string",
                        "match": {
                            "exact": "string",
                        },
                    }],
                    "scheme": "string",
                },
                "retry_policy": {
                    "max_retries": 0,
                    "per_retry_timeout": {
                        "unit": "string",
                        "value": 0,
                    },
                    "http_retry_events": ["string"],
                    "tcp_retry_events": ["string"],
                },
                "timeout": {
                    "idle": {
                        "unit": "string",
                        "value": 0,
                    },
                    "per_request": {
                        "unit": "string",
                        "value": 0,
                    },
                },
            },
            "priority": 0,
            "tcp_route": {
                "action": {
                    "weighted_targets": [{
                        "virtual_node": "string",
                        "weight": 0,
                        "port": 0,
                    }],
                },
                "match": {
                    "port": 0,
                },
                "timeout": {
                    "idle": {
                        "unit": "string",
                        "value": 0,
                    },
                },
            },
        },
        virtual_router_name="string",
        mesh_owner="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const awsRouteResource = new aws.appmesh.Route("awsRouteResource", {
        meshName: "string",
        spec: {
            grpcRoute: {
                action: {
                    weightedTargets: [{
                        virtualNode: "string",
                        weight: 0,
                        port: 0,
                    }],
                },
                match: {
                    metadatas: [{
                        name: "string",
                        invert: false,
                        match: {
                            exact: "string",
                            prefix: "string",
                            range: {
                                end: 0,
                                start: 0,
                            },
                            regex: "string",
                            suffix: "string",
                        },
                    }],
                    methodName: "string",
                    port: 0,
                    prefix: "string",
                    serviceName: "string",
                },
                retryPolicy: {
                    maxRetries: 0,
                    perRetryTimeout: {
                        unit: "string",
                        value: 0,
                    },
                    grpcRetryEvents: ["string"],
                    httpRetryEvents: ["string"],
                    tcpRetryEvents: ["string"],
                },
                timeout: {
                    idle: {
                        unit: "string",
                        value: 0,
                    },
                    perRequest: {
                        unit: "string",
                        value: 0,
                    },
                },
            },
            http2Route: {
                action: {
                    weightedTargets: [{
                        virtualNode: "string",
                        weight: 0,
                        port: 0,
                    }],
                },
                match: {
                    headers: [{
                        name: "string",
                        invert: false,
                        match: {
                            exact: "string",
                            prefix: "string",
                            range: {
                                end: 0,
                                start: 0,
                            },
                            regex: "string",
                            suffix: "string",
                        },
                    }],
                    method: "string",
                    path: {
                        exact: "string",
                        regex: "string",
                    },
                    port: 0,
                    prefix: "string",
                    queryParameters: [{
                        name: "string",
                        match: {
                            exact: "string",
                        },
                    }],
                    scheme: "string",
                },
                retryPolicy: {
                    maxRetries: 0,
                    perRetryTimeout: {
                        unit: "string",
                        value: 0,
                    },
                    httpRetryEvents: ["string"],
                    tcpRetryEvents: ["string"],
                },
                timeout: {
                    idle: {
                        unit: "string",
                        value: 0,
                    },
                    perRequest: {
                        unit: "string",
                        value: 0,
                    },
                },
            },
            httpRoute: {
                action: {
                    weightedTargets: [{
                        virtualNode: "string",
                        weight: 0,
                        port: 0,
                    }],
                },
                match: {
                    headers: [{
                        name: "string",
                        invert: false,
                        match: {
                            exact: "string",
                            prefix: "string",
                            range: {
                                end: 0,
                                start: 0,
                            },
                            regex: "string",
                            suffix: "string",
                        },
                    }],
                    method: "string",
                    path: {
                        exact: "string",
                        regex: "string",
                    },
                    port: 0,
                    prefix: "string",
                    queryParameters: [{
                        name: "string",
                        match: {
                            exact: "string",
                        },
                    }],
                    scheme: "string",
                },
                retryPolicy: {
                    maxRetries: 0,
                    perRetryTimeout: {
                        unit: "string",
                        value: 0,
                    },
                    httpRetryEvents: ["string"],
                    tcpRetryEvents: ["string"],
                },
                timeout: {
                    idle: {
                        unit: "string",
                        value: 0,
                    },
                    perRequest: {
                        unit: "string",
                        value: 0,
                    },
                },
            },
            priority: 0,
            tcpRoute: {
                action: {
                    weightedTargets: [{
                        virtualNode: "string",
                        weight: 0,
                        port: 0,
                    }],
                },
                match: {
                    port: 0,
                },
                timeout: {
                    idle: {
                        unit: "string",
                        value: 0,
                    },
                },
            },
        },
        virtualRouterName: "string",
        meshOwner: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:appmesh:Route
    properties:
        meshName: string
        meshOwner: string
        name: string
        spec:
            grpcRoute:
                action:
                    weightedTargets:
                        - port: 0
                          virtualNode: string
                          weight: 0
                match:
                    metadatas:
                        - invert: false
                          match:
                            exact: string
                            prefix: string
                            range:
                                end: 0
                                start: 0
                            regex: string
                            suffix: string
                          name: string
                    methodName: string
                    port: 0
                    prefix: string
                    serviceName: string
                retryPolicy:
                    grpcRetryEvents:
                        - string
                    httpRetryEvents:
                        - string
                    maxRetries: 0
                    perRetryTimeout:
                        unit: string
                        value: 0
                    tcpRetryEvents:
                        - string
                timeout:
                    idle:
                        unit: string
                        value: 0
                    perRequest:
                        unit: string
                        value: 0
            http2Route:
                action:
                    weightedTargets:
                        - port: 0
                          virtualNode: string
                          weight: 0
                match:
                    headers:
                        - invert: false
                          match:
                            exact: string
                            prefix: string
                            range:
                                end: 0
                                start: 0
                            regex: string
                            suffix: string
                          name: string
                    method: string
                    path:
                        exact: string
                        regex: string
                    port: 0
                    prefix: string
                    queryParameters:
                        - match:
                            exact: string
                          name: string
                    scheme: string
                retryPolicy:
                    httpRetryEvents:
                        - string
                    maxRetries: 0
                    perRetryTimeout:
                        unit: string
                        value: 0
                    tcpRetryEvents:
                        - string
                timeout:
                    idle:
                        unit: string
                        value: 0
                    perRequest:
                        unit: string
                        value: 0
            httpRoute:
                action:
                    weightedTargets:
                        - port: 0
                          virtualNode: string
                          weight: 0
                match:
                    headers:
                        - invert: false
                          match:
                            exact: string
                            prefix: string
                            range:
                                end: 0
                                start: 0
                            regex: string
                            suffix: string
                          name: string
                    method: string
                    path:
                        exact: string
                        regex: string
                    port: 0
                    prefix: string
                    queryParameters:
                        - match:
                            exact: string
                          name: string
                    scheme: string
                retryPolicy:
                    httpRetryEvents:
                        - string
                    maxRetries: 0
                    perRetryTimeout:
                        unit: string
                        value: 0
                    tcpRetryEvents:
                        - string
                timeout:
                    idle:
                        unit: string
                        value: 0
                    perRequest:
                        unit: string
                        value: 0
            priority: 0
            tcpRoute:
                action:
                    weightedTargets:
                        - port: 0
                          virtualNode: string
                          weight: 0
                match:
                    port: 0
                timeout:
                    idle:
                        unit: string
                        value: 0
        tags:
            string: string
        virtualRouterName: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Route resource accepts the following input properties:

    MeshName string
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    Spec RouteSpec
    Route specification to apply.
    VirtualRouterName string
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    MeshOwner string
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    Name string
    Name to use for the route. Must be between 1 and 255 characters in length.
    Tags Dictionary<string, string>
    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
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    Spec RouteSpecArgs
    Route specification to apply.
    VirtualRouterName string
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    MeshOwner string
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    Name string
    Name to use for the route. Must be between 1 and 255 characters in length.
    Tags map[string]string
    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
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    spec RouteSpec
    Route specification to apply.
    virtualRouterName String
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    meshOwner String
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name String
    Name to use for the route. Must be between 1 and 255 characters in length.
    tags Map<String,String>
    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
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    spec RouteSpec
    Route specification to apply.
    virtualRouterName string
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    meshOwner string
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name string
    Name to use for the route. Must be between 1 and 255 characters in length.
    tags {[key: string]: string}
    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
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    spec RouteSpecArgs
    Route specification to apply.
    virtual_router_name str
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    mesh_owner str
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name str
    Name to use for the route. Must be between 1 and 255 characters in length.
    tags Mapping[str, str]
    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
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    spec Property Map
    Route specification to apply.
    virtualRouterName String
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    meshOwner String
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name String
    Name to use for the route. Must be between 1 and 255 characters in length.
    tags Map<String>
    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
    ARN of the route.
    CreatedDate string
    Creation date of the route.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    Last update date of the route.
    ResourceOwner string
    Resource owner's AWS account ID.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the route.
    CreatedDate string
    Creation date of the route.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    Last update date of the route.
    ResourceOwner string
    Resource owner's AWS account ID.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the route.
    createdDate String
    Creation date of the route.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    Last update date of the route.
    resourceOwner String
    Resource owner's AWS account ID.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the route.
    createdDate string
    Creation date of the route.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate string
    Last update date of the route.
    resourceOwner string
    Resource owner's AWS account ID.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the route.
    created_date str
    Creation date of the route.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_date str
    Last update date of the route.
    resource_owner str
    Resource owner's AWS account ID.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the route.
    createdDate String
    Creation date of the route.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    Last update date of the route.
    resourceOwner String
    Resource owner's AWS account ID.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up 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
    ARN of the route.
    CreatedDate string
    Creation date of the route.
    LastUpdatedDate string
    Last update date of the route.
    MeshName string
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    MeshOwner string
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    Name string
    Name to use for the route. Must be between 1 and 255 characters in length.
    ResourceOwner string
    Resource owner's AWS account ID.
    Spec RouteSpec
    Route specification to apply.
    Tags Dictionary<string, string>
    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>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    VirtualRouterName string
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    Arn string
    ARN of the route.
    CreatedDate string
    Creation date of the route.
    LastUpdatedDate string
    Last update date of the route.
    MeshName string
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    MeshOwner string
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    Name string
    Name to use for the route. Must be between 1 and 255 characters in length.
    ResourceOwner string
    Resource owner's AWS account ID.
    Spec RouteSpecArgs
    Route specification to apply.
    Tags map[string]string
    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
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    VirtualRouterName string
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    arn String
    ARN of the route.
    createdDate String
    Creation date of the route.
    lastUpdatedDate String
    Last update date of the route.
    meshName String
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    meshOwner String
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name String
    Name to use for the route. Must be between 1 and 255 characters in length.
    resourceOwner String
    Resource owner's AWS account ID.
    spec RouteSpec
    Route specification to apply.
    tags Map<String,String>
    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>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    virtualRouterName String
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    arn string
    ARN of the route.
    createdDate string
    Creation date of the route.
    lastUpdatedDate string
    Last update date of the route.
    meshName string
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    meshOwner string
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name string
    Name to use for the route. Must be between 1 and 255 characters in length.
    resourceOwner string
    Resource owner's AWS account ID.
    spec RouteSpec
    Route specification to apply.
    tags {[key: string]: string}
    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}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    virtualRouterName string
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    arn str
    ARN of the route.
    created_date str
    Creation date of the route.
    last_updated_date str
    Last update date of the route.
    mesh_name str
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    mesh_owner str
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name str
    Name to use for the route. Must be between 1 and 255 characters in length.
    resource_owner str
    Resource owner's AWS account ID.
    spec RouteSpecArgs
    Route specification to apply.
    tags Mapping[str, str]
    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]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    virtual_router_name str
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.
    arn String
    ARN of the route.
    createdDate String
    Creation date of the route.
    lastUpdatedDate String
    Last update date of the route.
    meshName String
    Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length.
    meshOwner String
    AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
    name String
    Name to use for the route. Must be between 1 and 255 characters in length.
    resourceOwner String
    Resource owner's AWS account ID.
    spec Property Map
    Route specification to apply.
    tags Map<String>
    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>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    virtualRouterName String
    Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length.

    Supporting Types

    RouteSpec, RouteSpecArgs

    GrpcRoute RouteSpecGrpcRoute
    GRPC routing information for the route.
    Http2Route RouteSpecHttp2Route
    HTTP/2 routing information for the route.
    HttpRoute RouteSpecHttpRoute
    HTTP routing information for the route.
    Priority int
    Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.
    TcpRoute RouteSpecTcpRoute
    TCP routing information for the route.
    GrpcRoute RouteSpecGrpcRoute
    GRPC routing information for the route.
    Http2Route RouteSpecHttp2Route
    HTTP/2 routing information for the route.
    HttpRoute RouteSpecHttpRoute
    HTTP routing information for the route.
    Priority int
    Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.
    TcpRoute RouteSpecTcpRoute
    TCP routing information for the route.
    grpcRoute RouteSpecGrpcRoute
    GRPC routing information for the route.
    http2Route RouteSpecHttp2Route
    HTTP/2 routing information for the route.
    httpRoute RouteSpecHttpRoute
    HTTP routing information for the route.
    priority Integer
    Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.
    tcpRoute RouteSpecTcpRoute
    TCP routing information for the route.
    grpcRoute RouteSpecGrpcRoute
    GRPC routing information for the route.
    http2Route RouteSpecHttp2Route
    HTTP/2 routing information for the route.
    httpRoute RouteSpecHttpRoute
    HTTP routing information for the route.
    priority number
    Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.
    tcpRoute RouteSpecTcpRoute
    TCP routing information for the route.
    grpc_route RouteSpecGrpcRoute
    GRPC routing information for the route.
    http2_route RouteSpecHttp2Route
    HTTP/2 routing information for the route.
    http_route RouteSpecHttpRoute
    HTTP routing information for the route.
    priority int
    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
    TCP routing information for the route.
    grpcRoute Property Map
    GRPC routing information for the route.
    http2Route Property Map
    HTTP/2 routing information for the route.
    httpRoute Property Map
    HTTP routing information for the route.
    priority Number
    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
    TCP routing information for the route.

    RouteSpecGrpcRoute, RouteSpecGrpcRouteArgs

    Action RouteSpecGrpcRouteAction
    Action to take if a match is determined.
    Match RouteSpecGrpcRouteMatch
    Criteria for determining an gRPC request match.
    RetryPolicy RouteSpecGrpcRouteRetryPolicy
    Retry policy.
    Timeout RouteSpecGrpcRouteTimeout
    Types of timeouts.
    Action RouteSpecGrpcRouteAction
    Action to take if a match is determined.
    Match RouteSpecGrpcRouteMatch
    Criteria for determining an gRPC request match.
    RetryPolicy RouteSpecGrpcRouteRetryPolicy
    Retry policy.
    Timeout RouteSpecGrpcRouteTimeout
    Types of timeouts.
    action RouteSpecGrpcRouteAction
    Action to take if a match is determined.
    match RouteSpecGrpcRouteMatch
    Criteria for determining an gRPC request match.
    retryPolicy RouteSpecGrpcRouteRetryPolicy
    Retry policy.
    timeout RouteSpecGrpcRouteTimeout
    Types of timeouts.
    action RouteSpecGrpcRouteAction
    Action to take if a match is determined.
    match RouteSpecGrpcRouteMatch
    Criteria for determining an gRPC request match.
    retryPolicy RouteSpecGrpcRouteRetryPolicy
    Retry policy.
    timeout RouteSpecGrpcRouteTimeout
    Types of timeouts.
    action RouteSpecGrpcRouteAction
    Action to take if a match is determined.
    match RouteSpecGrpcRouteMatch
    Criteria for determining an gRPC request match.
    retry_policy RouteSpecGrpcRouteRetryPolicy
    Retry policy.
    timeout RouteSpecGrpcRouteTimeout
    Types of timeouts.
    action Property Map
    Action to take if a match is determined.
    match Property Map
    Criteria for determining an gRPC request match.
    retryPolicy Property Map
    Retry policy.
    timeout Property Map
    Types of timeouts.

    RouteSpecGrpcRouteAction, RouteSpecGrpcRouteActionArgs

    WeightedTargets List<RouteSpecGrpcRouteActionWeightedTarget>
    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
    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>
    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[]
    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]
    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>
    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, RouteSpecGrpcRouteActionWeightedTargetArgs

    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Integer
    Relative weight of the weighted target. An integer between 0 and 100.
    port Integer
    The targeted port of the weighted object.
    virtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight number
    Relative weight of the weighted target. An integer between 0 and 100.
    port number
    The targeted port of the weighted object.
    virtual_node str
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Number
    Relative weight of the weighted target. An integer between 0 and 100.
    port Number
    The targeted port of the weighted object.

    RouteSpecGrpcRouteMatch, RouteSpecGrpcRouteMatchArgs

    Metadatas List<RouteSpecGrpcRouteMatchMetadata>
    Data to match from the gRPC request.
    MethodName string
    Method name to match from the request. If you specify a name, you must also specify a service_name.
    Port int
    The port number to match from the request.
    Prefix string
    ServiceName string
    Fully qualified domain name for the service to match from the request.
    Metadatas []RouteSpecGrpcRouteMatchMetadata
    Data to match from the gRPC request.
    MethodName string
    Method name to match from the request. If you specify a name, you must also specify a service_name.
    Port int
    The port number to match from the request.
    Prefix string
    ServiceName string
    Fully qualified domain name for the service to match from the request.
    metadatas List<RouteSpecGrpcRouteMatchMetadata>
    Data to match from the gRPC request.
    methodName String
    Method name to match from the request. If you specify a name, you must also specify a service_name.
    port Integer
    The port number to match from the request.
    prefix String
    serviceName String
    Fully qualified domain name for the service to match from the request.
    metadatas RouteSpecGrpcRouteMatchMetadata[]
    Data to match from the gRPC request.
    methodName string
    Method name to match from the request. If you specify a name, you must also specify a service_name.
    port number
    The port number to match from the request.
    prefix string
    serviceName string
    Fully qualified domain name for the service to match from the request.
    metadatas Sequence[RouteSpecGrpcRouteMatchMetadata]
    Data to match from the gRPC request.
    method_name str
    Method name to match from the request. If you specify a name, you must also specify a service_name.
    port int
    The port number to match from the request.
    prefix str
    service_name str
    Fully qualified domain name for the service to match from the request.
    metadatas List<Property Map>
    Data to match from the gRPC request.
    methodName String
    Method name to match from the request. If you specify a name, you must also specify a service_name.
    port Number
    The port number to match from the request.
    prefix String
    serviceName String
    Fully qualified domain name for the service to match from the request.

    RouteSpecGrpcRouteMatchMetadata, RouteSpecGrpcRouteMatchMetadataArgs

    Name string
    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
    Data to match from the request.
    Name string
    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
    Data to match from the request.
    name String
    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
    Data to match from the request.
    name string
    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
    Data to match from the request.
    name str
    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
    Data to match from the request.
    name String
    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
    Data to match from the request.

    RouteSpecGrpcRouteMatchMetadataMatch, RouteSpecGrpcRouteMatchMetadataMatchArgs

    Exact string
    Value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.
    Prefix string
    Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length.
    Range RouteSpecGrpcRouteMatchMetadataMatchRange
    Object that specifies the range of numbers that the value sent by the client must be included in.
    Regex string
    Value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.
    Suffix string
    Value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.
    Exact string
    Value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.
    Prefix string
    Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length.
    Range RouteSpecGrpcRouteMatchMetadataMatchRange
    Object that specifies the range of numbers that the value sent by the client must be included in.
    Regex string
    Value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.
    Suffix string
    Value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.
    exact String
    Value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.
    prefix String
    Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length.
    range RouteSpecGrpcRouteMatchMetadataMatchRange
    Object that specifies the range of numbers that the value sent by the client must be included in.
    regex String
    Value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.
    suffix String
    Value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.
    exact string
    Value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.
    prefix string
    Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length.
    range RouteSpecGrpcRouteMatchMetadataMatchRange
    Object that specifies the range of numbers that the value sent by the client must be included in.
    regex string
    Value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.
    suffix string
    Value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.
    exact str
    Value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.
    prefix str
    Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length.
    range RouteSpecGrpcRouteMatchMetadataMatchRange
    Object that specifies the range of numbers that the value sent by the client must be included in.
    regex str
    Value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.
    suffix str
    Value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.
    exact String
    Value sent by the client must match the specified value exactly. Must be between 1 and 255 characters in length.
    prefix String
    Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length.
    range Property Map
    Object that specifies the range of numbers that the value sent by the client must be included in.
    regex String
    Value sent by the client must include the specified characters. Must be between 1 and 255 characters in length.
    suffix String
    Value sent by the client must end with the specified characters. Must be between 1 and 255 characters in length.

    RouteSpecGrpcRouteMatchMetadataMatchRange, RouteSpecGrpcRouteMatchMetadataMatchRangeArgs

    End int
    End of the range.
    Start int
    Start of the range.
    End int
    End of the range.
    Start int
    Start of the range.
    end Integer
    End of the range.
    start Integer
    Start of the range.
    end number
    End of the range.
    start number
    Start of the range.
    end int
    End of the range.
    start int
    Start of the range.
    end Number
    End of the range.
    start Number
    Start of the range.

    RouteSpecGrpcRouteRetryPolicy, RouteSpecGrpcRouteRetryPolicyArgs

    MaxRetries int
    Maximum number of retries.
    PerRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout
    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).
    TcpRetryEvents List<string>
    List of TCP retry events. The only valid value is connection-error.
    MaxRetries int
    Maximum number of retries.
    PerRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout
    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).
    TcpRetryEvents []string
    List of TCP retry events. The only valid value is connection-error.
    maxRetries Integer
    Maximum number of retries.
    perRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout
    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).
    tcpRetryEvents List<String>
    List of TCP retry events. The only valid value is connection-error.
    maxRetries number
    Maximum number of retries.
    perRetryTimeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout
    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).
    tcpRetryEvents string[]
    List of TCP retry events. The only valid value is connection-error.
    max_retries int
    Maximum number of retries.
    per_retry_timeout RouteSpecGrpcRouteRetryPolicyPerRetryTimeout
    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).
    tcp_retry_events Sequence[str]
    List of TCP retry events. The only valid value is connection-error.
    maxRetries Number
    Maximum number of retries.
    perRetryTimeout Property Map
    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).
    tcpRetryEvents List<String>
    List of TCP retry events. The only valid value is connection-error.

    RouteSpecGrpcRouteRetryPolicyPerRetryTimeout, RouteSpecGrpcRouteRetryPolicyPerRetryTimeoutArgs

    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, RouteSpecGrpcRouteTimeoutArgs

    Idle RouteSpecGrpcRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    PerRequest RouteSpecGrpcRouteTimeoutPerRequest
    Per request timeout.
    Idle RouteSpecGrpcRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    PerRequest RouteSpecGrpcRouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecGrpcRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest RouteSpecGrpcRouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecGrpcRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest RouteSpecGrpcRouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecGrpcRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    per_request RouteSpecGrpcRouteTimeoutPerRequest
    Per request timeout.
    idle Property Map
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest Property Map
    Per request timeout.

    RouteSpecGrpcRouteTimeoutIdle, RouteSpecGrpcRouteTimeoutIdleArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    RouteSpecGrpcRouteTimeoutPerRequest, RouteSpecGrpcRouteTimeoutPerRequestArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    RouteSpecHttp2Route, RouteSpecHttp2RouteArgs

    Action RouteSpecHttp2RouteAction
    Action to take if a match is determined.
    Match RouteSpecHttp2RouteMatch
    Criteria for determining an HTTP request match.
    RetryPolicy RouteSpecHttp2RouteRetryPolicy
    Retry policy.
    Timeout RouteSpecHttp2RouteTimeout
    Types of timeouts.
    Action RouteSpecHttp2RouteAction
    Action to take if a match is determined.
    Match RouteSpecHttp2RouteMatch
    Criteria for determining an HTTP request match.
    RetryPolicy RouteSpecHttp2RouteRetryPolicy
    Retry policy.
    Timeout RouteSpecHttp2RouteTimeout
    Types of timeouts.
    action RouteSpecHttp2RouteAction
    Action to take if a match is determined.
    match RouteSpecHttp2RouteMatch
    Criteria for determining an HTTP request match.
    retryPolicy RouteSpecHttp2RouteRetryPolicy
    Retry policy.
    timeout RouteSpecHttp2RouteTimeout
    Types of timeouts.
    action RouteSpecHttp2RouteAction
    Action to take if a match is determined.
    match RouteSpecHttp2RouteMatch
    Criteria for determining an HTTP request match.
    retryPolicy RouteSpecHttp2RouteRetryPolicy
    Retry policy.
    timeout RouteSpecHttp2RouteTimeout
    Types of timeouts.
    action RouteSpecHttp2RouteAction
    Action to take if a match is determined.
    match RouteSpecHttp2RouteMatch
    Criteria for determining an HTTP request match.
    retry_policy RouteSpecHttp2RouteRetryPolicy
    Retry policy.
    timeout RouteSpecHttp2RouteTimeout
    Types of timeouts.
    action Property Map
    Action to take if a match is determined.
    match Property Map
    Criteria for determining an HTTP request match.
    retryPolicy Property Map
    Retry policy.
    timeout Property Map
    Types of timeouts.

    RouteSpecHttp2RouteAction, RouteSpecHttp2RouteActionArgs

    WeightedTargets List<RouteSpecHttp2RouteActionWeightedTarget>
    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
    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>
    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[]
    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]
    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>
    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, RouteSpecHttp2RouteActionWeightedTargetArgs

    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Integer
    Relative weight of the weighted target. An integer between 0 and 100.
    port Integer
    The targeted port of the weighted object.
    virtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight number
    Relative weight of the weighted target. An integer between 0 and 100.
    port number
    The targeted port of the weighted object.
    virtual_node str
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Number
    Relative weight of the weighted target. An integer between 0 and 100.
    port Number
    The targeted port of the weighted object.

    RouteSpecHttp2RouteMatch, RouteSpecHttp2RouteMatchArgs

    Headers List<RouteSpecHttp2RouteMatchHeader>
    Client request headers to match on.
    Method string
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    Path RouteSpecHttp2RouteMatchPath
    Client request path to match on.
    Port int
    The port number to match from the request.
    Prefix string
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    QueryParameters List<RouteSpecHttp2RouteMatchQueryParameter>
    Client request query parameters to match on.
    Scheme string
    Client request header scheme to match on. Valid values: http, https.
    Headers []RouteSpecHttp2RouteMatchHeader
    Client request headers to match on.
    Method string
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    Path RouteSpecHttp2RouteMatchPath
    Client request path to match on.
    Port int
    The port number to match from the request.
    Prefix string
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    QueryParameters []RouteSpecHttp2RouteMatchQueryParameter
    Client request query parameters to match on.
    Scheme string
    Client request header scheme to match on. Valid values: http, https.
    headers List<RouteSpecHttp2RouteMatchHeader>
    Client request headers to match on.
    method String
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path RouteSpecHttp2RouteMatchPath
    Client request path to match on.
    port Integer
    The port number to match from the request.
    prefix String
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    queryParameters List<RouteSpecHttp2RouteMatchQueryParameter>
    Client request query parameters to match on.
    scheme String
    Client request header scheme to match on. Valid values: http, https.
    headers RouteSpecHttp2RouteMatchHeader[]
    Client request headers to match on.
    method string
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path RouteSpecHttp2RouteMatchPath
    Client request path to match on.
    port number
    The port number to match from the request.
    prefix string
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    queryParameters RouteSpecHttp2RouteMatchQueryParameter[]
    Client request query parameters to match on.
    scheme string
    Client request header scheme to match on. Valid values: http, https.
    headers Sequence[RouteSpecHttp2RouteMatchHeader]
    Client request headers to match on.
    method str
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path RouteSpecHttp2RouteMatchPath
    Client request path to match on.
    port int
    The port number to match from the request.
    prefix str
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    query_parameters Sequence[RouteSpecHttp2RouteMatchQueryParameter]
    Client request query parameters to match on.
    scheme str
    Client request header scheme to match on. Valid values: http, https.
    headers List<Property Map>
    Client request headers to match on.
    method String
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path Property Map
    Client request path to match on.
    port Number
    The port number to match from the request.
    prefix String
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    queryParameters List<Property Map>
    Client request query parameters to match on.
    scheme String
    Client request header scheme to match on. Valid values: http, https.

    RouteSpecHttp2RouteMatchHeader, RouteSpecHttp2RouteMatchHeaderArgs

    Name string
    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
    Method and value to match the header value sent with a request. Specify one match method.
    Name string
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name String
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name string
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name str
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name String
    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
    Method and value to match the header value sent with a request. Specify one match method.

    RouteSpecHttp2RouteMatchHeaderMatch, RouteSpecHttp2RouteMatchHeaderMatchArgs

    Exact string
    Header value sent by the client must match the specified value exactly.
    Prefix string
    Header value sent by the client must begin with the specified characters.
    Range RouteSpecHttp2RouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    Regex string
    Header value sent by the client must include the specified characters.
    Suffix string
    Header value sent by the client must end with the specified characters.
    Exact string
    Header value sent by the client must match the specified value exactly.
    Prefix string
    Header value sent by the client must begin with the specified characters.
    Range RouteSpecHttp2RouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    Regex string
    Header value sent by the client must include the specified characters.
    Suffix string
    Header value sent by the client must end with the specified characters.
    exact String
    Header value sent by the client must match the specified value exactly.
    prefix String
    Header value sent by the client must begin with the specified characters.
    range RouteSpecHttp2RouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex String
    Header value sent by the client must include the specified characters.
    suffix String
    Header value sent by the client must end with the specified characters.
    exact string
    Header value sent by the client must match the specified value exactly.
    prefix string
    Header value sent by the client must begin with the specified characters.
    range RouteSpecHttp2RouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex string
    Header value sent by the client must include the specified characters.
    suffix string
    Header value sent by the client must end with the specified characters.
    exact str
    Header value sent by the client must match the specified value exactly.
    prefix str
    Header value sent by the client must begin with the specified characters.
    range RouteSpecHttp2RouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex str
    Header value sent by the client must include the specified characters.
    suffix str
    Header value sent by the client must end with the specified characters.
    exact String
    Header value sent by the client must match the specified value exactly.
    prefix String
    Header value sent by the client must begin with the specified characters.
    range Property Map
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex String
    Header value sent by the client must include the specified characters.
    suffix String
    Header value sent by the client must end with the specified characters.

    RouteSpecHttp2RouteMatchHeaderMatchRange, RouteSpecHttp2RouteMatchHeaderMatchRangeArgs

    End int
    End of the range.
    Start int
    Start of the range.
    End int
    End of the range.
    Start int
    Start of the range.
    end Integer
    End of the range.
    start Integer
    Start of the range.
    end number
    End of the range.
    start number
    Start of the range.
    end int
    End of the range.
    start int
    Start of the range.
    end Number
    End of the range.
    start Number
    Start of the range.

    RouteSpecHttp2RouteMatchPath, RouteSpecHttp2RouteMatchPathArgs

    Exact string
    The exact path to match on.
    Regex string
    The regex used to match the path.
    Exact string
    The exact path to match on.
    Regex string
    The regex used to match the path.
    exact String
    The exact path to match on.
    regex String
    The regex used to match the path.
    exact string
    The exact path to match on.
    regex string
    The regex used to match the path.
    exact str
    The exact path to match on.
    regex str
    The regex used to match the path.
    exact String
    The exact path to match on.
    regex String
    The regex used to match the path.

    RouteSpecHttp2RouteMatchQueryParameter, RouteSpecHttp2RouteMatchQueryParameterArgs

    Name string
    Name for the query parameter that will be matched on.
    Match RouteSpecHttp2RouteMatchQueryParameterMatch
    The query parameter to match on.
    Name string
    Name for the query parameter that will be matched on.
    Match RouteSpecHttp2RouteMatchQueryParameterMatch
    The query parameter to match on.
    name String
    Name for the query parameter that will be matched on.
    match RouteSpecHttp2RouteMatchQueryParameterMatch
    The query parameter to match on.
    name string
    Name for the query parameter that will be matched on.
    match RouteSpecHttp2RouteMatchQueryParameterMatch
    The query parameter to match on.
    name str
    Name for the query parameter that will be matched on.
    match RouteSpecHttp2RouteMatchQueryParameterMatch
    The query parameter to match on.
    name String
    Name for the query parameter that will be matched on.
    match Property Map
    The query parameter to match on.

    RouteSpecHttp2RouteMatchQueryParameterMatch, RouteSpecHttp2RouteMatchQueryParameterMatchArgs

    Exact string
    The exact query parameter to match on.
    Exact string
    The exact query parameter to match on.
    exact String
    The exact query parameter to match on.
    exact string
    The exact query parameter to match on.
    exact str
    The exact query parameter to match on.
    exact String
    The exact query parameter to match on.

    RouteSpecHttp2RouteRetryPolicy, RouteSpecHttp2RouteRetryPolicyArgs

    MaxRetries int
    Maximum number of retries.
    PerRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout
    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).
    TcpRetryEvents List<string>

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    MaxRetries int
    Maximum number of retries.
    PerRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout
    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).
    TcpRetryEvents []string

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    maxRetries Integer
    Maximum number of retries.
    perRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout
    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).
    tcpRetryEvents List<String>

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    maxRetries number
    Maximum number of retries.
    perRetryTimeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout
    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).
    tcpRetryEvents string[]

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    max_retries int
    Maximum number of retries.
    per_retry_timeout RouteSpecHttp2RouteRetryPolicyPerRetryTimeout
    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).
    tcp_retry_events Sequence[str]

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    maxRetries Number
    Maximum number of retries.
    perRetryTimeout Property Map
    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).
    tcpRetryEvents List<String>

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    RouteSpecHttp2RouteRetryPolicyPerRetryTimeout, RouteSpecHttp2RouteRetryPolicyPerRetryTimeoutArgs

    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, RouteSpecHttp2RouteTimeoutArgs

    Idle RouteSpecHttp2RouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    PerRequest RouteSpecHttp2RouteTimeoutPerRequest
    Per request timeout.
    Idle RouteSpecHttp2RouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    PerRequest RouteSpecHttp2RouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecHttp2RouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest RouteSpecHttp2RouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecHttp2RouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest RouteSpecHttp2RouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecHttp2RouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    per_request RouteSpecHttp2RouteTimeoutPerRequest
    Per request timeout.
    idle Property Map
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest Property Map
    Per request timeout.

    RouteSpecHttp2RouteTimeoutIdle, RouteSpecHttp2RouteTimeoutIdleArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    RouteSpecHttp2RouteTimeoutPerRequest, RouteSpecHttp2RouteTimeoutPerRequestArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    RouteSpecHttpRoute, RouteSpecHttpRouteArgs

    Action RouteSpecHttpRouteAction
    Action to take if a match is determined.
    Match RouteSpecHttpRouteMatch
    Criteria for determining an HTTP request match.
    RetryPolicy RouteSpecHttpRouteRetryPolicy
    Retry policy.
    Timeout RouteSpecHttpRouteTimeout
    Types of timeouts.
    Action RouteSpecHttpRouteAction
    Action to take if a match is determined.
    Match RouteSpecHttpRouteMatch
    Criteria for determining an HTTP request match.
    RetryPolicy RouteSpecHttpRouteRetryPolicy
    Retry policy.
    Timeout RouteSpecHttpRouteTimeout
    Types of timeouts.
    action RouteSpecHttpRouteAction
    Action to take if a match is determined.
    match RouteSpecHttpRouteMatch
    Criteria for determining an HTTP request match.
    retryPolicy RouteSpecHttpRouteRetryPolicy
    Retry policy.
    timeout RouteSpecHttpRouteTimeout
    Types of timeouts.
    action RouteSpecHttpRouteAction
    Action to take if a match is determined.
    match RouteSpecHttpRouteMatch
    Criteria for determining an HTTP request match.
    retryPolicy RouteSpecHttpRouteRetryPolicy
    Retry policy.
    timeout RouteSpecHttpRouteTimeout
    Types of timeouts.
    action RouteSpecHttpRouteAction
    Action to take if a match is determined.
    match RouteSpecHttpRouteMatch
    Criteria for determining an HTTP request match.
    retry_policy RouteSpecHttpRouteRetryPolicy
    Retry policy.
    timeout RouteSpecHttpRouteTimeout
    Types of timeouts.
    action Property Map
    Action to take if a match is determined.
    match Property Map
    Criteria for determining an HTTP request match.
    retryPolicy Property Map
    Retry policy.
    timeout Property Map
    Types of timeouts.

    RouteSpecHttpRouteAction, RouteSpecHttpRouteActionArgs

    WeightedTargets List<RouteSpecHttpRouteActionWeightedTarget>
    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
    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>
    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[]
    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]
    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>
    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, RouteSpecHttpRouteActionWeightedTargetArgs

    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Integer
    Relative weight of the weighted target. An integer between 0 and 100.
    port Integer
    The targeted port of the weighted object.
    virtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight number
    Relative weight of the weighted target. An integer between 0 and 100.
    port number
    The targeted port of the weighted object.
    virtual_node str
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Number
    Relative weight of the weighted target. An integer between 0 and 100.
    port Number
    The targeted port of the weighted object.

    RouteSpecHttpRouteMatch, RouteSpecHttpRouteMatchArgs

    Headers List<RouteSpecHttpRouteMatchHeader>
    Client request headers to match on.
    Method string
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    Path RouteSpecHttpRouteMatchPath
    Client request path to match on.
    Port int
    The port number to match from the request.
    Prefix string
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    QueryParameters List<RouteSpecHttpRouteMatchQueryParameter>
    Client request query parameters to match on.
    Scheme string
    Client request header scheme to match on. Valid values: http, https.
    Headers []RouteSpecHttpRouteMatchHeader
    Client request headers to match on.
    Method string
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    Path RouteSpecHttpRouteMatchPath
    Client request path to match on.
    Port int
    The port number to match from the request.
    Prefix string
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    QueryParameters []RouteSpecHttpRouteMatchQueryParameter
    Client request query parameters to match on.
    Scheme string
    Client request header scheme to match on. Valid values: http, https.
    headers List<RouteSpecHttpRouteMatchHeader>
    Client request headers to match on.
    method String
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path RouteSpecHttpRouteMatchPath
    Client request path to match on.
    port Integer
    The port number to match from the request.
    prefix String
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    queryParameters List<RouteSpecHttpRouteMatchQueryParameter>
    Client request query parameters to match on.
    scheme String
    Client request header scheme to match on. Valid values: http, https.
    headers RouteSpecHttpRouteMatchHeader[]
    Client request headers to match on.
    method string
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path RouteSpecHttpRouteMatchPath
    Client request path to match on.
    port number
    The port number to match from the request.
    prefix string
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    queryParameters RouteSpecHttpRouteMatchQueryParameter[]
    Client request query parameters to match on.
    scheme string
    Client request header scheme to match on. Valid values: http, https.
    headers Sequence[RouteSpecHttpRouteMatchHeader]
    Client request headers to match on.
    method str
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path RouteSpecHttpRouteMatchPath
    Client request path to match on.
    port int
    The port number to match from the request.
    prefix str
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    query_parameters Sequence[RouteSpecHttpRouteMatchQueryParameter]
    Client request query parameters to match on.
    scheme str
    Client request header scheme to match on. Valid values: http, https.
    headers List<Property Map>
    Client request headers to match on.
    method String
    Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
    path Property Map
    Client request path to match on.
    port Number
    The port number to match from the request.
    prefix String
    Path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
    queryParameters List<Property Map>
    Client request query parameters to match on.
    scheme String
    Client request header scheme to match on. Valid values: http, https.

    RouteSpecHttpRouteMatchHeader, RouteSpecHttpRouteMatchHeaderArgs

    Name string
    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
    Method and value to match the header value sent with a request. Specify one match method.
    Name string
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name String
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name string
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name str
    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
    Method and value to match the header value sent with a request. Specify one match method.
    name String
    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
    Method and value to match the header value sent with a request. Specify one match method.

    RouteSpecHttpRouteMatchHeaderMatch, RouteSpecHttpRouteMatchHeaderMatchArgs

    Exact string
    Header value sent by the client must match the specified value exactly.
    Prefix string
    Header value sent by the client must begin with the specified characters.
    Range RouteSpecHttpRouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    Regex string
    Header value sent by the client must include the specified characters.
    Suffix string
    Header value sent by the client must end with the specified characters.
    Exact string
    Header value sent by the client must match the specified value exactly.
    Prefix string
    Header value sent by the client must begin with the specified characters.
    Range RouteSpecHttpRouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    Regex string
    Header value sent by the client must include the specified characters.
    Suffix string
    Header value sent by the client must end with the specified characters.
    exact String
    Header value sent by the client must match the specified value exactly.
    prefix String
    Header value sent by the client must begin with the specified characters.
    range RouteSpecHttpRouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex String
    Header value sent by the client must include the specified characters.
    suffix String
    Header value sent by the client must end with the specified characters.
    exact string
    Header value sent by the client must match the specified value exactly.
    prefix string
    Header value sent by the client must begin with the specified characters.
    range RouteSpecHttpRouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex string
    Header value sent by the client must include the specified characters.
    suffix string
    Header value sent by the client must end with the specified characters.
    exact str
    Header value sent by the client must match the specified value exactly.
    prefix str
    Header value sent by the client must begin with the specified characters.
    range RouteSpecHttpRouteMatchHeaderMatchRange
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex str
    Header value sent by the client must include the specified characters.
    suffix str
    Header value sent by the client must end with the specified characters.
    exact String
    Header value sent by the client must match the specified value exactly.
    prefix String
    Header value sent by the client must begin with the specified characters.
    range Property Map
    Object that specifies the range of numbers that the header value sent by the client must be included in.
    regex String
    Header value sent by the client must include the specified characters.
    suffix String
    Header value sent by the client must end with the specified characters.

    RouteSpecHttpRouteMatchHeaderMatchRange, RouteSpecHttpRouteMatchHeaderMatchRangeArgs

    End int
    End of the range.
    Start int
    Start of the range.
    End int
    End of the range.
    Start int
    Start of the range.
    end Integer
    End of the range.
    start Integer
    Start of the range.
    end number
    End of the range.
    start number
    Start of the range.
    end int
    End of the range.
    start int
    Start of the range.
    end Number
    End of the range.
    start Number
    Start of the range.

    RouteSpecHttpRouteMatchPath, RouteSpecHttpRouteMatchPathArgs

    Exact string
    The exact path to match on.
    Regex string
    The regex used to match the path.
    Exact string
    The exact path to match on.
    Regex string
    The regex used to match the path.
    exact String
    The exact path to match on.
    regex String
    The regex used to match the path.
    exact string
    The exact path to match on.
    regex string
    The regex used to match the path.
    exact str
    The exact path to match on.
    regex str
    The regex used to match the path.
    exact String
    The exact path to match on.
    regex String
    The regex used to match the path.

    RouteSpecHttpRouteMatchQueryParameter, RouteSpecHttpRouteMatchQueryParameterArgs

    Name string
    Name for the query parameter that will be matched on.
    Match RouteSpecHttpRouteMatchQueryParameterMatch
    The query parameter to match on.
    Name string
    Name for the query parameter that will be matched on.
    Match RouteSpecHttpRouteMatchQueryParameterMatch
    The query parameter to match on.
    name String
    Name for the query parameter that will be matched on.
    match RouteSpecHttpRouteMatchQueryParameterMatch
    The query parameter to match on.
    name string
    Name for the query parameter that will be matched on.
    match RouteSpecHttpRouteMatchQueryParameterMatch
    The query parameter to match on.
    name str
    Name for the query parameter that will be matched on.
    match RouteSpecHttpRouteMatchQueryParameterMatch
    The query parameter to match on.
    name String
    Name for the query parameter that will be matched on.
    match Property Map
    The query parameter to match on.

    RouteSpecHttpRouteMatchQueryParameterMatch, RouteSpecHttpRouteMatchQueryParameterMatchArgs

    Exact string
    The exact query parameter to match on.
    Exact string
    The exact query parameter to match on.
    exact String
    The exact query parameter to match on.
    exact string
    The exact query parameter to match on.
    exact str
    The exact query parameter to match on.
    exact String
    The exact query parameter to match on.

    RouteSpecHttpRouteRetryPolicy, RouteSpecHttpRouteRetryPolicyArgs

    MaxRetries int
    Maximum number of retries.
    PerRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout
    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).
    TcpRetryEvents List<string>

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    MaxRetries int
    Maximum number of retries.
    PerRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout
    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).
    TcpRetryEvents []string

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    maxRetries Integer
    Maximum number of retries.
    perRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout
    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).
    tcpRetryEvents List<String>

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    maxRetries number
    Maximum number of retries.
    perRetryTimeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout
    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).
    tcpRetryEvents string[]

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    max_retries int
    Maximum number of retries.
    per_retry_timeout RouteSpecHttpRouteRetryPolicyPerRetryTimeout
    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).
    tcp_retry_events Sequence[str]

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    maxRetries Number
    Maximum number of retries.
    perRetryTimeout Property Map
    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).
    tcpRetryEvents List<String>

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

    You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

    RouteSpecHttpRouteRetryPolicyPerRetryTimeout, RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs

    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, RouteSpecHttpRouteTimeoutArgs

    Idle RouteSpecHttpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    PerRequest RouteSpecHttpRouteTimeoutPerRequest
    Per request timeout.
    Idle RouteSpecHttpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    PerRequest RouteSpecHttpRouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecHttpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest RouteSpecHttpRouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecHttpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest RouteSpecHttpRouteTimeoutPerRequest
    Per request timeout.
    idle RouteSpecHttpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    per_request RouteSpecHttpRouteTimeoutPerRequest
    Per request timeout.
    idle Property Map
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    perRequest Property Map
    Per request timeout.

    RouteSpecHttpRouteTimeoutIdle, RouteSpecHttpRouteTimeoutIdleArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    RouteSpecHttpRouteTimeoutPerRequest, RouteSpecHttpRouteTimeoutPerRequestArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    RouteSpecTcpRoute, RouteSpecTcpRouteArgs

    Action RouteSpecTcpRouteAction
    Action to take if a match is determined.
    Match RouteSpecTcpRouteMatch
    Timeout RouteSpecTcpRouteTimeout
    Types of timeouts.
    Action RouteSpecTcpRouteAction
    Action to take if a match is determined.
    Match RouteSpecTcpRouteMatch
    Timeout RouteSpecTcpRouteTimeout
    Types of timeouts.
    action RouteSpecTcpRouteAction
    Action to take if a match is determined.
    match RouteSpecTcpRouteMatch
    timeout RouteSpecTcpRouteTimeout
    Types of timeouts.
    action RouteSpecTcpRouteAction
    Action to take if a match is determined.
    match RouteSpecTcpRouteMatch
    timeout RouteSpecTcpRouteTimeout
    Types of timeouts.
    action RouteSpecTcpRouteAction
    Action to take if a match is determined.
    match RouteSpecTcpRouteMatch
    timeout RouteSpecTcpRouteTimeout
    Types of timeouts.
    action Property Map
    Action to take if a match is determined.
    match Property Map
    timeout Property Map
    Types of timeouts.

    RouteSpecTcpRouteAction, RouteSpecTcpRouteActionArgs

    WeightedTargets List<RouteSpecTcpRouteActionWeightedTarget>
    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
    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>
    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[]
    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]
    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>
    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, RouteSpecTcpRouteActionWeightedTargetArgs

    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    VirtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    Weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    Port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Integer
    Relative weight of the weighted target. An integer between 0 and 100.
    port Integer
    The targeted port of the weighted object.
    virtualNode string
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight number
    Relative weight of the weighted target. An integer between 0 and 100.
    port number
    The targeted port of the weighted object.
    virtual_node str
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight int
    Relative weight of the weighted target. An integer between 0 and 100.
    port int
    The targeted port of the weighted object.
    virtualNode String
    Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
    weight Number
    Relative weight of the weighted target. An integer between 0 and 100.
    port Number
    The targeted port of the weighted object.

    RouteSpecTcpRouteMatch, RouteSpecTcpRouteMatchArgs

    Port int
    Port int
    port Integer
    port number
    port int
    port Number

    RouteSpecTcpRouteTimeout, RouteSpecTcpRouteTimeoutArgs

    Idle RouteSpecTcpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    Idle RouteSpecTcpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    idle RouteSpecTcpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    idle RouteSpecTcpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    idle RouteSpecTcpRouteTimeoutIdle
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
    idle Property Map
    Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.

    RouteSpecTcpRouteTimeoutIdle, RouteSpecTcpRouteTimeoutIdleArgs

    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    Unit string
    Unit of time. Valid values: ms, s.
    Value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Integer
    Number of time units. Minimum value of 0.
    unit string
    Unit of time. Valid values: ms, s.
    value number
    Number of time units. Minimum value of 0.
    unit str
    Unit of time. Valid values: ms, s.
    value int
    Number of time units. Minimum value of 0.
    unit String
    Unit of time. Valid values: ms, s.
    value Number
    Number of time units. Minimum value of 0.

    Import

    Using pulumi import, import App Mesh virtual routes using mesh_name and virtual_router_name together with the route’s name. For example:

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi