GatewayRoute

Provides an AWS App Mesh gateway route resource.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.AppMesh.GatewayRoute("example", new()
    {
        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 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.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

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

    public static void stack(Context ctx) {
        var 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 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

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

Spec GatewayRouteSpecArgs

Gateway route specification to apply.

VirtualGatewayName string

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

MeshOwner string

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

Name string

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

Tags Dictionary<string, string>

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

MeshName string

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

Spec GatewayRouteSpecArgs

Gateway route specification to apply.

VirtualGatewayName string

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

MeshOwner string

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

Name string

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

Tags map[string]string

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

meshName String

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

spec GatewayRouteSpecArgs

Gateway route specification to apply.

virtualGatewayName String

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

meshOwner String

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

name String

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

tags Map<String,String>

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

meshName string

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

spec GatewayRouteSpecArgs

Gateway route specification to apply.

virtualGatewayName string

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

meshOwner string

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

name string

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

tags {[key: string]: string}

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

mesh_name str

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

spec GatewayRouteSpecArgs

Gateway route specification to apply.

virtual_gateway_name str

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.

tags Mapping[str, str]

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

meshName String

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

spec Property Map

Gateway route specification to apply.

virtualGatewayName String

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

meshOwner String

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

name String

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

tags Map<String>

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

Outputs

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

Arn string

ARN of the gateway route.

CreatedDate string

Creation date of the gateway route.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

Last update date of the gateway route.

ResourceOwner string

Resource owner's AWS account ID.

TagsAll Dictionary<string, string>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

ARN of the gateway route.

CreatedDate string

Creation date of the gateway route.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

Last update date of the gateway route.

ResourceOwner string

Resource owner's AWS account ID.

TagsAll map[string]string

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

ARN of the gateway route.

createdDate String

Creation date of the gateway route.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

Last update date of the gateway route.

resourceOwner String

Resource owner's AWS account ID.

tagsAll Map<String,String>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

ARN of the gateway route.

createdDate string

Creation date of the gateway route.

id string

The provider-assigned unique ID for this managed resource.

lastUpdatedDate string

Last update date of the gateway route.

resourceOwner string

Resource owner's AWS account ID.

tagsAll {[key: string]: string}

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

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_date str

Last update date of the gateway route.

resource_owner str

Resource owner's AWS account ID.

tags_all Mapping[str, str]

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

ARN of the gateway route.

createdDate String

Creation date of the gateway route.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

Last update date of the gateway route.

resourceOwner String

Resource owner's AWS account ID.

tagsAll Map<String>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

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

ARN of the gateway route.

CreatedDate string

Creation date of the gateway route.

LastUpdatedDate string

Last update date of the gateway route.

MeshName string

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

MeshOwner string

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

Name string

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

ResourceOwner string

Resource owner's AWS account ID.

Spec GatewayRouteSpecArgs

Gateway route specification to apply.

Tags Dictionary<string, string>

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

TagsAll Dictionary<string, string>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

VirtualGatewayName string

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.

CreatedDate string

Creation date of the gateway route.

LastUpdatedDate string

Last update date of the gateway route.

MeshName string

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

MeshOwner string

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

Name string

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

ResourceOwner string

Resource owner's AWS account ID.

Spec GatewayRouteSpecArgs

Gateway route specification to apply.

Tags map[string]string

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

TagsAll map[string]string

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

VirtualGatewayName string

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.

createdDate String

Creation date of the gateway route.

lastUpdatedDate String

Last update date of the gateway route.

meshName String

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

meshOwner String

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

name String

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

resourceOwner String

Resource owner's AWS account ID.

spec GatewayRouteSpecArgs

Gateway route specification to apply.

tags Map<String,String>

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

tagsAll Map<String,String>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

virtualGatewayName String

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.

createdDate string

Creation date of the gateway route.

lastUpdatedDate string

Last update date of the gateway route.

meshName string

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

meshOwner string

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

name string

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

resourceOwner string

Resource owner's AWS account ID.

spec GatewayRouteSpecArgs

Gateway route specification to apply.

tags {[key: string]: string}

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

tagsAll {[key: string]: string}

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

virtualGatewayName string

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_date str

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.

resource_owner str

Resource owner's AWS account ID.

spec GatewayRouteSpecArgs

Gateway route specification to apply.

tags Mapping[str, str]

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

tags_all Mapping[str, str]

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

virtual_gateway_name str

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.

createdDate String

Creation date of the gateway route.

lastUpdatedDate String

Last update date of the gateway route.

meshName String

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

meshOwner String

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

name String

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

resourceOwner String

Resource owner's AWS account ID.

spec Property Map

Gateway route specification to apply.

tags Map<String>

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

tagsAll Map<String>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

virtualGatewayName String

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

Specification of a gRPC gateway route.

Http2Route GatewayRouteSpecHttp2Route

Specification of an HTTP/2 gateway route.

HttpRoute GatewayRouteSpecHttpRoute

Specification of an HTTP gateway route.

GrpcRoute GatewayRouteSpecGrpcRoute

Specification of a gRPC gateway route.

Http2Route GatewayRouteSpecHttp2Route

Specification of an HTTP/2 gateway route.

HttpRoute GatewayRouteSpecHttpRoute

Specification of an HTTP gateway route.

grpcRoute GatewayRouteSpecGrpcRoute

Specification of a gRPC gateway route.

http2Route GatewayRouteSpecHttp2Route

Specification of an HTTP/2 gateway route.

httpRoute GatewayRouteSpecHttpRoute

Specification of an HTTP gateway route.

grpcRoute GatewayRouteSpecGrpcRoute

Specification of a gRPC gateway route.

http2Route GatewayRouteSpecHttp2Route

Specification of an HTTP/2 gateway route.

httpRoute GatewayRouteSpecHttpRoute

Specification of an HTTP gateway route.

grpc_route GatewayRouteSpecGrpcRoute

Specification of a gRPC gateway route.

http2_route GatewayRouteSpecHttp2Route

Specification of an HTTP/2 gateway route.

http_route GatewayRouteSpecHttpRoute

Specification of an HTTP gateway route.

grpcRoute Property Map

Specification of a gRPC gateway route.

http2Route Property Map

Specification of an HTTP/2 gateway route.

httpRoute Property Map

Specification of an HTTP gateway route.

GatewayRouteSpecGrpcRoute

Action GatewayRouteSpecGrpcRouteAction

Action to take if a match is determined.

Match GatewayRouteSpecGrpcRouteMatch

Criteria for determining a request match.

Action GatewayRouteSpecGrpcRouteAction

Action to take if a match is determined.

Match GatewayRouteSpecGrpcRouteMatch

Criteria for determining a request match.

action GatewayRouteSpecGrpcRouteAction

Action to take if a match is determined.

match GatewayRouteSpecGrpcRouteMatch

Criteria for determining a request match.

action GatewayRouteSpecGrpcRouteAction

Action to take if a match is determined.

match GatewayRouteSpecGrpcRouteMatch

Criteria for determining a request match.

action GatewayRouteSpecGrpcRouteAction

Action to take if a match is determined.

match GatewayRouteSpecGrpcRouteMatch

Criteria for determining a request match.

action Property Map

Action to take if a match is determined.

match Property Map

Criteria for determining a request match.

GatewayRouteSpecGrpcRouteAction

Target GatewayRouteSpecGrpcRouteActionTarget

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

Target GatewayRouteSpecGrpcRouteActionTarget

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

target GatewayRouteSpecGrpcRouteActionTarget

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

target GatewayRouteSpecGrpcRouteActionTarget

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

target GatewayRouteSpecGrpcRouteActionTarget

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

target Property Map

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

GatewayRouteSpecGrpcRouteActionTarget

virtualService Property Map

Virtual service gateway route target.

GatewayRouteSpecGrpcRouteActionTargetVirtualService

VirtualServiceName string

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

VirtualServiceName string

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

virtualServiceName String

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

virtualServiceName string

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

virtual_service_name str

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

virtualServiceName String

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

GatewayRouteSpecGrpcRouteMatch

ServiceName string

Fully qualified domain name for the service to match from the request.

ServiceName string

Fully qualified domain name for the service to match from the request.

serviceName String

Fully qualified domain name for the service to match from the request.

serviceName string

Fully qualified domain name for the service to match from the request.

service_name str

Fully qualified domain name for the service to match from the request.

serviceName String

Fully qualified domain name for the service to match from the request.

GatewayRouteSpecHttp2Route

Action GatewayRouteSpecHttp2RouteAction

Action to take if a match is determined.

Match GatewayRouteSpecHttp2RouteMatch

Criteria for determining a request match.

Action GatewayRouteSpecHttp2RouteAction

Action to take if a match is determined.

Match GatewayRouteSpecHttp2RouteMatch

Criteria for determining a request match.

action GatewayRouteSpecHttp2RouteAction

Action to take if a match is determined.

match GatewayRouteSpecHttp2RouteMatch

Criteria for determining a request match.

action GatewayRouteSpecHttp2RouteAction

Action to take if a match is determined.

match GatewayRouteSpecHttp2RouteMatch

Criteria for determining a request match.

action GatewayRouteSpecHttp2RouteAction

Action to take if a match is determined.

match GatewayRouteSpecHttp2RouteMatch

Criteria for determining a request match.

action Property Map

Action to take if a match is determined.

match Property Map

Criteria for determining a request match.

GatewayRouteSpecHttp2RouteAction

Target GatewayRouteSpecHttp2RouteActionTarget

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

Rewrite GatewayRouteSpecHttp2RouteActionRewrite

Gateway route action to rewrite.

Target GatewayRouteSpecHttp2RouteActionTarget

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

Rewrite GatewayRouteSpecHttp2RouteActionRewrite

Gateway route action to rewrite.

target GatewayRouteSpecHttp2RouteActionTarget

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

rewrite GatewayRouteSpecHttp2RouteActionRewrite

Gateway route action to rewrite.

target GatewayRouteSpecHttp2RouteActionTarget

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

rewrite GatewayRouteSpecHttp2RouteActionRewrite

Gateway route action to rewrite.

target GatewayRouteSpecHttp2RouteActionTarget

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

rewrite GatewayRouteSpecHttp2RouteActionRewrite

Gateway route action to rewrite.

target Property Map

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

rewrite Property Map

Gateway route action to rewrite.

GatewayRouteSpecHttp2RouteActionRewrite

hostname Property Map

Host name to rewrite.

prefix Property Map

Specified beginning characters to rewrite.

GatewayRouteSpecHttp2RouteActionRewriteHostname

DefaultTargetHostname string

Default target host name to write to. Valid values: ENABLED, DISABLED.

DefaultTargetHostname string

Default target host name to write to. Valid values: ENABLED, DISABLED.

defaultTargetHostname String

Default target host name to write to. Valid values: ENABLED, DISABLED.

defaultTargetHostname string

Default target host name to write to. Valid values: ENABLED, DISABLED.

default_target_hostname str

Default target host name to write to. Valid values: ENABLED, DISABLED.

defaultTargetHostname String

Default target host name to write to. Valid values: ENABLED, DISABLED.

GatewayRouteSpecHttp2RouteActionRewritePrefix

DefaultPrefix 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.

DefaultPrefix 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.

defaultPrefix 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.

defaultPrefix 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.

defaultPrefix 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

virtualService Property Map

Virtual service gateway route target.

GatewayRouteSpecHttp2RouteActionTargetVirtualService

VirtualServiceName string

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

VirtualServiceName string

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

virtualServiceName String

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

virtualServiceName string

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

virtual_service_name str

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

virtualServiceName String

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

GatewayRouteSpecHttp2RouteMatch

Hostname GatewayRouteSpecHttp2RouteMatchHostname

Host name to rewrite.

Prefix string

Specified beginning characters to rewrite.

Hostname GatewayRouteSpecHttp2RouteMatchHostname

Host name to rewrite.

Prefix string

Specified beginning characters to rewrite.

hostname GatewayRouteSpecHttp2RouteMatchHostname

Host name to rewrite.

prefix String

Specified beginning characters to rewrite.

hostname GatewayRouteSpecHttp2RouteMatchHostname

Host name to rewrite.

prefix string

Specified beginning characters to rewrite.

hostname GatewayRouteSpecHttp2RouteMatchHostname

Host name to rewrite.

prefix str

Specified beginning characters to rewrite.

hostname Property Map

Host name to rewrite.

prefix String

Specified beginning characters to rewrite.

GatewayRouteSpecHttp2RouteMatchHostname

Exact string

Exact host name to match on.

Suffix string

Specified ending characters of the host name to match on.

Exact string

Exact host name to match on.

Suffix string

Specified ending characters of the host name to match on.

exact String

Exact host name to match on.

suffix String

Specified ending characters of the host name to match on.

exact string

Exact host name to match on.

suffix string

Specified ending characters of the host name to match on.

exact str

Exact host name to match on.

suffix str

Specified ending characters of the host name to match on.

exact String

Exact host name to match on.

suffix String

Specified ending characters of the host name to match on.

GatewayRouteSpecHttpRoute

Action GatewayRouteSpecHttpRouteAction

Action to take if a match is determined.

Match GatewayRouteSpecHttpRouteMatch

Criteria for determining a request match.

Action GatewayRouteSpecHttpRouteAction

Action to take if a match is determined.

Match GatewayRouteSpecHttpRouteMatch

Criteria for determining a request match.

action GatewayRouteSpecHttpRouteAction

Action to take if a match is determined.

match GatewayRouteSpecHttpRouteMatch

Criteria for determining a request match.

action GatewayRouteSpecHttpRouteAction

Action to take if a match is determined.

match GatewayRouteSpecHttpRouteMatch

Criteria for determining a request match.

action GatewayRouteSpecHttpRouteAction

Action to take if a match is determined.

match GatewayRouteSpecHttpRouteMatch

Criteria for determining a request match.

action Property Map

Action to take if a match is determined.

match Property Map

Criteria for determining a request match.

GatewayRouteSpecHttpRouteAction

Target GatewayRouteSpecHttpRouteActionTarget

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

Rewrite GatewayRouteSpecHttpRouteActionRewrite

Gateway route action to rewrite.

Target GatewayRouteSpecHttpRouteActionTarget

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

Rewrite GatewayRouteSpecHttpRouteActionRewrite

Gateway route action to rewrite.

target GatewayRouteSpecHttpRouteActionTarget

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

rewrite GatewayRouteSpecHttpRouteActionRewrite

Gateway route action to rewrite.

target GatewayRouteSpecHttpRouteActionTarget

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

rewrite GatewayRouteSpecHttpRouteActionRewrite

Gateway route action to rewrite.

target GatewayRouteSpecHttpRouteActionTarget

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

rewrite GatewayRouteSpecHttpRouteActionRewrite

Gateway route action to rewrite.

target Property Map

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

rewrite Property Map

Gateway route action to rewrite.

GatewayRouteSpecHttpRouteActionRewrite

hostname Property Map

Host name to rewrite.

prefix Property Map

Specified beginning characters to rewrite.

GatewayRouteSpecHttpRouteActionRewriteHostname

DefaultTargetHostname string

Default target host name to write to. Valid values: ENABLED, DISABLED.

DefaultTargetHostname string

Default target host name to write to. Valid values: ENABLED, DISABLED.

defaultTargetHostname String

Default target host name to write to. Valid values: ENABLED, DISABLED.

defaultTargetHostname string

Default target host name to write to. Valid values: ENABLED, DISABLED.

default_target_hostname str

Default target host name to write to. Valid values: ENABLED, DISABLED.

defaultTargetHostname String

Default target host name to write to. Valid values: ENABLED, DISABLED.

GatewayRouteSpecHttpRouteActionRewritePrefix

DefaultPrefix 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.

DefaultPrefix 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.

defaultPrefix 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.

defaultPrefix 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.

defaultPrefix 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

virtualService Property Map

Virtual service gateway route target.

GatewayRouteSpecHttpRouteActionTargetVirtualService

VirtualServiceName string

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

VirtualServiceName string

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

virtualServiceName String

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

virtualServiceName string

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

virtual_service_name str

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

virtualServiceName String

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

GatewayRouteSpecHttpRouteMatch

Hostname GatewayRouteSpecHttpRouteMatchHostname

Host name to rewrite.

Prefix string

Specified beginning characters to rewrite.

Hostname GatewayRouteSpecHttpRouteMatchHostname

Host name to rewrite.

Prefix string

Specified beginning characters to rewrite.

hostname GatewayRouteSpecHttpRouteMatchHostname

Host name to rewrite.

prefix String

Specified beginning characters to rewrite.

hostname GatewayRouteSpecHttpRouteMatchHostname

Host name to rewrite.

prefix string

Specified beginning characters to rewrite.

hostname GatewayRouteSpecHttpRouteMatchHostname

Host name to rewrite.

prefix str

Specified beginning characters to rewrite.

hostname Property Map

Host name to rewrite.

prefix String

Specified beginning characters to rewrite.

GatewayRouteSpecHttpRouteMatchHostname

Exact string

Exact host name to match on.

Suffix string

Specified ending characters of the host name to match on.

Exact string

Exact host name to match on.

Suffix string

Specified ending characters of the host name to match on.

exact String

Exact host name to match on.

suffix String

Specified ending characters of the host name to match on.

exact string

Exact host name to match on.

suffix string

Specified ending characters of the host name to match on.

exact str

Exact host name to match on.

suffix str

Specified ending characters of the host name to match on.

exact String

Exact host name to match on.

suffix String

Specified ending characters of the host name to match on.

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

Package Details

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

This Pulumi package is based on the aws Terraform Provider.