Try AWS Native preview for resources not in the classic version.
aws.appmesh.GatewayRoute
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an AWS App Mesh gateway route resource.
Example Usage
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()
{
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/v6/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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- {[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
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.
- 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.
- 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.
- 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.
- 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
default_tags
configuration block.Please use
tags
instead.
- 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
default_tags
configuration block.Please use
tags
instead.
- 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
default_tags
configuration block.Please use
tags
instead.
- 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
default_tags
configuration block.Please use
tags
instead.
- 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
default_tags
configuration block.Please use
tags
instead.
- 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
default_tags
configuration block.Please use
tags
instead.
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.
- 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.
- 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
default_tags
configuration 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
default_tags
configuration block.Please use
tags
instead.- 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.
- 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
default_tags
configuration 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
default_tags
configuration block.Please use
tags
instead.- 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.
- 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
default_tags
configuration 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
default_tags
configuration block.Please use
tags
instead.- 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.
- 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
default_tags
configuration 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
default_tags
configuration block.Please use
tags
instead.- 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.
- 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
default_tags
configuration 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
default_tags
configuration block.Please use
tags
instead.- 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.
- 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
default_tags
configuration 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
default_tags
configuration block.Please use
tags
instead.- 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.
- Http2Route
Gateway
Route Spec Http2Route Specification of an HTTP/2 gateway route.
- Http
Route GatewayRoute Spec Http Route Specification of an HTTP gateway route.
- Priority int
Priority for the gateway route, between
0
and1000
.
- Grpc
Route GatewayRoute Spec Grpc Route Specification of a gRPC gateway route.
- Http2Route
Gateway
Route Spec Http2Route Specification of an HTTP/2 gateway route.
- Http
Route GatewayRoute Spec Http Route Specification of an HTTP gateway route.
- Priority int
Priority for the gateway route, between
0
and1000
.
- grpc
Route GatewayRoute Spec Grpc Route Specification of a gRPC gateway route.
- http2Route
Gateway
Route Spec Http2Route Specification of an HTTP/2 gateway route.
- http
Route GatewayRoute Spec Http Route Specification of an HTTP gateway route.
- priority Integer
Priority for the gateway route, between
0
and1000
.
- grpc
Route GatewayRoute Spec Grpc Route Specification of a gRPC gateway route.
- http2Route
Gateway
Route Spec Http2Route Specification of an HTTP/2 gateway route.
- http
Route GatewayRoute Spec Http Route Specification of an HTTP gateway route.
- priority number
Priority for the gateway route, between
0
and1000
.
- grpc_
route GatewayRoute Spec Grpc Route Specification of a gRPC gateway route.
- http2_
route GatewayRoute Spec Http2Route Specification of an HTTP/2 gateway route.
- http_
route GatewayRoute Spec Http Route Specification of an HTTP gateway route.
- priority int
Priority for the gateway route, between
0
and1000
.
- grpc
Route Property Map Specification of a gRPC gateway route.
- http2Route Property Map
Specification of an HTTP/2 gateway route.
- http
Route Property Map Specification of an HTTP gateway route.
- priority Number
Priority for the gateway route, between
0
and1000
.
GatewayRouteSpecGrpcRoute, GatewayRouteSpecGrpcRouteArgs
- Action
Gateway
Route Spec Grpc Route Action Action to take if a match is determined.
- Match
Gateway
Route Spec Grpc Route Match Criteria for determining a request match.
- Action
Gateway
Route Spec Grpc Route Action Action to take if a match is determined.
- Match
Gateway
Route Spec Grpc Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Grpc Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Grpc Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Grpc Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Grpc Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Grpc Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Grpc Route Match 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, GatewayRouteSpecGrpcRouteActionArgs
- Target
Gateway
Route Spec Grpc Route Action Target Target that traffic is routed to when a request matches the gateway route.
- Target
Gateway
Route Spec Grpc Route Action Target Target that traffic is routed to when a request matches the gateway route.
- target
Gateway
Route Spec Grpc Route Action Target Target that traffic is routed to when a request matches the gateway route.
- target
Gateway
Route Spec Grpc Route Action Target Target that traffic is routed to when a request matches the gateway route.
- target
Gateway
Route Spec Grpc Route Action Target 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, GatewayRouteSpecGrpcRouteActionTargetArgs
- Virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service Virtual service gateway route target.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service Virtual service gateway route target.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service Virtual service gateway route target.
- port Integer
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service GatewayRoute Spec Grpc Route Action Target Virtual Service Virtual service gateway route target.
- port number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual_
service GatewayRoute Spec Grpc Route Action Target Virtual Service Virtual service gateway route target.
- port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service Property Map Virtual service gateway route target.
- port Number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
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_ 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
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Service
Name string Fully qualified domain name for the service to match from the request.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- service
Name String Fully qualified domain name for the service to match from the request.
- port Integer
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- service
Name string Fully qualified domain name for the service to match from the request.
- port number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- service_
name str Fully qualified domain name for the service to match from the request.
- port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- service
Name String Fully qualified domain name for the service to match from the request.
- port Number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
GatewayRouteSpecHttp2Route, GatewayRouteSpecHttp2RouteArgs
- Action
Gateway
Route Spec Http2Route Action Action to take if a match is determined.
- Match
Gateway
Route Spec Http2Route Match Criteria for determining a request match.
- Action
Gateway
Route Spec Http2Route Action Action to take if a match is determined.
- Match
Gateway
Route Spec Http2Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Http2Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Http2Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Http2Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Http2Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Http2Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Http2Route Match 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, GatewayRouteSpecHttp2RouteActionArgs
- Target
Gateway
Route Spec Http2Route Action Target Target that traffic is routed to when a request matches the gateway route.
- Rewrite
Gateway
Route Spec Http2Route Action Rewrite Gateway route action to rewrite.
- Target
Gateway
Route Spec Http2Route Action Target Target that traffic is routed to when a request matches the gateway route.
- Rewrite
Gateway
Route Spec Http2Route Action Rewrite Gateway route action to rewrite.
- target
Gateway
Route Spec Http2Route Action Target Target that traffic is routed to when a request matches the gateway route.
- rewrite
Gateway
Route Spec Http2Route Action Rewrite Gateway route action to rewrite.
- target
Gateway
Route Spec Http2Route Action Target Target that traffic is routed to when a request matches the gateway route.
- rewrite
Gateway
Route Spec Http2Route Action Rewrite Gateway route action to rewrite.
- target
Gateway
Route Spec Http2Route Action Target Target that traffic is routed to when a request matches the gateway route.
- rewrite
Gateway
Route Spec Http2Route Action Rewrite 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, GatewayRouteSpecHttp2RouteActionRewriteArgs
- Hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http2Route Action Rewrite Path Exact path to rewrite.
- Prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix Specified beginning characters to rewrite.
- Hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http2Route Action Rewrite Path Exact path to rewrite.
- Prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname Host name to rewrite.
- path
Gateway
Route Spec Http2Route Action Rewrite Path Exact path to rewrite.
- prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname Host name to rewrite.
- path
Gateway
Route Spec Http2Route Action Rewrite Path Exact path to rewrite.
- prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname
Gateway
Route Spec Http2Route Action Rewrite Hostname Host name to rewrite.
- path
Gateway
Route Spec Http2Route Action Rewrite Path Exact path to rewrite.
- prefix
Gateway
Route Spec Http2Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname Property Map
Host name to rewrite.
- path Property Map
Exact path to rewrite.
- prefix Property Map
Specified beginning characters to rewrite.
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_ 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
The exact path to match on.
- Exact string
The exact path to match on.
- exact String
The exact path to match on.
- exact string
The exact path to match on.
- exact str
The exact path to match on.
- exact String
The exact path 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 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.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service Virtual service gateway route target.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service Virtual service gateway route target.
- port Integer
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service GatewayRoute Spec Http2Route Action Target Virtual Service Virtual service gateway route target.
- port number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual_
service GatewayRoute Spec Http2Route Action Target Virtual Service Virtual service gateway route target.
- port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service Property Map Virtual service gateway route target.
- port Number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
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_ 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.
- Hostname
Gateway
Route Spec Http2Route Match Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http2Route Match Path Exact path to rewrite.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Prefix string
Specified beginning characters to rewrite.
- Query
Parameters List<GatewayRoute Spec Http2Route Match Query Parameter> Client request query parameters to match on.
- Headers
[]Gateway
Route Spec Http2Route Match Header Client request headers to match on.
- Hostname
Gateway
Route Spec Http2Route Match Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http2Route Match Path Exact path to rewrite.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Prefix string
Specified beginning characters to rewrite.
- Query
Parameters []GatewayRoute Spec Http2Route Match Query Parameter Client request query parameters to match on.
- headers
List<Gateway
Route Spec Http2Route Match Header> Client request headers to match on.
- hostname
Gateway
Route Spec Http2Route Match Hostname Host name to rewrite.
- path
Gateway
Route Spec Http2Route Match Path Exact path to rewrite.
- port Integer
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix String
Specified beginning characters to rewrite.
- query
Parameters List<GatewayRoute Spec Http2Route Match Query Parameter> Client request query parameters to match on.
- headers
Gateway
Route Spec Http2Route Match Header[] Client request headers to match on.
- hostname
Gateway
Route Spec Http2Route Match Hostname Host name to rewrite.
- path
Gateway
Route Spec Http2Route Match Path Exact path to rewrite.
- port number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix string
Specified beginning characters to rewrite.
- query
Parameters GatewayRoute Spec Http2Route Match Query Parameter[] Client request query parameters to match on.
- headers
Sequence[Gateway
Route Spec Http2Route Match Header] Client request headers to match on.
- hostname
Gateway
Route Spec Http2Route Match Hostname Host name to rewrite.
- path
Gateway
Route Spec Http2Route Match Path Exact path to rewrite.
- port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix str
Specified beginning characters to rewrite.
- query_
parameters Sequence[GatewayRoute Spec Http2Route Match Query Parameter] Client request query parameters to match on.
- headers List<Property Map>
Client request headers to match on.
- hostname Property Map
Host name to rewrite.
- path Property Map
Exact path to rewrite.
- port Number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix String
Specified beginning characters to rewrite.
- query
Parameters List<Property Map> Client request query parameters to match on.
GatewayRouteSpecHttp2RouteMatchHeader, GatewayRouteSpecHttp2RouteMatchHeaderArgs
- Name string
Name for the HTTP header in the client request that will be matched on.
- Invert bool
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- Match
Gateway
Route Spec Http2Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- Name string
Name for the HTTP header in the client request that will be matched on.
- Invert bool
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- Match
Gateway
Route Spec Http2Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name String
Name for the HTTP header in the client request that will be matched on.
- invert Boolean
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match
Gateway
Route Spec Http2Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name string
Name for the HTTP header in the client request that will be matched on.
- invert boolean
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match
Gateway
Route Spec Http2Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name str
Name for the HTTP header in the client request that will be matched on.
- invert bool
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match
Gateway
Route Spec Http2Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name String
Name for the HTTP header in the client request that will be matched on.
- invert Boolean
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match Property Map
Method and value to match the header value sent with a request. Specify one match method.
GatewayRouteSpecHttp2RouteMatchHeaderMatch, GatewayRouteSpecHttp2RouteMatchHeaderMatchArgs
- Exact string
Value used to replace matched path.
- Prefix string
Specified beginning characters to rewrite.
- 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.
- Regex string
Header value sent by the client must include the specified characters.
- Suffix string
Header value sent by the client must end with the specified characters.
- Exact string
Value used to replace matched path.
- Prefix string
Specified beginning characters to rewrite.
- 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.
- Regex string
Header value sent by the client must include the specified characters.
- Suffix string
Header value sent by the client must end with the specified characters.
- exact String
Value used to replace matched path.
- prefix String
Specified beginning characters to rewrite.
- 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.
- regex String
Header value sent by the client must include the specified characters.
- suffix String
Header value sent by the client must end with the specified characters.
- exact string
Value used to replace matched path.
- prefix string
Specified beginning characters to rewrite.
- 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.
- regex string
Header value sent by the client must include the specified characters.
- suffix string
Header value sent by the client must end with the specified characters.
- exact str
Value used to replace matched path.
- prefix str
Specified beginning characters to rewrite.
- 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.
- regex str
Header value sent by the client must include the specified characters.
- suffix str
Header value sent by the client must end with the specified characters.
- exact String
Value used to replace matched path.
- prefix String
Specified beginning characters to rewrite.
- range Property Map
Object that specifies the range of numbers that the header value sent by the client must be included in.
- regex String
Header value sent by the client must include the specified characters.
- suffix String
Header value sent by the client must end with the specified characters.
GatewayRouteSpecHttp2RouteMatchHeaderMatchRange, GatewayRouteSpecHttp2RouteMatchHeaderMatchRangeArgs
GatewayRouteSpecHttp2RouteMatchHostname, GatewayRouteSpecHttp2RouteMatchHostnameArgs
GatewayRouteSpecHttp2RouteMatchPath, GatewayRouteSpecHttp2RouteMatchPathArgs
GatewayRouteSpecHttp2RouteMatchQueryParameter, GatewayRouteSpecHttp2RouteMatchQueryParameterArgs
- Name string
Name for the query parameter that will be matched on.
- Match
Gateway
Route Spec Http2Route Match Query Parameter Match The query parameter to match on.
- Name string
Name for the query parameter that will be matched on.
- Match
Gateway
Route Spec Http2Route Match Query Parameter Match The query parameter to match on.
- name String
Name for the query parameter that will be matched on.
- match
Gateway
Route Spec Http2Route Match Query Parameter Match The query parameter to match on.
- name string
Name for the query parameter that will be matched on.
- match
Gateway
Route Spec Http2Route Match Query Parameter Match The query parameter to match on.
- name str
Name for the query parameter that will be matched on.
- match
Gateway
Route Spec Http2Route Match Query Parameter Match The query parameter to match on.
- name String
Name for the query parameter that will be matched on.
- match Property Map
The query parameter to match on.
GatewayRouteSpecHttp2RouteMatchQueryParameterMatch, GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs
- Exact string
Value used to replace matched path.
- Exact string
Value used to replace matched path.
- exact String
Value used to replace matched path.
- exact string
Value used to replace matched path.
- exact str
Value used to replace matched path.
- exact String
Value used to replace matched path.
GatewayRouteSpecHttpRoute, GatewayRouteSpecHttpRouteArgs
- Action
Gateway
Route Spec Http Route Action Action to take if a match is determined.
- Match
Gateway
Route Spec Http Route Match Criteria for determining a request match.
- Action
Gateway
Route Spec Http Route Action Action to take if a match is determined.
- Match
Gateway
Route Spec Http Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Http Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Http Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Http Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Http Route Match Criteria for determining a request match.
- action
Gateway
Route Spec Http Route Action Action to take if a match is determined.
- match
Gateway
Route Spec Http Route Match 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, GatewayRouteSpecHttpRouteActionArgs
- Target
Gateway
Route Spec Http Route Action Target Target that traffic is routed to when a request matches the gateway route.
- Rewrite
Gateway
Route Spec Http Route Action Rewrite Gateway route action to rewrite.
- Target
Gateway
Route Spec Http Route Action Target Target that traffic is routed to when a request matches the gateway route.
- Rewrite
Gateway
Route Spec Http Route Action Rewrite Gateway route action to rewrite.
- target
Gateway
Route Spec Http Route Action Target Target that traffic is routed to when a request matches the gateway route.
- rewrite
Gateway
Route Spec Http Route Action Rewrite Gateway route action to rewrite.
- target
Gateway
Route Spec Http Route Action Target Target that traffic is routed to when a request matches the gateway route.
- rewrite
Gateway
Route Spec Http Route Action Rewrite Gateway route action to rewrite.
- target
Gateway
Route Spec Http Route Action Target Target that traffic is routed to when a request matches the gateway route.
- rewrite
Gateway
Route Spec Http Route Action Rewrite 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, GatewayRouteSpecHttpRouteActionRewriteArgs
- Hostname
Gateway
Route Spec Http Route Action Rewrite Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http Route Action Rewrite Path Exact path to rewrite.
- Prefix
Gateway
Route Spec Http Route Action Rewrite Prefix Specified beginning characters to rewrite.
- Hostname
Gateway
Route Spec Http Route Action Rewrite Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http Route Action Rewrite Path Exact path to rewrite.
- Prefix
Gateway
Route Spec Http Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname
Gateway
Route Spec Http Route Action Rewrite Hostname Host name to rewrite.
- path
Gateway
Route Spec Http Route Action Rewrite Path Exact path to rewrite.
- prefix
Gateway
Route Spec Http Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname
Gateway
Route Spec Http Route Action Rewrite Hostname Host name to rewrite.
- path
Gateway
Route Spec Http Route Action Rewrite Path Exact path to rewrite.
- prefix
Gateway
Route Spec Http Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname
Gateway
Route Spec Http Route Action Rewrite Hostname Host name to rewrite.
- path
Gateway
Route Spec Http Route Action Rewrite Path Exact path to rewrite.
- prefix
Gateway
Route Spec Http Route Action Rewrite Prefix Specified beginning characters to rewrite.
- hostname Property Map
Host name to rewrite.
- path Property Map
Exact path to rewrite.
- prefix Property Map
Specified beginning characters to rewrite.
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_ 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
The exact path to match on.
- Exact string
The exact path to match on.
- exact String
The exact path to match on.
- exact string
The exact path to match on.
- exact str
The exact path to match on.
- exact String
The exact path 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 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.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service Virtual service gateway route target.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service Virtual service gateway route target.
- port Integer
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service GatewayRoute Spec Http Route Action Target Virtual Service Virtual service gateway route target.
- port number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual_
service GatewayRoute Spec Http Route Action Target Virtual Service Virtual service gateway route target.
- port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- virtual
Service Property Map Virtual service gateway route target.
- port Number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
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_ 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.
- Hostname
Gateway
Route Spec Http Route Match Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http Route Match Path Exact path to rewrite.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Prefix string
Specified beginning characters to rewrite.
- Query
Parameters List<GatewayRoute Spec Http Route Match Query Parameter> Client request query parameters to match on.
- Headers
[]Gateway
Route Spec Http Route Match Header Client request headers to match on.
- Hostname
Gateway
Route Spec Http Route Match Hostname Host name to rewrite.
- Path
Gateway
Route Spec Http Route Match Path Exact path to rewrite.
- Port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- Prefix string
Specified beginning characters to rewrite.
- Query
Parameters []GatewayRoute Spec Http Route Match Query Parameter Client request query parameters to match on.
- headers
List<Gateway
Route Spec Http Route Match Header> Client request headers to match on.
- hostname
Gateway
Route Spec Http Route Match Hostname Host name to rewrite.
- path
Gateway
Route Spec Http Route Match Path Exact path to rewrite.
- port Integer
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix String
Specified beginning characters to rewrite.
- query
Parameters List<GatewayRoute Spec Http Route Match Query Parameter> Client request query parameters to match on.
- headers
Gateway
Route Spec Http Route Match Header[] Client request headers to match on.
- hostname
Gateway
Route Spec Http Route Match Hostname Host name to rewrite.
- path
Gateway
Route Spec Http Route Match Path Exact path to rewrite.
- port number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix string
Specified beginning characters to rewrite.
- query
Parameters GatewayRoute Spec Http Route Match Query Parameter[] Client request query parameters to match on.
- headers
Sequence[Gateway
Route Spec Http Route Match Header] Client request headers to match on.
- hostname
Gateway
Route Spec Http Route Match Hostname Host name to rewrite.
- path
Gateway
Route Spec Http Route Match Path Exact path to rewrite.
- port int
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix str
Specified beginning characters to rewrite.
- query_
parameters Sequence[GatewayRoute Spec Http Route Match Query Parameter] Client request query parameters to match on.
- headers List<Property Map>
Client request headers to match on.
- hostname Property Map
Host name to rewrite.
- path Property Map
Exact path to rewrite.
- port Number
The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
- prefix String
Specified beginning characters to rewrite.
- query
Parameters List<Property Map> Client request query parameters to match on.
GatewayRouteSpecHttpRouteMatchHeader, GatewayRouteSpecHttpRouteMatchHeaderArgs
- Name string
Name for the HTTP header in the client request that will be matched on.
- Invert bool
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- Match
Gateway
Route Spec Http Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- Name string
Name for the HTTP header in the client request that will be matched on.
- Invert bool
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- Match
Gateway
Route Spec Http Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name String
Name for the HTTP header in the client request that will be matched on.
- invert Boolean
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match
Gateway
Route Spec Http Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name string
Name for the HTTP header in the client request that will be matched on.
- invert boolean
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match
Gateway
Route Spec Http Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name str
Name for the HTTP header in the client request that will be matched on.
- invert bool
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match
Gateway
Route Spec Http Route Match Header Match Method and value to match the header value sent with a request. Specify one match method.
- name String
Name for the HTTP header in the client request that will be matched on.
- invert Boolean
If
true
, the match is on the opposite of thematch
method and value. Default isfalse
.- match Property Map
Method and value to match the header value sent with a request. Specify one match method.
GatewayRouteSpecHttpRouteMatchHeaderMatch, GatewayRouteSpecHttpRouteMatchHeaderMatchArgs
- Exact string
Value used to replace matched path.
- Prefix string
Specified beginning characters to rewrite.
- 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.
- Regex string
Header value sent by the client must include the specified characters.
- Suffix string
Header value sent by the client must end with the specified characters.
- Exact string
Value used to replace matched path.
- Prefix string
Specified beginning characters to rewrite.
- 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.
- Regex string
Header value sent by the client must include the specified characters.
- Suffix string
Header value sent by the client must end with the specified characters.
- exact String
Value used to replace matched path.
- prefix String
Specified beginning characters to rewrite.
- 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.
- regex String
Header value sent by the client must include the specified characters.
- suffix String
Header value sent by the client must end with the specified characters.
- exact string
Value used to replace matched path.
- prefix string
Specified beginning characters to rewrite.
- 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.
- regex string
Header value sent by the client must include the specified characters.
- suffix string
Header value sent by the client must end with the specified characters.
- exact str
Value used to replace matched path.
- prefix str
Specified beginning characters to rewrite.
- 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.
- regex str
Header value sent by the client must include the specified characters.
- suffix str
Header value sent by the client must end with the specified characters.
- exact String
Value used to replace matched path.
- prefix String
Specified beginning characters to rewrite.
- range Property Map
Object that specifies the range of numbers that the header value sent by the client must be included in.
- regex String
Header value sent by the client must include the specified characters.
- suffix String
Header value sent by the client must end with the specified characters.
GatewayRouteSpecHttpRouteMatchHeaderMatchRange, GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs
GatewayRouteSpecHttpRouteMatchHostname, GatewayRouteSpecHttpRouteMatchHostnameArgs
GatewayRouteSpecHttpRouteMatchPath, GatewayRouteSpecHttpRouteMatchPathArgs
GatewayRouteSpecHttpRouteMatchQueryParameter, GatewayRouteSpecHttpRouteMatchQueryParameterArgs
- Name string
Name for the query parameter that will be matched on.
- Match
Gateway
Route Spec Http Route Match Query Parameter Match The query parameter to match on.
- Name string
Name for the query parameter that will be matched on.
- Match
Gateway
Route Spec Http Route Match Query Parameter Match The query parameter to match on.
- name String
Name for the query parameter that will be matched on.
- match
Gateway
Route Spec Http Route Match Query Parameter Match The query parameter to match on.
- name string
Name for the query parameter that will be matched on.
- match
Gateway
Route Spec Http Route Match Query Parameter Match The query parameter to match on.
- name str
Name for the query parameter that will be matched on.
- match
Gateway
Route Spec Http Route Match Query Parameter Match The query parameter to match on.
- name String
Name for the query parameter that will be matched on.
- match Property Map
The query parameter to match on.
GatewayRouteSpecHttpRouteMatchQueryParameterMatch, GatewayRouteSpecHttpRouteMatchQueryParameterMatchArgs
- Exact string
Value used to replace matched path.
- Exact string
Value used to replace matched path.
- exact String
Value used to replace matched path.
- exact string
Value used to replace matched path.
- exact str
Value used to replace matched path.
- exact String
Value used to replace matched path.
Import
Using pulumi import
, import App Mesh gateway routes using mesh_name
and virtual_gateway_name
together with the gateway route’s name
. For example:
$ pulumi import aws:appmesh/gatewayRoute:GatewayRoute example mesh/gw1/example-gateway-route
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.