published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
Provides an AWS App Mesh gateway route resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appmesh.GatewayRoute("example", {
spec: {
httpRoute: {
action: {
target: {
virtualService: {
virtualServiceName: exampleAwsAppmeshVirtualService.name,
},
},
},
match: {
prefix: "/",
},
},
},
name: "example-gateway-route",
meshName: "example-service-mesh",
virtualGatewayName: exampleAwsAppmeshVirtualGateway.name,
tags: {
Environment: "test",
},
});
import pulumi
import pulumi_aws as aws
example = aws.appmesh.GatewayRoute("example",
spec={
"http_route": {
"action": {
"target": {
"virtual_service": {
"virtual_service_name": example_aws_appmesh_virtual_service["name"],
},
},
},
"match": {
"prefix": "/",
},
},
},
name="example-gateway-route",
mesh_name="example-service-mesh",
virtual_gateway_name=example_aws_appmesh_virtual_gateway["name"],
tags={
"Environment": "test",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewGatewayRoute(ctx, "example", &appmesh.GatewayRouteArgs{
Spec: &appmesh.GatewayRouteSpecArgs{
HttpRoute: &appmesh.GatewayRouteSpecHttpRouteArgs{
Action: &appmesh.GatewayRouteSpecHttpRouteActionArgs{
Target: &appmesh.GatewayRouteSpecHttpRouteActionTargetArgs{
VirtualService: &appmesh.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs{
VirtualServiceName: pulumi.Any(exampleAwsAppmeshVirtualService.Name),
},
},
},
Match: &appmesh.GatewayRouteSpecHttpRouteMatchArgs{
Prefix: pulumi.String("/"),
},
},
},
Name: pulumi.String("example-gateway-route"),
MeshName: pulumi.String("example-service-mesh"),
VirtualGatewayName: pulumi.Any(exampleAwsAppmeshVirtualGateway.Name),
Tags: pulumi.StringMap{
"Environment": pulumi.String("test"),
},
})
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 example = new Aws.AppMesh.GatewayRoute("example", new()
{
Spec = new Aws.AppMesh.Inputs.GatewayRouteSpecArgs
{
HttpRoute = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteArgs
{
Action = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionArgs
{
Target = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetArgs
{
VirtualService = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs
{
VirtualServiceName = exampleAwsAppmeshVirtualService.Name,
},
},
},
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchArgs
{
Prefix = "/",
},
},
},
Name = "example-gateway-route",
MeshName = "example-service-mesh",
VirtualGatewayName = exampleAwsAppmeshVirtualGateway.Name,
Tags =
{
{ "Environment", "test" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.GatewayRoute;
import com.pulumi.aws.appmesh.GatewayRouteArgs;
import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecArgs;
import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteArgs;
import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteActionArgs;
import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteActionTargetArgs;
import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs;
import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteMatchArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new GatewayRoute("example", GatewayRouteArgs.builder()
.spec(GatewayRouteSpecArgs.builder()
.httpRoute(GatewayRouteSpecHttpRouteArgs.builder()
.action(GatewayRouteSpecHttpRouteActionArgs.builder()
.target(GatewayRouteSpecHttpRouteActionTargetArgs.builder()
.virtualService(GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs.builder()
.virtualServiceName(exampleAwsAppmeshVirtualService.name())
.build())
.build())
.build())
.match(GatewayRouteSpecHttpRouteMatchArgs.builder()
.prefix("/")
.build())
.build())
.build())
.name("example-gateway-route")
.meshName("example-service-mesh")
.virtualGatewayName(exampleAwsAppmeshVirtualGateway.name())
.tags(Map.of("Environment", "test"))
.build());
}
}
resources:
example:
type: aws:appmesh:GatewayRoute
properties:
spec:
httpRoute:
action:
target:
virtualService:
virtualServiceName: ${exampleAwsAppmeshVirtualService.name}
match:
prefix: /
name: example-gateway-route
meshName: example-service-mesh
virtualGatewayName: ${exampleAwsAppmeshVirtualGateway.name}
tags:
Environment: test
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_appmesh_gatewayroute" "example" {
spec = {
http_route = {
action = {
target = {
virtual_service = {
virtual_service_name = exampleAwsAppmeshVirtualService.name
}
}
}
match = {
prefix = "/"
}
}
}
name = "example-gateway-route"
mesh_name = "example-service-mesh"
virtual_gateway_name = exampleAwsAppmeshVirtualGateway.name
tags = {
"Environment" = "test"
}
}
Create GatewayRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayRoute(name: string, args: GatewayRouteArgs, opts?: CustomResourceOptions);@overload
def GatewayRoute(resource_name: str,
args: GatewayRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
mesh_name: Optional[str] = None,
spec: Optional[GatewayRouteSpecArgs] = None,
virtual_gateway_name: Optional[str] = None,
mesh_owner: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewGatewayRoute(ctx *Context, name string, args GatewayRouteArgs, opts ...ResourceOption) (*GatewayRoute, error)public GatewayRoute(string name, GatewayRouteArgs args, CustomResourceOptions? opts = null)
public GatewayRoute(String name, GatewayRouteArgs args)
public GatewayRoute(String name, GatewayRouteArgs args, CustomResourceOptions options)
type: aws:appmesh:GatewayRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_appmesh_gateway_route" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GatewayRouteArgs
- 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 GatewayRouteArgs
- 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 GatewayRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayRouteArgs
- 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 gatewayRouteResource = new Aws.AppMesh.GatewayRoute("gatewayRouteResource", new()
{
MeshName = "string",
Spec = new Aws.AppMesh.Inputs.GatewayRouteSpecArgs
{
GrpcRoute = new Aws.AppMesh.Inputs.GatewayRouteSpecGrpcRouteArgs
{
Action = new Aws.AppMesh.Inputs.GatewayRouteSpecGrpcRouteActionArgs
{
Target = new Aws.AppMesh.Inputs.GatewayRouteSpecGrpcRouteActionTargetArgs
{
VirtualService = new Aws.AppMesh.Inputs.GatewayRouteSpecGrpcRouteActionTargetVirtualServiceArgs
{
VirtualServiceName = "string",
},
Port = 0,
},
},
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecGrpcRouteMatchArgs
{
ServiceName = "string",
Port = 0,
},
},
Http2Route = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteArgs
{
Action = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionArgs
{
Target = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionTargetArgs
{
VirtualService = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionTargetVirtualServiceArgs
{
VirtualServiceName = "string",
},
Port = 0,
},
Rewrite = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionRewriteArgs
{
Hostname = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionRewriteHostnameArgs
{
DefaultTargetHostname = "string",
},
Path = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionRewritePathArgs
{
Exact = "string",
},
Prefix = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteActionRewritePrefixArgs
{
DefaultPrefix = "string",
Value = "string",
},
},
},
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchArgs
{
Headers = new[]
{
new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchHeaderArgs
{
Name = "string",
Invert = false,
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchHeaderMatchArgs
{
Exact = "string",
Prefix = "string",
Range = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchHeaderMatchRangeArgs
{
End = 0,
Start = 0,
},
Regex = "string",
Suffix = "string",
},
},
},
Hostname = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchHostnameArgs
{
Exact = "string",
Suffix = "string",
},
Path = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchPathArgs
{
Exact = "string",
Regex = "string",
},
Port = 0,
Prefix = "string",
QueryParameters = new[]
{
new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchQueryParameterArgs
{
Name = "string",
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs
{
Exact = "string",
},
},
},
},
},
HttpRoute = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteArgs
{
Action = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionArgs
{
Target = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetArgs
{
VirtualService = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs
{
VirtualServiceName = "string",
},
Port = 0,
},
Rewrite = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionRewriteArgs
{
Hostname = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionRewriteHostnameArgs
{
DefaultTargetHostname = "string",
},
Path = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionRewritePathArgs
{
Exact = "string",
},
Prefix = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionRewritePrefixArgs
{
DefaultPrefix = "string",
Value = "string",
},
},
},
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchArgs
{
Headers = new[]
{
new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchHeaderArgs
{
Name = "string",
Invert = false,
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchHeaderMatchArgs
{
Exact = "string",
Prefix = "string",
Range = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs
{
End = 0,
Start = 0,
},
Regex = "string",
Suffix = "string",
},
},
},
Hostname = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchHostnameArgs
{
Exact = "string",
Suffix = "string",
},
Path = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchPathArgs
{
Exact = "string",
Regex = "string",
},
Port = 0,
Prefix = "string",
QueryParameters = new[]
{
new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchQueryParameterArgs
{
Name = "string",
Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchQueryParameterMatchArgs
{
Exact = "string",
},
},
},
},
},
Priority = 0,
},
VirtualGatewayName = "string",
MeshOwner = "string",
Name = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := appmesh.NewGatewayRoute(ctx, "gatewayRouteResource", &appmesh.GatewayRouteArgs{
MeshName: pulumi.String("string"),
Spec: &appmesh.GatewayRouteSpecArgs{
GrpcRoute: &appmesh.GatewayRouteSpecGrpcRouteArgs{
Action: &appmesh.GatewayRouteSpecGrpcRouteActionArgs{
Target: &appmesh.GatewayRouteSpecGrpcRouteActionTargetArgs{
VirtualService: &appmesh.GatewayRouteSpecGrpcRouteActionTargetVirtualServiceArgs{
VirtualServiceName: pulumi.String("string"),
},
Port: pulumi.Int(0),
},
},
Match: &appmesh.GatewayRouteSpecGrpcRouteMatchArgs{
ServiceName: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
Http2Route: &appmesh.GatewayRouteSpecHttp2RouteArgs{
Action: &appmesh.GatewayRouteSpecHttp2RouteActionArgs{
Target: &appmesh.GatewayRouteSpecHttp2RouteActionTargetArgs{
VirtualService: &appmesh.GatewayRouteSpecHttp2RouteActionTargetVirtualServiceArgs{
VirtualServiceName: pulumi.String("string"),
},
Port: pulumi.Int(0),
},
Rewrite: &appmesh.GatewayRouteSpecHttp2RouteActionRewriteArgs{
Hostname: &appmesh.GatewayRouteSpecHttp2RouteActionRewriteHostnameArgs{
DefaultTargetHostname: pulumi.String("string"),
},
Path: &appmesh.GatewayRouteSpecHttp2RouteActionRewritePathArgs{
Exact: pulumi.String("string"),
},
Prefix: &appmesh.GatewayRouteSpecHttp2RouteActionRewritePrefixArgs{
DefaultPrefix: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Match: &appmesh.GatewayRouteSpecHttp2RouteMatchArgs{
Headers: appmesh.GatewayRouteSpecHttp2RouteMatchHeaderArray{
&appmesh.GatewayRouteSpecHttp2RouteMatchHeaderArgs{
Name: pulumi.String("string"),
Invert: pulumi.Bool(false),
Match: &appmesh.GatewayRouteSpecHttp2RouteMatchHeaderMatchArgs{
Exact: pulumi.String("string"),
Prefix: pulumi.String("string"),
Range: &appmesh.GatewayRouteSpecHttp2RouteMatchHeaderMatchRangeArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
Regex: pulumi.String("string"),
Suffix: pulumi.String("string"),
},
},
},
Hostname: &appmesh.GatewayRouteSpecHttp2RouteMatchHostnameArgs{
Exact: pulumi.String("string"),
Suffix: pulumi.String("string"),
},
Path: &appmesh.GatewayRouteSpecHttp2RouteMatchPathArgs{
Exact: pulumi.String("string"),
Regex: pulumi.String("string"),
},
Port: pulumi.Int(0),
Prefix: pulumi.String("string"),
QueryParameters: appmesh.GatewayRouteSpecHttp2RouteMatchQueryParameterArray{
&appmesh.GatewayRouteSpecHttp2RouteMatchQueryParameterArgs{
Name: pulumi.String("string"),
Match: &appmesh.GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs{
Exact: pulumi.String("string"),
},
},
},
},
},
HttpRoute: &appmesh.GatewayRouteSpecHttpRouteArgs{
Action: &appmesh.GatewayRouteSpecHttpRouteActionArgs{
Target: &appmesh.GatewayRouteSpecHttpRouteActionTargetArgs{
VirtualService: &appmesh.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs{
VirtualServiceName: pulumi.String("string"),
},
Port: pulumi.Int(0),
},
Rewrite: &appmesh.GatewayRouteSpecHttpRouteActionRewriteArgs{
Hostname: &appmesh.GatewayRouteSpecHttpRouteActionRewriteHostnameArgs{
DefaultTargetHostname: pulumi.String("string"),
},
Path: &appmesh.GatewayRouteSpecHttpRouteActionRewritePathArgs{
Exact: pulumi.String("string"),
},
Prefix: &appmesh.GatewayRouteSpecHttpRouteActionRewritePrefixArgs{
DefaultPrefix: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Match: &appmesh.GatewayRouteSpecHttpRouteMatchArgs{
Headers: appmesh.GatewayRouteSpecHttpRouteMatchHeaderArray{
&appmesh.GatewayRouteSpecHttpRouteMatchHeaderArgs{
Name: pulumi.String("string"),
Invert: pulumi.Bool(false),
Match: &appmesh.GatewayRouteSpecHttpRouteMatchHeaderMatchArgs{
Exact: pulumi.String("string"),
Prefix: pulumi.String("string"),
Range: &appmesh.GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
Regex: pulumi.String("string"),
Suffix: pulumi.String("string"),
},
},
},
Hostname: &appmesh.GatewayRouteSpecHttpRouteMatchHostnameArgs{
Exact: pulumi.String("string"),
Suffix: pulumi.String("string"),
},
Path: &appmesh.GatewayRouteSpecHttpRouteMatchPathArgs{
Exact: pulumi.String("string"),
Regex: pulumi.String("string"),
},
Port: pulumi.Int(0),
Prefix: pulumi.String("string"),
QueryParameters: appmesh.GatewayRouteSpecHttpRouteMatchQueryParameterArray{
&appmesh.GatewayRouteSpecHttpRouteMatchQueryParameterArgs{
Name: pulumi.String("string"),
Match: &appmesh.GatewayRouteSpecHttpRouteMatchQueryParameterMatchArgs{
Exact: pulumi.String("string"),
},
},
},
},
},
Priority: pulumi.Int(0),
},
VirtualGatewayName: pulumi.String("string"),
MeshOwner: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_appmesh_gateway_route" "gatewayRouteResource" {
lifecycle {
create_before_destroy = true
}
mesh_name = "string"
spec = {
grpc_route = {
action = {
target = {
virtual_service = {
virtual_service_name = "string"
}
port = 0
}
}
match = {
service_name = "string"
port = 0
}
}
http2_route = {
action = {
target = {
virtual_service = {
virtual_service_name = "string"
}
port = 0
}
rewrite = {
hostname = {
default_target_hostname = "string"
}
path = {
exact = "string"
}
prefix = {
default_prefix = "string"
value = "string"
}
}
}
match = {
headers = [{
name = "string"
invert = false
match = {
exact = "string"
prefix = "string"
range = {
end = 0
start = 0
}
regex = "string"
suffix = "string"
}
}]
hostname = {
exact = "string"
suffix = "string"
}
path = {
exact = "string"
regex = "string"
}
port = 0
prefix = "string"
query_parameters = [{
name = "string"
match = {
exact = "string"
}
}]
}
}
http_route = {
action = {
target = {
virtual_service = {
virtual_service_name = "string"
}
port = 0
}
rewrite = {
hostname = {
default_target_hostname = "string"
}
path = {
exact = "string"
}
prefix = {
default_prefix = "string"
value = "string"
}
}
}
match = {
headers = [{
name = "string"
invert = false
match = {
exact = "string"
prefix = "string"
range = {
end = 0
start = 0
}
regex = "string"
suffix = "string"
}
}]
hostname = {
exact = "string"
suffix = "string"
}
path = {
exact = "string"
regex = "string"
}
port = 0
prefix = "string"
query_parameters = [{
name = "string"
match = {
exact = "string"
}
}]
}
}
priority = 0
}
virtual_gateway_name = "string"
mesh_owner = "string"
name = "string"
region = "string"
tags = {
"string" = "string"
}
}
var gatewayRouteResource = new GatewayRoute("gatewayRouteResource", GatewayRouteArgs.builder()
.meshName("string")
.spec(GatewayRouteSpecArgs.builder()
.grpcRoute(GatewayRouteSpecGrpcRouteArgs.builder()
.action(GatewayRouteSpecGrpcRouteActionArgs.builder()
.target(GatewayRouteSpecGrpcRouteActionTargetArgs.builder()
.virtualService(GatewayRouteSpecGrpcRouteActionTargetVirtualServiceArgs.builder()
.virtualServiceName("string")
.build())
.port(0)
.build())
.build())
.match(GatewayRouteSpecGrpcRouteMatchArgs.builder()
.serviceName("string")
.port(0)
.build())
.build())
.http2Route(GatewayRouteSpecHttp2RouteArgs.builder()
.action(GatewayRouteSpecHttp2RouteActionArgs.builder()
.target(GatewayRouteSpecHttp2RouteActionTargetArgs.builder()
.virtualService(GatewayRouteSpecHttp2RouteActionTargetVirtualServiceArgs.builder()
.virtualServiceName("string")
.build())
.port(0)
.build())
.rewrite(GatewayRouteSpecHttp2RouteActionRewriteArgs.builder()
.hostname(GatewayRouteSpecHttp2RouteActionRewriteHostnameArgs.builder()
.defaultTargetHostname("string")
.build())
.path(GatewayRouteSpecHttp2RouteActionRewritePathArgs.builder()
.exact("string")
.build())
.prefix(GatewayRouteSpecHttp2RouteActionRewritePrefixArgs.builder()
.defaultPrefix("string")
.value("string")
.build())
.build())
.build())
.match(GatewayRouteSpecHttp2RouteMatchArgs.builder()
.headers(GatewayRouteSpecHttp2RouteMatchHeaderArgs.builder()
.name("string")
.invert(false)
.match(GatewayRouteSpecHttp2RouteMatchHeaderMatchArgs.builder()
.exact("string")
.prefix("string")
.range(GatewayRouteSpecHttp2RouteMatchHeaderMatchRangeArgs.builder()
.end(0)
.start(0)
.build())
.regex("string")
.suffix("string")
.build())
.build())
.hostname(GatewayRouteSpecHttp2RouteMatchHostnameArgs.builder()
.exact("string")
.suffix("string")
.build())
.path(GatewayRouteSpecHttp2RouteMatchPathArgs.builder()
.exact("string")
.regex("string")
.build())
.port(0)
.prefix("string")
.queryParameters(GatewayRouteSpecHttp2RouteMatchQueryParameterArgs.builder()
.name("string")
.match(GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs.builder()
.exact("string")
.build())
.build())
.build())
.build())
.httpRoute(GatewayRouteSpecHttpRouteArgs.builder()
.action(GatewayRouteSpecHttpRouteActionArgs.builder()
.target(GatewayRouteSpecHttpRouteActionTargetArgs.builder()
.virtualService(GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs.builder()
.virtualServiceName("string")
.build())
.port(0)
.build())
.rewrite(GatewayRouteSpecHttpRouteActionRewriteArgs.builder()
.hostname(GatewayRouteSpecHttpRouteActionRewriteHostnameArgs.builder()
.defaultTargetHostname("string")
.build())
.path(GatewayRouteSpecHttpRouteActionRewritePathArgs.builder()
.exact("string")
.build())
.prefix(GatewayRouteSpecHttpRouteActionRewritePrefixArgs.builder()
.defaultPrefix("string")
.value("string")
.build())
.build())
.build())
.match(GatewayRouteSpecHttpRouteMatchArgs.builder()
.headers(GatewayRouteSpecHttpRouteMatchHeaderArgs.builder()
.name("string")
.invert(false)
.match(GatewayRouteSpecHttpRouteMatchHeaderMatchArgs.builder()
.exact("string")
.prefix("string")
.range(GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs.builder()
.end(0)
.start(0)
.build())
.regex("string")
.suffix("string")
.build())
.build())
.hostname(GatewayRouteSpecHttpRouteMatchHostnameArgs.builder()
.exact("string")
.suffix("string")
.build())
.path(GatewayRouteSpecHttpRouteMatchPathArgs.builder()
.exact("string")
.regex("string")
.build())
.port(0)
.prefix("string")
.queryParameters(GatewayRouteSpecHttpRouteMatchQueryParameterArgs.builder()
.name("string")
.match(GatewayRouteSpecHttpRouteMatchQueryParameterMatchArgs.builder()
.exact("string")
.build())
.build())
.build())
.build())
.priority(0)
.build())
.virtualGatewayName("string")
.meshOwner("string")
.name("string")
.region("string")
.tags(Map.of("string", "string"))
.build());
gateway_route_resource = aws.appmesh.GatewayRoute("gatewayRouteResource",
mesh_name="string",
spec={
"grpc_route": {
"action": {
"target": {
"virtual_service": {
"virtual_service_name": "string",
},
"port": 0,
},
},
"match": {
"service_name": "string",
"port": 0,
},
},
"http2_route": {
"action": {
"target": {
"virtual_service": {
"virtual_service_name": "string",
},
"port": 0,
},
"rewrite": {
"hostname": {
"default_target_hostname": "string",
},
"path": {
"exact": "string",
},
"prefix": {
"default_prefix": "string",
"value": "string",
},
},
},
"match": {
"headers": [{
"name": "string",
"invert": False,
"match": {
"exact": "string",
"prefix": "string",
"range": {
"end": 0,
"start": 0,
},
"regex": "string",
"suffix": "string",
},
}],
"hostname": {
"exact": "string",
"suffix": "string",
},
"path": {
"exact": "string",
"regex": "string",
},
"port": 0,
"prefix": "string",
"query_parameters": [{
"name": "string",
"match": {
"exact": "string",
},
}],
},
},
"http_route": {
"action": {
"target": {
"virtual_service": {
"virtual_service_name": "string",
},
"port": 0,
},
"rewrite": {
"hostname": {
"default_target_hostname": "string",
},
"path": {
"exact": "string",
},
"prefix": {
"default_prefix": "string",
"value": "string",
},
},
},
"match": {
"headers": [{
"name": "string",
"invert": False,
"match": {
"exact": "string",
"prefix": "string",
"range": {
"end": 0,
"start": 0,
},
"regex": "string",
"suffix": "string",
},
}],
"hostname": {
"exact": "string",
"suffix": "string",
},
"path": {
"exact": "string",
"regex": "string",
},
"port": 0,
"prefix": "string",
"query_parameters": [{
"name": "string",
"match": {
"exact": "string",
},
}],
},
},
"priority": 0,
},
virtual_gateway_name="string",
mesh_owner="string",
name="string",
region="string",
tags={
"string": "string",
})
const gatewayRouteResource = new aws.appmesh.GatewayRoute("gatewayRouteResource", {
meshName: "string",
spec: {
grpcRoute: {
action: {
target: {
virtualService: {
virtualServiceName: "string",
},
port: 0,
},
},
match: {
serviceName: "string",
port: 0,
},
},
http2Route: {
action: {
target: {
virtualService: {
virtualServiceName: "string",
},
port: 0,
},
rewrite: {
hostname: {
defaultTargetHostname: "string",
},
path: {
exact: "string",
},
prefix: {
defaultPrefix: "string",
value: "string",
},
},
},
match: {
headers: [{
name: "string",
invert: false,
match: {
exact: "string",
prefix: "string",
range: {
end: 0,
start: 0,
},
regex: "string",
suffix: "string",
},
}],
hostname: {
exact: "string",
suffix: "string",
},
path: {
exact: "string",
regex: "string",
},
port: 0,
prefix: "string",
queryParameters: [{
name: "string",
match: {
exact: "string",
},
}],
},
},
httpRoute: {
action: {
target: {
virtualService: {
virtualServiceName: "string",
},
port: 0,
},
rewrite: {
hostname: {
defaultTargetHostname: "string",
},
path: {
exact: "string",
},
prefix: {
defaultPrefix: "string",
value: "string",
},
},
},
match: {
headers: [{
name: "string",
invert: false,
match: {
exact: "string",
prefix: "string",
range: {
end: 0,
start: 0,
},
regex: "string",
suffix: "string",
},
}],
hostname: {
exact: "string",
suffix: "string",
},
path: {
exact: "string",
regex: "string",
},
port: 0,
prefix: "string",
queryParameters: [{
name: "string",
match: {
exact: "string",
},
}],
},
},
priority: 0,
},
virtualGatewayName: "string",
meshOwner: "string",
name: "string",
region: "string",
tags: {
string: "string",
},
});
type: aws:appmesh:GatewayRoute
properties:
meshName: string
meshOwner: string
name: string
region: string
spec:
grpcRoute:
action:
target:
port: 0
virtualService:
virtualServiceName: string
match:
port: 0
serviceName: string
http2Route:
action:
rewrite:
hostname:
defaultTargetHostname: string
path:
exact: string
prefix:
defaultPrefix: string
value: string
target:
port: 0
virtualService:
virtualServiceName: string
match:
headers:
- invert: false
match:
exact: string
prefix: string
range:
end: 0
start: 0
regex: string
suffix: string
name: string
hostname:
exact: string
suffix: string
path:
exact: string
regex: string
port: 0
prefix: string
queryParameters:
- match:
exact: string
name: string
httpRoute:
action:
rewrite:
hostname:
defaultTargetHostname: string
path:
exact: string
prefix:
defaultPrefix: string
value: string
target:
port: 0
virtualService:
virtualServiceName: string
match:
headers:
- invert: false
match:
exact: string
prefix: string
range:
end: 0
start: 0
regex: string
suffix: string
name: string
hostname:
exact: string
suffix: string
path:
exact: string
regex: string
port: 0
prefix: string
queryParameters:
- match:
exact: string
name: string
priority: 0
tags:
string: string
virtualGatewayName: string
GatewayRoute 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 GatewayRoute resource accepts the following input properties:
- Mesh
Name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- Spec
Gateway
Route Spec - Gateway route specification to apply.
- Virtual
Gateway stringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- Mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mesh
Name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- Spec
Gateway
Route Spec Args - Gateway route specification to apply.
- Virtual
Gateway stringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- Mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- mesh_
name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- spec object
- Gateway route specification to apply.
- virtual_
gateway_ stringname - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- mesh_
owner 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 gateway route. Must be between 1 and 255 characters in length.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- mesh
Name String - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- spec
Gateway
Route Spec - Gateway route specification to apply.
- virtual
Gateway StringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- mesh
Name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- spec
Gateway
Route Spec - Gateway route specification to apply.
- virtual
Gateway stringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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 gateway route. Must be between 1 and 255 characters in length.
- spec
Gateway
Route Spec Args - Gateway route specification to apply.
- virtual_
gateway_ strname - Name of the virtual gateway to associate the gateway route with. 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 gateway route. Must be between 1 and 255 characters in length.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- mesh
Name String - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- spec Property Map
- Gateway route specification to apply.
- virtual
Gateway StringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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 GatewayRoute resource produces the following output properties:
- Arn string
- ARN of the gateway route.
- Created
Date string - Creation date of the gateway route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Last update date of the gateway route.
- Resource
Owner string - Resource owner's AWS account ID.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the gateway route.
- Created
Date string - Creation date of the gateway route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Last update date of the gateway route.
- Resource
Owner string - Resource owner's AWS account ID.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the gateway route.
- created_
date string - Creation date of the gateway route.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated_ stringdate - Last update date of the gateway route.
- resource_
owner string - Resource owner's AWS account ID.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the gateway route.
- created
Date String - Creation date of the gateway route.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - Last update date of the gateway route.
- resource
Owner String - Resource owner's AWS account ID.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the gateway route.
- created
Date string - Creation date of the gateway route.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringDate - Last update date of the gateway route.
- resource
Owner string - Resource owner's AWS account ID.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the gateway route.
- created_
date str - Creation date of the gateway route.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strdate - Last update date of the gateway route.
- resource_
owner str - Resource owner's AWS account ID.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the gateway route.
- created
Date String - Creation date of the gateway route.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - Last update date of the gateway route.
- resource
Owner String - Resource owner's AWS account ID.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing GatewayRoute Resource
Get an existing GatewayRoute 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?: GatewayRouteState, opts?: CustomResourceOptions): GatewayRoute@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,
region: Optional[str] = None,
resource_owner: Optional[str] = None,
spec: Optional[GatewayRouteSpecArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
virtual_gateway_name: Optional[str] = None) -> GatewayRoutefunc GetGatewayRoute(ctx *Context, name string, id IDInput, state *GatewayRouteState, opts ...ResourceOption) (*GatewayRoute, error)public static GatewayRoute Get(string name, Input<string> id, GatewayRouteState? state, CustomResourceOptions? opts = null)public static GatewayRoute get(String name, Output<String> id, GatewayRouteState state, CustomResourceOptions options)resources: _: type: aws:appmesh:GatewayRoute get: id: ${id}import {
to = aws_appmesh_gateway_route.example
id = "${id}"
}
- 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.
- Arn string
- ARN of the gateway route.
- Created
Date string - Creation date of the gateway route.
- Last
Updated stringDate - Last update date of the gateway route.
- Mesh
Name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- Mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Resource
Owner string - Resource owner's AWS account ID.
- Spec
Gateway
Route Spec - Gateway route specification to apply.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Virtual
Gateway stringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- Arn string
- ARN of the gateway route.
- Created
Date string - Creation date of the gateway route.
- Last
Updated stringDate - Last update date of the gateway route.
- Mesh
Name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- Mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Resource
Owner string - Resource owner's AWS account ID.
- Spec
Gateway
Route Spec Args - Gateway route specification to apply.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Virtual
Gateway stringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- arn string
- ARN of the gateway route.
- created_
date string - Creation date of the gateway route.
- last_
updated_ stringdate - Last update date of the gateway route.
- mesh_
name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- mesh_
owner 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 gateway route. Must be between 1 and 255 characters in length.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- resource_
owner string - Resource owner's AWS account ID.
- spec object
- Gateway route specification to apply.
- map(string)
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - virtual_
gateway_ stringname - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- arn String
- ARN of the gateway route.
- created
Date String - Creation date of the gateway route.
- last
Updated StringDate - Last update date of the gateway route.
- mesh
Name String - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- resource
Owner String - Resource owner's AWS account ID.
- spec
Gateway
Route Spec - Gateway route specification to apply.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - virtual
Gateway StringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- arn string
- ARN of the gateway route.
- created
Date string - Creation date of the gateway route.
- last
Updated stringDate - Last update date of the gateway route.
- mesh
Name string - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- resource
Owner string - Resource owner's AWS account ID.
- spec
Gateway
Route Spec - Gateway route specification to apply.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - virtual
Gateway stringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- arn str
- ARN of the gateway route.
- created_
date str - Creation date of the gateway route.
- last_
updated_ strdate - Last update date of the gateway route.
- mesh_
name str - Name of the service mesh in which to create the gateway 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 gateway route. Must be between 1 and 255 characters in length.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- resource_
owner str - Resource owner's AWS account ID.
- spec
Gateway
Route Spec Args - Gateway route specification to apply.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - virtual_
gateway_ strname - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
- arn String
- ARN of the gateway route.
- created
Date String - Creation date of the gateway route.
- last
Updated StringDate - Last update date of the gateway route.
- mesh
Name String - Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
- mesh
Owner 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 gateway route. Must be between 1 and 255 characters in length.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- resource
Owner String - Resource owner's AWS account ID.
- spec Property Map
- Gateway route specification to apply.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - virtual
Gateway StringName - Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
Supporting Types
GatewayRouteSpec, GatewayRouteSpecArgs
- Grpc
Route GatewayRoute Spec Grpc Route - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - Http2Route
Gateway
Route Spec Http2Route - Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - Http
Route GatewayRoute Spec Http Route - Specification of an HTTP gateway route. See
httpRouteBlock for details. - Priority int
- Priority for the gateway route, between
0and1000.
- Grpc
Route GatewayRoute Spec Grpc Route - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - Http2Route
Gateway
Route Spec Http2Route - Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - Http
Route GatewayRoute Spec Http Route - Specification of an HTTP gateway route. See
httpRouteBlock for details. - Priority int
- Priority for the gateway route, between
0and1000.
- grpc_
route object - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - http2_
route object - Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - http_
route object - Specification of an HTTP gateway route. See
httpRouteBlock for details. - priority number
- Priority for the gateway route, between
0and1000.
- grpc
Route GatewayRoute Spec Grpc Route - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - http2Route
Gateway
Route Spec Http2Route - Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - http
Route GatewayRoute Spec Http Route - Specification of an HTTP gateway route. See
httpRouteBlock for details. - priority Integer
- Priority for the gateway route, between
0and1000.
- grpc
Route GatewayRoute Spec Grpc Route - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - http2Route
Gateway
Route Spec Http2Route - Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - http
Route GatewayRoute Spec Http Route - Specification of an HTTP gateway route. See
httpRouteBlock for details. - priority number
- Priority for the gateway route, between
0and1000.
- grpc_
route GatewayRoute Spec Grpc Route - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - http2_
route GatewayRoute Spec Http2Route - Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - http_
route GatewayRoute Spec Http Route - Specification of an HTTP gateway route. See
httpRouteBlock for details. - priority int
- Priority for the gateway route, between
0and1000.
- grpc
Route Property Map - Specification of a gRPC gateway route. See
grpcRouteBlock for details. - http2Route Property Map
- Specification of an HTTP/2 gateway route. See
http2RouteBlock for details. - http
Route Property Map - Specification of an HTTP gateway route. See
httpRouteBlock for details. - priority Number
- Priority for the gateway route, between
0and1000.
GatewayRouteSpecGrpcRoute, GatewayRouteSpecGrpcRouteArgs
- Action
Gateway
Route Spec Grpc Route Action - Action to take if a match is determined. See
spec.grpc_route.actionBlock for details. - Match
Gateway
Route Spec Grpc Route Match - Criteria for determining a request match. See
spec.grpc_route.matchBlock for details.
- Action
Gateway
Route Spec Grpc Route Action - Action to take if a match is determined. See
spec.grpc_route.actionBlock for details. - Match
Gateway
Route Spec Grpc Route Match - Criteria for determining a request match. See
spec.grpc_route.matchBlock for details.
- action
Gateway
Route Spec Grpc Route Action - Action to take if a match is determined. See
spec.grpc_route.actionBlock for details. - match
Gateway
Route Spec Grpc Route Match - Criteria for determining a request match. See
spec.grpc_route.matchBlock for details.
- action
Gateway
Route Spec Grpc Route Action - Action to take if a match is determined. See
spec.grpc_route.actionBlock for details. - match
Gateway
Route Spec Grpc Route Match - Criteria for determining a request match. See
spec.grpc_route.matchBlock for details.
- action
Gateway
Route Spec Grpc Route Action - Action to take if a match is determined. See
spec.grpc_route.actionBlock for details. - match
Gateway
Route Spec Grpc Route Match - Criteria for determining a request match. See
spec.grpc_route.matchBlock for details.
- action Property Map
- Action to take if a match is determined. See
spec.grpc_route.actionBlock for details. - match Property Map
- Criteria for determining a request match. See
spec.grpc_route.matchBlock for details.
GatewayRouteSpecGrpcRouteAction, GatewayRouteSpecGrpcRouteActionArgs
- Target
Gateway
Route Spec Grpc Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details.
- Target
Gateway
Route Spec Grpc Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details.
- target
Gateway
Route Spec Grpc Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details.
- target
Gateway
Route Spec Grpc Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details.
- target
Gateway
Route Spec Grpc Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details.
- target Property Map
- Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details.
GatewayRouteSpecGrpcRouteActionTarget, GatewayRouteSpecGrpcRouteActionTargetArgs
- Virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - Port int
- Port number to match from the request.
- Virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - Port int
- Port number to match from the request.
- virtual_
service object - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port number
- Port number to match from the request.
- virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port Integer
- Port number to match from the request.
- virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port number
- Port number to match from the request.
- virtual_
service GatewayRoute Spec Grpc Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port int
- Port number to match from the request.
- virtual
Service Property Map - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port Number
- Port number to match from the request.
GatewayRouteSpecGrpcRouteActionTargetVirtualService, GatewayRouteSpecGrpcRouteActionTargetVirtualServiceArgs
- Virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- Virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual_
service_ stringname - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service StringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual_
service_ strname - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service StringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
GatewayRouteSpecGrpcRouteMatch, GatewayRouteSpecGrpcRouteMatchArgs
- Service
Name string - Fully qualified domain name for the service to match from the request.
- Port int
- Port number to match from the request.
- Service
Name string - Fully qualified domain name for the service to match from the request.
- Port int
- Port number to match from the request.
- service_
name string - Fully qualified domain name for the service to match from the request.
- port number
- Port number to match from the request.
- service
Name String - Fully qualified domain name for the service to match from the request.
- port Integer
- Port number to match from the request.
- service
Name string - Fully qualified domain name for the service to match from the request.
- port number
- Port number to match from the request.
- service_
name str - Fully qualified domain name for the service to match from the request.
- port int
- Port number to match from the request.
- service
Name String - Fully qualified domain name for the service to match from the request.
- port Number
- Port number to match from the request.
GatewayRouteSpecHttp2Route, GatewayRouteSpecHttp2RouteArgs
- Action
Gateway
Route Spec Http2Route Action - Action to take if a match is determined. See
spec.http2_route.actionBlock for details. - Match
Gateway
Route Spec Http2Route Match - Criteria for determining a request match. See
spec.http2_route.matchBlock for details.
- Action
Gateway
Route Spec Http2Route Action - Action to take if a match is determined. See
spec.http2_route.actionBlock for details. - Match
Gateway
Route Spec Http2Route Match - Criteria for determining a request match. See
spec.http2_route.matchBlock for details.
- action
Gateway
Route Spec Http2Route Action - Action to take if a match is determined. See
spec.http2_route.actionBlock for details. - match
Gateway
Route Spec Http2Route Match - Criteria for determining a request match. See
spec.http2_route.matchBlock for details.
- action
Gateway
Route Spec Http2Route Action - Action to take if a match is determined. See
spec.http2_route.actionBlock for details. - match
Gateway
Route Spec Http2Route Match - Criteria for determining a request match. See
spec.http2_route.matchBlock for details.
- action
Gateway
Route Spec Http2Route Action - Action to take if a match is determined. See
spec.http2_route.actionBlock for details. - match
Gateway
Route Spec Http2Route Match - Criteria for determining a request match. See
spec.http2_route.matchBlock for details.
- action Property Map
- Action to take if a match is determined. See
spec.http2_route.actionBlock for details. - match Property Map
- Criteria for determining a request match. See
spec.http2_route.matchBlock for details.
GatewayRouteSpecHttp2RouteAction, GatewayRouteSpecHttp2RouteActionArgs
- Target
Gateway
Route Spec Http2Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - Rewrite
Gateway
Route Spec Http2Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- Target
Gateway
Route Spec Http2Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - Rewrite
Gateway
Route Spec Http2Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target
Gateway
Route Spec Http2Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite
Gateway
Route Spec Http2Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target
Gateway
Route Spec Http2Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite
Gateway
Route Spec Http2Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target
Gateway
Route Spec Http2Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite
Gateway
Route Spec Http2Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target Property Map
- Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite Property Map
- Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
GatewayRouteSpecHttp2RouteActionRewrite, GatewayRouteSpecHttp2RouteActionRewriteArgs
- Hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http2Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- Hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http2Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http2Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http2Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http2Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname Property Map
- Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path Property Map
- Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix Property Map
- Header value sent by the client must begin with the specified characters.
GatewayRouteSpecHttp2RouteActionRewriteHostname, GatewayRouteSpecHttp2RouteActionRewriteHostnameArgs
- Default
Target stringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- Default
Target stringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default_
target_ stringhostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default
Target StringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default
Target stringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default_
target_ strhostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default
Target StringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
GatewayRouteSpecHttp2RouteActionRewritePath, GatewayRouteSpecHttp2RouteActionRewritePathArgs
- Exact string
- Exact query parameter to match on.
- Exact string
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact str
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
GatewayRouteSpecHttp2RouteActionRewritePrefix, GatewayRouteSpecHttp2RouteActionRewritePrefixArgs
- Default
Prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - Value string
- Value used to replace the incoming route prefix when rewritten.
- Default
Prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - Value string
- Value used to replace the incoming route prefix when rewritten.
- default_
prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value string
- Value used to replace the incoming route prefix when rewritten.
- default
Prefix String - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value String
- Value used to replace the incoming route prefix when rewritten.
- default
Prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value string
- Value used to replace the incoming route prefix when rewritten.
- default_
prefix str - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value str
- Value used to replace the incoming route prefix when rewritten.
- default
Prefix String - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value String
- Value used to replace the incoming route prefix when rewritten.
GatewayRouteSpecHttp2RouteActionTarget, GatewayRouteSpecHttp2RouteActionTargetArgs
- Virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - Port int
- Port number to match from the request.
- Virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - Port int
- Port number to match from the request.
- virtual_
service object - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port number
- Port number to match from the request.
- virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port Integer
- Port number to match from the request.
- virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port number
- Port number to match from the request.
- virtual_
service GatewayRoute Spec Http2Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port int
- Port number to match from the request.
- virtual
Service Property Map - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port Number
- Port number to match from the request.
GatewayRouteSpecHttp2RouteActionTargetVirtualService, GatewayRouteSpecHttp2RouteActionTargetVirtualServiceArgs
- Virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- Virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual_
service_ stringname - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service StringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual_
service_ strname - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service StringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
GatewayRouteSpecHttp2RouteMatch, GatewayRouteSpecHttp2RouteMatchArgs
- Headers
List<Gateway
Route Spec Http2Route Match Header> - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - Hostname
Gateway
Route Spec Http2Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http2Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Port int
- Port number to match from the request.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Query
Parameters List<GatewayRoute Spec Http2Route Match Query Parameter> - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- Headers
[]Gateway
Route Spec Http2Route Match Header - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - Hostname
Gateway
Route Spec Http2Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http2Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Port int
- Port number to match from the request.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Query
Parameters []GatewayRoute Spec Http2Route Match Query Parameter - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers list(object)
- Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname object
- Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path object
- Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port number
- Port number to match from the request.
- prefix string
- Header value sent by the client must begin with the specified characters.
- query_
parameters list(object) - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers
List<Gateway
Route Spec Http2Route Match Header> - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname
Gateway
Route Spec Http2Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http2Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port Integer
- Port number to match from the request.
- prefix String
- Header value sent by the client must begin with the specified characters.
- query
Parameters List<GatewayRoute Spec Http2Route Match Query Parameter> - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers
Gateway
Route Spec Http2Route Match Header[] - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname
Gateway
Route Spec Http2Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http2Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port number
- Port number to match from the request.
- prefix string
- Header value sent by the client must begin with the specified characters.
- query
Parameters GatewayRoute Spec Http2Route Match Query Parameter[] - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers
Sequence[Gateway
Route Spec Http2Route Match Header] - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname
Gateway
Route Spec Http2Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http2Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port int
- Port number to match from the request.
- prefix str
- Header value sent by the client must begin with the specified characters.
- query_
parameters Sequence[GatewayRoute Spec Http2Route Match Query Parameter] - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers List<Property Map>
- Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname Property Map
- Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path Property Map
- Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port Number
- Port number to match from the request.
- prefix String
- Header value sent by the client must begin with the specified characters.
- query
Parameters List<Property Map> - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
GatewayRouteSpecHttp2RouteMatchHeader, GatewayRouteSpecHttp2RouteMatchHeaderArgs
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Invert bool
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - Match
Gateway
Route Spec Http2Route Match Header Match
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Invert bool
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - Match
Gateway
Route Spec Http2Route Match Header Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert Boolean
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match
Gateway
Route Spec Http2Route Match Header Match
- name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert boolean
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match
Gateway
Route Spec Http2Route Match Header Match
- name str
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert bool
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match
Gateway
Route Spec Http2Route Match Header Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert Boolean
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match Property Map
GatewayRouteSpecHttp2RouteMatchHeaderMatch, GatewayRouteSpecHttp2RouteMatchHeaderMatchArgs
- Exact string
- Exact query parameter to match on.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Range
Gateway
Route Spec Http2Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - Regex string
- Regex used to match the path.
- Suffix string
- Specified ending characters of the host name to match on.
- Exact string
- Exact query parameter to match on.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Range
Gateway
Route Spec Http2Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - Regex string
- Regex used to match the path.
- Suffix string
- Specified ending characters of the host name to match on.
- exact string
- Exact query parameter to match on.
- prefix string
- Header value sent by the client must begin with the specified characters.
- range object
- Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex string
- Regex used to match the path.
- suffix string
- Specified ending characters of the host name to match on.
- exact String
- Exact query parameter to match on.
- prefix String
- Header value sent by the client must begin with the specified characters.
- range
Gateway
Route Spec Http2Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex String
- Regex used to match the path.
- suffix String
- Specified ending characters of the host name to match on.
- exact string
- Exact query parameter to match on.
- prefix string
- Header value sent by the client must begin with the specified characters.
- range
Gateway
Route Spec Http2Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex string
- Regex used to match the path.
- suffix string
- Specified ending characters of the host name to match on.
- exact str
- Exact query parameter to match on.
- prefix str
- Header value sent by the client must begin with the specified characters.
- range
Gateway
Route Spec Http2Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex str
- Regex used to match the path.
- suffix str
- Specified ending characters of the host name to match on.
- exact String
- Exact query parameter to match on.
- 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. See
spec.http2_route.match.header.match.rangeBlock for details. - regex String
- Regex used to match the path.
- suffix String
- Specified ending characters of the host name to match on.
GatewayRouteSpecHttp2RouteMatchHeaderMatchRange, GatewayRouteSpecHttp2RouteMatchHeaderMatchRangeArgs
GatewayRouteSpecHttp2RouteMatchHostname, GatewayRouteSpecHttp2RouteMatchHostnameArgs
GatewayRouteSpecHttp2RouteMatchPath, GatewayRouteSpecHttp2RouteMatchPathArgs
GatewayRouteSpecHttp2RouteMatchQueryParameter, GatewayRouteSpecHttp2RouteMatchQueryParameterArgs
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Match
Gateway
Route Spec Http2Route Match Query Parameter Match
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Match
Gateway
Route Spec Http2Route Match Query Parameter Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match
Gateway
Route Spec Http2Route Match Query Parameter Match
- name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match
Gateway
Route Spec Http2Route Match Query Parameter Match
- name str
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match
Gateway
Route Spec Http2Route Match Query Parameter Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match Property Map
GatewayRouteSpecHttp2RouteMatchQueryParameterMatch, GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs
- Exact string
- Exact query parameter to match on.
- Exact string
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact str
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
GatewayRouteSpecHttpRoute, GatewayRouteSpecHttpRouteArgs
- Action
Gateway
Route Spec Http Route Action - Action to take if a match is determined. See
spec.http_route.actionBlock for details. - Match
Gateway
Route Spec Http Route Match - Criteria for determining a request match. See
spec.http_route.matchBlock for details.
- Action
Gateway
Route Spec Http Route Action - Action to take if a match is determined. See
spec.http_route.actionBlock for details. - Match
Gateway
Route Spec Http Route Match - Criteria for determining a request match. See
spec.http_route.matchBlock for details.
- action
Gateway
Route Spec Http Route Action - Action to take if a match is determined. See
spec.http_route.actionBlock for details. - match
Gateway
Route Spec Http Route Match - Criteria for determining a request match. See
spec.http_route.matchBlock for details.
- action
Gateway
Route Spec Http Route Action - Action to take if a match is determined. See
spec.http_route.actionBlock for details. - match
Gateway
Route Spec Http Route Match - Criteria for determining a request match. See
spec.http_route.matchBlock for details.
- action
Gateway
Route Spec Http Route Action - Action to take if a match is determined. See
spec.http_route.actionBlock for details. - match
Gateway
Route Spec Http Route Match - Criteria for determining a request match. See
spec.http_route.matchBlock for details.
- action Property Map
- Action to take if a match is determined. See
spec.http_route.actionBlock for details. - match Property Map
- Criteria for determining a request match. See
spec.http_route.matchBlock for details.
GatewayRouteSpecHttpRouteAction, GatewayRouteSpecHttpRouteActionArgs
- Target
Gateway
Route Spec Http Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - Rewrite
Gateway
Route Spec Http Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- Target
Gateway
Route Spec Http Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - Rewrite
Gateway
Route Spec Http Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target
Gateway
Route Spec Http Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite
Gateway
Route Spec Http Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target
Gateway
Route Spec Http Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite
Gateway
Route Spec Http Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target
Gateway
Route Spec Http Route Action Target - Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite
Gateway
Route Spec Http Route Action Rewrite - Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
- target Property Map
- Target that traffic is routed to when a request matches the gateway route. See
spec.http2_route.action.targetBlock for details. - rewrite Property Map
- Gateway route action to rewrite. See
spec.http2_route.action.rewriteBlock for details.
GatewayRouteSpecHttpRouteActionRewrite, GatewayRouteSpecHttpRouteActionRewriteArgs
- Hostname
Gateway
Route Spec Http Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Prefix
Gateway
Route Spec Http Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- Hostname
Gateway
Route Spec Http Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Prefix
Gateway
Route Spec Http Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname
Gateway
Route Spec Http Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix
Gateway
Route Spec Http Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname
Gateway
Route Spec Http Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix
Gateway
Route Spec Http Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname
Gateway
Route Spec Http Route Action Rewrite Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http Route Action Rewrite Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix
Gateway
Route Spec Http Route Action Rewrite Prefix - Header value sent by the client must begin with the specified characters.
- hostname Property Map
- Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path Property Map
- Client request path to match on. See
spec.http2_route.match.pathBlock for details. - prefix Property Map
- Header value sent by the client must begin with the specified characters.
GatewayRouteSpecHttpRouteActionRewriteHostname, GatewayRouteSpecHttpRouteActionRewriteHostnameArgs
- Default
Target stringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- Default
Target stringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default_
target_ stringhostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default
Target StringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default
Target stringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default_
target_ strhostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
- default
Target StringHostname - Default target host name to write to. Valid values:
ENABLED,DISABLED.
GatewayRouteSpecHttpRouteActionRewritePath, GatewayRouteSpecHttpRouteActionRewritePathArgs
- Exact string
- Exact query parameter to match on.
- Exact string
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact str
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
GatewayRouteSpecHttpRouteActionRewritePrefix, GatewayRouteSpecHttpRouteActionRewritePrefixArgs
- Default
Prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - Value string
- Value used to replace the incoming route prefix when rewritten.
- Default
Prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - Value string
- Value used to replace the incoming route prefix when rewritten.
- default_
prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value string
- Value used to replace the incoming route prefix when rewritten.
- default
Prefix String - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value String
- Value used to replace the incoming route prefix when rewritten.
- default
Prefix string - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value string
- Value used to replace the incoming route prefix when rewritten.
- default_
prefix str - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value str
- Value used to replace the incoming route prefix when rewritten.
- default
Prefix String - Default prefix used to replace the incoming route prefix when rewritten. Valid values:
ENABLED,DISABLED. - value String
- Value used to replace the incoming route prefix when rewritten.
GatewayRouteSpecHttpRouteActionTarget, GatewayRouteSpecHttpRouteActionTargetArgs
- Virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - Port int
- Port number to match from the request.
- Virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - Port int
- Port number to match from the request.
- virtual_
service object - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port number
- Port number to match from the request.
- virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port Integer
- Port number to match from the request.
- virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port number
- Port number to match from the request.
- virtual_
service GatewayRoute Spec Http Route Action Target Virtual Service - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port int
- Port number to match from the request.
- virtual
Service Property Map - Virtual service gateway route target. See
spec.http2_route.action.target.virtual_serviceBlock for details. - port Number
- Port number to match from the request.
GatewayRouteSpecHttpRouteActionTargetVirtualService, GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs
- Virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- Virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual_
service_ stringname - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service StringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service stringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual_
service_ strname - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
- virtual
Service StringName - Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
GatewayRouteSpecHttpRouteMatch, GatewayRouteSpecHttpRouteMatchArgs
- Headers
List<Gateway
Route Spec Http Route Match Header> - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - Hostname
Gateway
Route Spec Http Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Port int
- Port number to match from the request.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Query
Parameters List<GatewayRoute Spec Http Route Match Query Parameter> - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- Headers
[]Gateway
Route Spec Http Route Match Header - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - Hostname
Gateway
Route Spec Http Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - Path
Gateway
Route Spec Http Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - Port int
- Port number to match from the request.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Query
Parameters []GatewayRoute Spec Http Route Match Query Parameter - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers list(object)
- Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname object
- Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path object
- Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port number
- Port number to match from the request.
- prefix string
- Header value sent by the client must begin with the specified characters.
- query_
parameters list(object) - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers
List<Gateway
Route Spec Http Route Match Header> - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname
Gateway
Route Spec Http Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port Integer
- Port number to match from the request.
- prefix String
- Header value sent by the client must begin with the specified characters.
- query
Parameters List<GatewayRoute Spec Http Route Match Query Parameter> - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers
Gateway
Route Spec Http Route Match Header[] - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname
Gateway
Route Spec Http Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port number
- Port number to match from the request.
- prefix string
- Header value sent by the client must begin with the specified characters.
- query
Parameters GatewayRoute Spec Http Route Match Query Parameter[] - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers
Sequence[Gateway
Route Spec Http Route Match Header] - Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname
Gateway
Route Spec Http Route Match Hostname - Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path
Gateway
Route Spec Http Route Match Path - Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port int
- Port number to match from the request.
- prefix str
- Header value sent by the client must begin with the specified characters.
- query_
parameters Sequence[GatewayRoute Spec Http Route Match Query Parameter] - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
- headers List<Property Map>
- Client request headers to match on. See
spec.http2_route.match.headerBlock for details. - hostname Property Map
- Host name to match on. See
spec.http2_route.match.hostnameBlock for details. - path Property Map
- Client request path to match on. See
spec.http2_route.match.pathBlock for details. - port Number
- Port number to match from the request.
- prefix String
- Header value sent by the client must begin with the specified characters.
- query
Parameters List<Property Map> - Client request query parameters to match on. See
spec.http2_route.match.query_parameterBlock for details.
GatewayRouteSpecHttpRouteMatchHeader, GatewayRouteSpecHttpRouteMatchHeaderArgs
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Invert bool
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - Match
Gateway
Route Spec Http Route Match Header Match
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Invert bool
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - Match
Gateway
Route Spec Http Route Match Header Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert Boolean
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match
Gateway
Route Spec Http Route Match Header Match
- name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert boolean
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match
Gateway
Route Spec Http Route Match Header Match
- name str
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert bool
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match
Gateway
Route Spec Http Route Match Header Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- invert Boolean
- If
true, the match is on the opposite of thematchmethod and value. Default isfalse. - match Property Map
GatewayRouteSpecHttpRouteMatchHeaderMatch, GatewayRouteSpecHttpRouteMatchHeaderMatchArgs
- Exact string
- Exact query parameter to match on.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Range
Gateway
Route Spec Http Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - Regex string
- Regex used to match the path.
- Suffix string
- Specified ending characters of the host name to match on.
- Exact string
- Exact query parameter to match on.
- Prefix string
- Header value sent by the client must begin with the specified characters.
- Range
Gateway
Route Spec Http Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - Regex string
- Regex used to match the path.
- Suffix string
- Specified ending characters of the host name to match on.
- exact string
- Exact query parameter to match on.
- prefix string
- Header value sent by the client must begin with the specified characters.
- range object
- Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex string
- Regex used to match the path.
- suffix string
- Specified ending characters of the host name to match on.
- exact String
- Exact query parameter to match on.
- prefix String
- Header value sent by the client must begin with the specified characters.
- range
Gateway
Route Spec Http Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex String
- Regex used to match the path.
- suffix String
- Specified ending characters of the host name to match on.
- exact string
- Exact query parameter to match on.
- prefix string
- Header value sent by the client must begin with the specified characters.
- range
Gateway
Route Spec Http Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex string
- Regex used to match the path.
- suffix string
- Specified ending characters of the host name to match on.
- exact str
- Exact query parameter to match on.
- prefix str
- Header value sent by the client must begin with the specified characters.
- range
Gateway
Route Spec Http Route Match Header Match Range - Object that specifies the range of numbers that the header value sent by the client must be included in. See
spec.http2_route.match.header.match.rangeBlock for details. - regex str
- Regex used to match the path.
- suffix str
- Specified ending characters of the host name to match on.
- exact String
- Exact query parameter to match on.
- 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. See
spec.http2_route.match.header.match.rangeBlock for details. - regex String
- Regex used to match the path.
- suffix String
- Specified ending characters of the host name to match on.
GatewayRouteSpecHttpRouteMatchHeaderMatchRange, GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs
GatewayRouteSpecHttpRouteMatchHostname, GatewayRouteSpecHttpRouteMatchHostnameArgs
GatewayRouteSpecHttpRouteMatchPath, GatewayRouteSpecHttpRouteMatchPathArgs
GatewayRouteSpecHttpRouteMatchQueryParameter, GatewayRouteSpecHttpRouteMatchQueryParameterArgs
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Match
Gateway
Route Spec Http Route Match Query Parameter Match
- Name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- Match
Gateway
Route Spec Http Route Match Query Parameter Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match
Gateway
Route Spec Http Route Match Query Parameter Match
- name string
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match
Gateway
Route Spec Http Route Match Query Parameter Match
- name str
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match
Gateway
Route Spec Http Route Match Query Parameter Match
- name String
- Name to use for the gateway route. Must be between 1 and 255 characters in length.
- match Property Map
GatewayRouteSpecHttpRouteMatchQueryParameterMatch, GatewayRouteSpecHttpRouteMatchQueryParameterMatchArgs
- Exact string
- Exact query parameter to match on.
- Exact string
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
- exact string
- Exact query parameter to match on.
- exact str
- Exact query parameter to match on.
- exact String
- Exact query parameter to match on.
Import
Using pulumi import, import App Mesh gateway routes using meshName and virtualGatewayName together with the gateway route’s name. For example:
$ pulumi import aws:appmesh/gatewayRoute:GatewayRoute example mesh/gw1/example-gateway-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
awsTerraform Provider.
published on Thursday, Sep 10, 2026 by Pulumi