AWS Classic

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

GatewayRoute

Provides an AWS App Mesh gateway route resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.AppMesh.GatewayRoute("example", new Aws.AppMesh.GatewayRouteArgs
        {
            MeshName = "example-service-mesh",
            VirtualGatewayName = aws_appmesh_virtual_gateway.Example.Name,
            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 = aws_appmesh_virtual_service.Example.Name,
                            },
                        },
                    },
                    Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchArgs
                    {
                        Prefix = "/",
                    },
                },
            },
            Tags = 
            {
                { "Environment", "test" },
            },
        });
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appmesh.NewGatewayRoute(ctx, "example", &appmesh.GatewayRouteArgs{
			MeshName:           pulumi.String("example-service-mesh"),
			VirtualGatewayName: pulumi.Any(aws_appmesh_virtual_gateway.Example.Name),
			Spec: &appmesh.GatewayRouteSpecArgs{
				HttpRoute: &appmesh.GatewayRouteSpecHttpRouteArgs{
					Action: &appmesh.GatewayRouteSpecHttpRouteActionArgs{
						Target: &appmesh.GatewayRouteSpecHttpRouteActionTargetArgs{
							VirtualService: &appmesh.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs{
								VirtualServiceName: pulumi.Any(aws_appmesh_virtual_service.Example.Name),
							},
						},
					},
					Match: &appmesh.GatewayRouteSpecHttpRouteMatchArgs{
						Prefix: pulumi.String("/"),
					},
				},
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

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

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

    public static void stack(Context ctx) {
        var example = new GatewayRoute("example", GatewayRouteArgs.builder()        
            .meshName("example-service-mesh")
            .virtualGatewayName(aws_appmesh_virtual_gateway.example().name())
            .spec(GatewayRouteSpecArgs.builder()
                .httpRoute(GatewayRouteSpecHttpRouteArgs.builder()
                    .action(GatewayRouteSpecHttpRouteActionArgs.builder()
                        .target(GatewayRouteSpecHttpRouteActionTargetArgs.builder()
                            .virtualService(GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs.builder()
                                .virtualServiceName(aws_appmesh_virtual_service.example().name())
                                .build())
                            .build())
                        .build())
                    .match(GatewayRouteSpecHttpRouteMatchArgs.builder()
                        .prefix("/")
                        .build())
                    .build())
                .build())
            .tags(Map.of("Environment", "test"))
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.appmesh.GatewayRoute("example",
    mesh_name="example-service-mesh",
    virtual_gateway_name=aws_appmesh_virtual_gateway["example"]["name"],
    spec=aws.appmesh.GatewayRouteSpecArgs(
        http_route=aws.appmesh.GatewayRouteSpecHttpRouteArgs(
            action=aws.appmesh.GatewayRouteSpecHttpRouteActionArgs(
                target=aws.appmesh.GatewayRouteSpecHttpRouteActionTargetArgs(
                    virtual_service=aws.appmesh.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs(
                        virtual_service_name=aws_appmesh_virtual_service["example"]["name"],
                    ),
                ),
            ),
            match=aws.appmesh.GatewayRouteSpecHttpRouteMatchArgs(
                prefix="/",
            ),
        ),
    ),
    tags={
        "Environment": "test",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.appmesh.GatewayRoute("example", {
    meshName: "example-service-mesh",
    virtualGatewayName: aws_appmesh_virtual_gateway.example.name,
    spec: {
        httpRoute: {
            action: {
                target: {
                    virtualService: {
                        virtualServiceName: aws_appmesh_virtual_service.example.name,
                    },
                },
            },
            match: {
                prefix: "/",
            },
        },
    },
    tags: {
        Environment: "test",
    },
});
resources:
  example:
    type: aws:appmesh:GatewayRoute
    properties:
      meshName: example-service-mesh
      virtualGatewayName: ${aws_appmesh_virtual_gateway.example.name}
      spec:
        httpRoute:
          action:
            target:
              virtualService:
                virtualServiceName: ${aws_appmesh_virtual_service.example.name}
          match:
            prefix: /
      tags:
        Environment: test

Create a GatewayRoute Resource

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

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.

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

The GatewayRoute resource accepts the following input properties:

MeshName string

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

Spec GatewayRouteSpecArgs

The gateway route specification to apply.

VirtualGatewayName string

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

MeshOwner string

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

Name string

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

Tags Dictionary<string, string>

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

MeshName string

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

Spec GatewayRouteSpecArgs

The gateway route specification to apply.

VirtualGatewayName string

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

MeshOwner string

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

Name string

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

Tags map[string]string

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

meshName String

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

spec GatewayRouteSpecArgs

The gateway route specification to apply.

virtualGatewayName String

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

meshOwner String

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

name String

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

tags Map<String,String>

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

meshName string

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

spec GatewayRouteSpecArgs

The gateway route specification to apply.

virtualGatewayName string

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

meshOwner string

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

name string

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

tags {[key: string]: string}

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

mesh_name str

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

spec GatewayRouteSpecArgs

The gateway route specification to apply.

virtual_gateway_name str

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

mesh_owner str

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

name str

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

tags Mapping[str, str]

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

meshName String

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

spec Property Map

The gateway route specification to apply.

virtualGatewayName String

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

meshOwner String

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

name String

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

tags Map<String>

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

Outputs

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

Arn string

The ARN of the gateway route.

CreatedDate string

The creation date of the gateway route.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

The last update date of the gateway route.

ResourceOwner string

The resource owner's AWS account ID.

TagsAll Dictionary<string, string>

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

Arn string

The ARN of the gateway route.

CreatedDate string

The creation date of the gateway route.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

The last update date of the gateway route.

ResourceOwner string

The resource owner's AWS account ID.

TagsAll map[string]string

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

arn String

The ARN of the gateway route.

createdDate String

The creation date of the gateway route.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

The last update date of the gateway route.

resourceOwner String

The resource owner's AWS account ID.

tagsAll Map<String,String>

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

arn string

The ARN of the gateway route.

createdDate string

The creation date of the gateway route.

id string

The provider-assigned unique ID for this managed resource.

lastUpdatedDate string

The last update date of the gateway route.

resourceOwner string

The resource owner's AWS account ID.

tagsAll {[key: string]: string}

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

arn str

The ARN of the gateway route.

created_date str

The creation date of the gateway route.

id str

The provider-assigned unique ID for this managed resource.

last_updated_date str

The last update date of the gateway route.

resource_owner str

The resource owner's AWS account ID.

tags_all Mapping[str, str]

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

arn String

The ARN of the gateway route.

createdDate String

The creation date of the gateway route.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

The last update date of the gateway route.

resourceOwner String

The resource owner's AWS account ID.

tagsAll Map<String>

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

Look up an Existing 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,
        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) -> GatewayRoute
func 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)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The ARN of the gateway route.

CreatedDate string

The creation date of the gateway route.

LastUpdatedDate string

The last update date of the gateway route.

MeshName string

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

MeshOwner string

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

Name string

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

ResourceOwner string

The resource owner's AWS account ID.

Spec GatewayRouteSpecArgs

The gateway route specification to apply.

Tags Dictionary<string, string>

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

TagsAll Dictionary<string, string>

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

VirtualGatewayName string

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

Arn string

The ARN of the gateway route.

CreatedDate string

The creation date of the gateway route.

LastUpdatedDate string

The last update date of the gateway route.

MeshName string

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

MeshOwner string

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

Name string

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

ResourceOwner string

The resource owner's AWS account ID.

Spec GatewayRouteSpecArgs

The gateway route specification to apply.

Tags map[string]string

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

TagsAll map[string]string

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

VirtualGatewayName string

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

arn String

The ARN of the gateway route.

createdDate String

The creation date of the gateway route.

lastUpdatedDate String

The last update date of the gateway route.

meshName String

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

meshOwner String

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

name String

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

resourceOwner String

The resource owner's AWS account ID.

spec GatewayRouteSpecArgs

The gateway route specification to apply.

tags Map<String,String>

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

tagsAll Map<String,String>

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

virtualGatewayName String

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

arn string

The ARN of the gateway route.

createdDate string

The creation date of the gateway route.

lastUpdatedDate string

The last update date of the gateway route.

meshName string

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

meshOwner string

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

name string

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

resourceOwner string

The resource owner's AWS account ID.

spec GatewayRouteSpecArgs

The gateway route specification to apply.

tags {[key: string]: string}

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

tagsAll {[key: string]: string}

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

virtualGatewayName string

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

arn str

The ARN of the gateway route.

created_date str

The creation date of the gateway route.

last_updated_date str

The last update date of the gateway route.

mesh_name str

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

mesh_owner str

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

name str

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

resource_owner str

The resource owner's AWS account ID.

spec GatewayRouteSpecArgs

The gateway route specification to apply.

tags Mapping[str, str]

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

tags_all Mapping[str, str]

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

virtual_gateway_name str

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

arn String

The ARN of the gateway route.

createdDate String

The creation date of the gateway route.

lastUpdatedDate String

The last update date of the gateway route.

meshName String

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

meshOwner String

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

name String

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

resourceOwner String

The resource owner's AWS account ID.

spec Property Map

The gateway route specification to apply.

tags Map<String>

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

tagsAll Map<String>

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

virtualGatewayName String

The name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.

Supporting Types

GatewayRouteSpec

GrpcRoute GatewayRouteSpecGrpcRoute

The specification of a gRPC gateway route.

Http2Route GatewayRouteSpecHttp2Route

The specification of an HTTP/2 gateway route.

HttpRoute GatewayRouteSpecHttpRoute

The specification of an HTTP gateway route.

GrpcRoute GatewayRouteSpecGrpcRoute

The specification of a gRPC gateway route.

Http2Route GatewayRouteSpecHttp2Route

The specification of an HTTP/2 gateway route.

HttpRoute GatewayRouteSpecHttpRoute

The specification of an HTTP gateway route.

grpcRoute GatewayRouteSpecGrpcRoute

The specification of a gRPC gateway route.

http2Route GatewayRouteSpecHttp2Route

The specification of an HTTP/2 gateway route.

httpRoute GatewayRouteSpecHttpRoute

The specification of an HTTP gateway route.

grpcRoute GatewayRouteSpecGrpcRoute

The specification of a gRPC gateway route.

http2Route GatewayRouteSpecHttp2Route

The specification of an HTTP/2 gateway route.

httpRoute GatewayRouteSpecHttpRoute

The specification of an HTTP gateway route.

grpc_route GatewayRouteSpecGrpcRoute

The specification of a gRPC gateway route.

http2_route GatewayRouteSpecHttp2Route

The specification of an HTTP/2 gateway route.

http_route GatewayRouteSpecHttpRoute

The specification of an HTTP gateway route.

grpcRoute Property Map

The specification of a gRPC gateway route.

http2Route Property Map

The specification of an HTTP/2 gateway route.

httpRoute Property Map

The specification of an HTTP gateway route.

GatewayRouteSpecGrpcRoute

Action GatewayRouteSpecGrpcRouteAction

The action to take if a match is determined.

Match GatewayRouteSpecGrpcRouteMatch

The criteria for determining a request match.

Action GatewayRouteSpecGrpcRouteAction

The action to take if a match is determined.

Match GatewayRouteSpecGrpcRouteMatch

The criteria for determining a request match.

action GatewayRouteSpecGrpcRouteAction

The action to take if a match is determined.

match GatewayRouteSpecGrpcRouteMatch

The criteria for determining a request match.

action GatewayRouteSpecGrpcRouteAction

The action to take if a match is determined.

match GatewayRouteSpecGrpcRouteMatch

The criteria for determining a request match.

action GatewayRouteSpecGrpcRouteAction

The action to take if a match is determined.

match GatewayRouteSpecGrpcRouteMatch

The criteria for determining a request match.

action Property Map

The action to take if a match is determined.

match Property Map

The criteria for determining a request match.

GatewayRouteSpecGrpcRouteAction

Target GatewayRouteSpecGrpcRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

Target GatewayRouteSpecGrpcRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecGrpcRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecGrpcRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecGrpcRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target Property Map

The target that traffic is routed to when a request matches the gateway route.

GatewayRouteSpecGrpcRouteActionTarget

virtualService Property Map

The virtual service gateway route target.

GatewayRouteSpecGrpcRouteActionTargetVirtualService

VirtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

VirtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName String

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtual_service_name str

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName String

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

GatewayRouteSpecGrpcRouteMatch

ServiceName string

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

ServiceName string

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

serviceName String

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

serviceName string

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

service_name str

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

serviceName String

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

GatewayRouteSpecHttp2Route

Action GatewayRouteSpecHttp2RouteAction

The action to take if a match is determined.

Match GatewayRouteSpecHttp2RouteMatch

The criteria for determining a request match.

Action GatewayRouteSpecHttp2RouteAction

The action to take if a match is determined.

Match GatewayRouteSpecHttp2RouteMatch

The criteria for determining a request match.

action GatewayRouteSpecHttp2RouteAction

The action to take if a match is determined.

match GatewayRouteSpecHttp2RouteMatch

The criteria for determining a request match.

action GatewayRouteSpecHttp2RouteAction

The action to take if a match is determined.

match GatewayRouteSpecHttp2RouteMatch

The criteria for determining a request match.

action GatewayRouteSpecHttp2RouteAction

The action to take if a match is determined.

match GatewayRouteSpecHttp2RouteMatch

The criteria for determining a request match.

action Property Map

The action to take if a match is determined.

match Property Map

The criteria for determining a request match.

GatewayRouteSpecHttp2RouteAction

Target GatewayRouteSpecHttp2RouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

Target GatewayRouteSpecHttp2RouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecHttp2RouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecHttp2RouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecHttp2RouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target Property Map

The target that traffic is routed to when a request matches the gateway route.

GatewayRouteSpecHttp2RouteActionTarget

virtualService Property Map

The virtual service gateway route target.

GatewayRouteSpecHttp2RouteActionTargetVirtualService

VirtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

VirtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName String

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtual_service_name str

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName String

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

GatewayRouteSpecHttp2RouteMatch

Prefix string

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

Prefix string

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix String

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix string

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix str

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix String

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

GatewayRouteSpecHttpRoute

Action GatewayRouteSpecHttpRouteAction

The action to take if a match is determined.

Match GatewayRouteSpecHttpRouteMatch

The criteria for determining a request match.

Action GatewayRouteSpecHttpRouteAction

The action to take if a match is determined.

Match GatewayRouteSpecHttpRouteMatch

The criteria for determining a request match.

action GatewayRouteSpecHttpRouteAction

The action to take if a match is determined.

match GatewayRouteSpecHttpRouteMatch

The criteria for determining a request match.

action GatewayRouteSpecHttpRouteAction

The action to take if a match is determined.

match GatewayRouteSpecHttpRouteMatch

The criteria for determining a request match.

action GatewayRouteSpecHttpRouteAction

The action to take if a match is determined.

match GatewayRouteSpecHttpRouteMatch

The criteria for determining a request match.

action Property Map

The action to take if a match is determined.

match Property Map

The criteria for determining a request match.

GatewayRouteSpecHttpRouteAction

Target GatewayRouteSpecHttpRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

Target GatewayRouteSpecHttpRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecHttpRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecHttpRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target GatewayRouteSpecHttpRouteActionTarget

The target that traffic is routed to when a request matches the gateway route.

target Property Map

The target that traffic is routed to when a request matches the gateway route.

GatewayRouteSpecHttpRouteActionTarget

virtualService Property Map

The virtual service gateway route target.

GatewayRouteSpecHttpRouteActionTargetVirtualService

VirtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

VirtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName String

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName string

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtual_service_name str

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

virtualServiceName String

The name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.

GatewayRouteSpecHttpRouteMatch

Prefix string

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

Prefix string

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix String

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix string

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix str

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

prefix String

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name.

Import

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

 $ pulumi import aws:appmesh/gatewayRoute:GatewayRoute example mesh/gw1/example-gateway-route

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

Package Details

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

This Pulumi package is based on the aws Terraform Provider.