Route
Provides an AWS App Mesh route resource.
Example Usage
HTTP Routing
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
{
HttpRoute = new Aws.AppMesh.Inputs.RouteSpecHttpRouteArgs
{
Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
{
WeightedTarget =
{
{
{ "virtualNode", aws_appmesh_virtual_node.Serviceb1.Name },
{ "weight", 90 },
},
{
{ "virtualNode", aws_appmesh_virtual_node.Serviceb2.Name },
{ "weight", 10 },
},
},
},
Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchArgs
{
Prefix = "/",
},
},
},
VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.RouteSpecArgs{
HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
Action: &appmesh.RouteSpecHttpRouteActionArgs{
WeightedTarget: pulumi.MapArray{
pulumi.Map{
"virtualNode": pulumi.String(aws_appmesh_virtual_node.Serviceb1.Name),
"weight": pulumi.Float64(90),
},
pulumi.Map{
"virtualNode": pulumi.String(aws_appmesh_virtual_node.Serviceb2.Name),
"weight": pulumi.Float64(10),
},
},
},
Match: &appmesh.RouteSpecHttpRouteMatchArgs{
Prefix: pulumi.String("/"),
},
},
},
VirtualRouterName: pulumi.String(aws_appmesh_virtual_router.Serviceb.Name),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
serviceb = aws.appmesh.Route("serviceb",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"httpRoute": {
"action": {
"weightedTarget": [
{
"virtualNode": aws_appmesh_virtual_node["serviceb1"]["name"],
"weight": 90,
},
{
"virtualNode": aws_appmesh_virtual_node["serviceb2"]["name"],
"weight": 10,
},
],
},
"match": {
"prefix": "/",
},
},
},
virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const serviceb = new aws.appmesh.Route("serviceb", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
httpRoute: {
action: {
weightedTargets: [
{
virtualNode: aws_appmesh_virtual_node_serviceb1.name,
weight: 90,
},
{
virtualNode: aws_appmesh_virtual_node_serviceb2.name,
weight: 10,
},
],
},
match: {
prefix: "/",
},
},
},
virtualRouterName: aws_appmesh_virtual_router_serviceb.name,
});HTTP Header Routing
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
{
HttpRoute = new Aws.AppMesh.Inputs.RouteSpecHttpRouteArgs
{
Action = new Aws.AppMesh.Inputs.RouteSpecHttpRouteActionArgs
{
WeightedTarget =
{
{
{ "virtualNode", aws_appmesh_virtual_node.Serviceb.Name },
{ "weight", 100 },
},
},
},
Match = new Aws.AppMesh.Inputs.RouteSpecHttpRouteMatchArgs
{
Header =
{
{
{ "match",
{
{ "prefix", "123" },
} },
{ "name", "clientRequestId" },
},
},
Method = "POST",
Prefix = "/",
Scheme = "https",
},
},
},
VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.RouteSpecArgs{
HttpRoute: &appmesh.RouteSpecHttpRouteArgs{
Action: &appmesh.RouteSpecHttpRouteActionArgs{
WeightedTarget: pulumi.MapArray{
pulumi.Map{
"virtualNode": pulumi.String(aws_appmesh_virtual_node.Serviceb.Name),
"weight": pulumi.Float64(100),
},
},
},
Match: &appmesh.RouteSpecHttpRouteMatchArgs{
Header: pulumi.MapArray{
pulumi.Map{
"match": pulumi.StringMap{
"prefix": pulumi.String("123"),
},
"name": pulumi.String("clientRequestId"),
},
},
Method: pulumi.String("POST"),
Prefix: pulumi.String("/"),
Scheme: pulumi.String("https"),
},
},
},
VirtualRouterName: pulumi.String(aws_appmesh_virtual_router.Serviceb.Name),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
serviceb = aws.appmesh.Route("serviceb",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"httpRoute": {
"action": {
"weightedTarget": [{
"virtualNode": aws_appmesh_virtual_node["serviceb"]["name"],
"weight": 100,
}],
},
"match": {
"header": [{
"match": {
"prefix": "123",
},
"name": "clientRequestId",
}],
"method": "POST",
"prefix": "/",
"scheme": "https",
},
},
},
virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const serviceb = new aws.appmesh.Route("serviceb", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
httpRoute: {
action: {
weightedTargets: [{
virtualNode: aws_appmesh_virtual_node_serviceb.name,
weight: 100,
}],
},
match: {
headers: [{
match: {
prefix: "123",
},
name: "clientRequestId",
}],
method: "POST",
prefix: "/",
scheme: "https",
},
},
},
virtualRouterName: aws_appmesh_virtual_router_serviceb.name,
});TCP Routing
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var serviceb = new Aws.AppMesh.Route("serviceb", new Aws.AppMesh.RouteArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.RouteSpecArgs
{
TcpRoute = new Aws.AppMesh.Inputs.RouteSpecTcpRouteArgs
{
Action = new Aws.AppMesh.Inputs.RouteSpecTcpRouteActionArgs
{
WeightedTarget =
{
{
{ "virtualNode", aws_appmesh_virtual_node.Serviceb1.Name },
{ "weight", 100 },
},
},
},
},
},
VirtualRouterName = aws_appmesh_virtual_router.Serviceb.Name,
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewRoute(ctx, "serviceb", &appmesh.RouteArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.RouteSpecArgs{
TcpRoute: &appmesh.RouteSpecTcpRouteArgs{
Action: &appmesh.RouteSpecTcpRouteActionArgs{
WeightedTarget: pulumi.MapArray{
pulumi.Map{
"virtualNode": pulumi.String(aws_appmesh_virtual_node.Serviceb1.Name),
"weight": pulumi.Float64(100),
},
},
},
},
},
VirtualRouterName: pulumi.String(aws_appmesh_virtual_router.Serviceb.Name),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
serviceb = aws.appmesh.Route("serviceb",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"tcpRoute": {
"action": {
"weightedTarget": [{
"virtualNode": aws_appmesh_virtual_node["serviceb1"]["name"],
"weight": 100,
}],
},
},
},
virtual_router_name=aws_appmesh_virtual_router["serviceb"]["name"])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const serviceb = new aws.appmesh.Route("serviceb", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
tcpRoute: {
action: {
weightedTargets: [{
virtualNode: aws_appmesh_virtual_node_serviceb1.name,
weight: 100,
}],
},
},
},
virtualRouterName: aws_appmesh_virtual_router_serviceb.name,
});Create a Route Resource
new Route(name: string, args: RouteArgs, opts?: CustomResourceOptions);def Route(resource_name, opts=None, mesh_name=None, name=None, spec=None, tags=None, virtual_router_name=None, __props__=None);public Route(string name, RouteArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args RouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Route Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Route resource accepts the following input properties:
- Mesh
Name string The name of the service mesh in which to create the route.
- Spec
Route
Spec Args The route specification to apply.
- Virtual
Router stringName The name of the virtual router in which to create the route.
- Name string
The name to use for the route.
- Dictionary<string, string>
A map of tags to assign to the resource.
- Mesh
Name string The name of the service mesh in which to create the route.
- Spec
Route
Spec The route specification to apply.
- Virtual
Router stringName The name of the virtual router in which to create the route.
- Name string
The name to use for the route.
- map[string]string
A map of tags to assign to the resource.
- mesh
Name string The name of the service mesh in which to create the route.
- spec
Route
Spec The route specification to apply.
- virtual
Router stringName The name of the virtual router in which to create the route.
- name string
The name to use for the route.
- {[key: string]: string}
A map of tags to assign to the resource.
- mesh_
name str The name of the service mesh in which to create the route.
- spec
Dict[Route
Spec] The route specification to apply.
- virtual_
router_ strname The name of the virtual router in which to create the route.
- name str
The name to use for the route.
- Dict[str, str]
A map of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Route resource produces the following output properties:
- Arn string
The ARN of the route.
- Created
Date string The creation date of the route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate The last update date of the route.
- Arn string
The ARN of the route.
- Created
Date string The creation date of the route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate The last update date of the route.
- arn string
The ARN of the route.
- created
Date string The creation date of the route.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringDate The last update date of the route.
- arn str
The ARN of the route.
- created_
date str The creation date of the route.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strdate The last update date of the route.
Look up an Existing Route Resource
Get an existing Route resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RouteState, opts?: CustomResourceOptions): Routestatic get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, mesh_name=None, name=None, spec=None, tags=None, virtual_router_name=None, __props__=None);func GetRoute(ctx *Context, name string, id IDInput, state *RouteState, opts ...ResourceOption) (*Route, error)public static Route Get(string name, Input<string> id, RouteState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Arn string
The ARN of the route.
- Created
Date string The creation date of the route.
- Last
Updated stringDate The last update date of the route.
- Mesh
Name string The name of the service mesh in which to create the route.
- Name string
The name to use for the route.
- Spec
Route
Spec Args The route specification to apply.
- Dictionary<string, string>
A map of tags to assign to the resource.
- Virtual
Router stringName The name of the virtual router in which to create the route.
- Arn string
The ARN of the route.
- Created
Date string The creation date of the route.
- Last
Updated stringDate The last update date of the route.
- Mesh
Name string The name of the service mesh in which to create the route.
- Name string
The name to use for the route.
- Spec
Route
Spec The route specification to apply.
- map[string]string
A map of tags to assign to the resource.
- Virtual
Router stringName The name of the virtual router in which to create the route.
- arn string
The ARN of the route.
- created
Date string The creation date of the route.
- last
Updated stringDate The last update date of the route.
- mesh
Name string The name of the service mesh in which to create the route.
- name string
The name to use for the route.
- spec
Route
Spec The route specification to apply.
- {[key: string]: string}
A map of tags to assign to the resource.
- virtual
Router stringName The name of the virtual router in which to create the route.
- arn str
The ARN of the route.
- created_
date str The creation date of the route.
- last_
updated_ strdate The last update date of the route.
- mesh_
name str The name of the service mesh in which to create the route.
- name str
The name to use for the route.
- spec
Dict[Route
Spec] The route specification to apply.
- Dict[str, str]
A map of tags to assign to the resource.
- virtual_
router_ strname The name of the virtual router in which to create the route.
Supporting Types
RouteSpec
- Http
Route RouteSpec Http Route Args The HTTP routing information for the route.
- Priority int
The priority for the route, between
0and1000. Routes are matched based on the specified value, where0is the highest priority.- Tcp
Route RouteSpec Tcp Route Args The TCP routing information for the route.
- Http
Route RouteSpec Http Route The HTTP routing information for the route.
- Priority int
The priority for the route, between
0and1000. Routes are matched based on the specified value, where0is the highest priority.- Tcp
Route RouteSpec Tcp Route The TCP routing information for the route.
- http
Route RouteSpec Http Route The HTTP routing information for the route.
- priority number
The priority for the route, between
0and1000. Routes are matched based on the specified value, where0is the highest priority.- tcp
Route RouteSpec Tcp Route The TCP routing information for the route.
- http
Route Dict[RouteSpec Http Route] The HTTP routing information for the route.
- priority float
The priority for the route, between
0and1000. Routes are matched based on the specified value, where0is the highest priority.- tcp
Route Dict[RouteSpec Tcp Route] The TCP routing information for the route.
RouteSpecHttpRoute
- Action
Route
Spec Http Route Action Args The action to take if a match is determined.
- Match
Route
Spec Http Route Match Args The criteria for determining an HTTP request match.
- Action
Route
Spec Http Route Action The action to take if a match is determined.
- Match
Route
Spec Http Route Match The criteria for determining an HTTP request match.
- action
Route
Spec Http Route Action The action to take if a match is determined.
- match
Route
Spec Http Route Match The criteria for determining an HTTP request match.
- action
Dict[Route
Spec Http Route Action] The action to take if a match is determined.
- match
Dict[Route
Spec Http Route Match] The criteria for determining an HTTP request match.
RouteSpecHttpRouteAction
- Weighted
Targets List<RouteSpec Http Route Action Weighted Target Args> The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
- Weighted
Targets []RouteSpec Http Route Action Weighted Target The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
- weighted
Targets RouteSpec Http Route Action Weighted Target[] The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
- weighted
Targets List[RouteSpec Http Route Action Weighted Target] The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
RouteSpecHttpRouteActionWeightedTarget
- Virtual
Node string The virtual node to associate with the weighted target.
- Weight int
The relative weight of the weighted target. An integer between 0 and 100.
- Virtual
Node string The virtual node to associate with the weighted target.
- Weight int
The relative weight of the weighted target. An integer between 0 and 100.
- virtual
Node string The virtual node to associate with the weighted target.
- weight number
The relative weight of the weighted target. An integer between 0 and 100.
- virtual
Node str The virtual node to associate with the weighted target.
- weight float
The relative weight of the weighted target. An integer between 0 and 100.
RouteSpecHttpRouteMatch
- Prefix string
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- Headers
List<Route
Spec Http Route Match Header Args> The client request headers to match on.
- Method string
The client request header method to match on. Valid values:
GET,HEAD,POST,PUT,DELETE,CONNECT,OPTIONS,TRACE,PATCH.- Scheme string
The client request header scheme to match on. Valid values:
http,https.
- Prefix string
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- Headers
[]Route
Spec Http Route Match Header The client request headers to match on.
- Method string
The client request header method to match on. Valid values:
GET,HEAD,POST,PUT,DELETE,CONNECT,OPTIONS,TRACE,PATCH.- Scheme string
The client request header scheme to match on. Valid values:
http,https.
- prefix string
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- headers
Route
Spec Http Route Match Header[] The client request headers to match on.
- method string
The client request header method to match on. Valid values:
GET,HEAD,POST,PUT,DELETE,CONNECT,OPTIONS,TRACE,PATCH.- scheme string
The client request header scheme to match on. Valid values:
http,https.
- prefix str
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- headers
List[Route
Spec Http Route Match Header] The client request headers to match on.
- method str
The client request header method to match on. Valid values:
GET,HEAD,POST,PUT,DELETE,CONNECT,OPTIONS,TRACE,PATCH.- scheme str
The client request header scheme to match on. Valid values:
http,https.
RouteSpecHttpRouteMatchHeader
- Name string
A 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 thematchmethod and value. Default isfalse.- Match
Route
Spec Http Route Match Header Match Args The method and value to match the header value sent with a request. Specify one match method.
- Name string
A 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 thematchmethod and value. Default isfalse.- Match
Route
Spec Http Route Match Header Match The method and value to match the header value sent with a request. Specify one match method.
- name string
A 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 thematchmethod and value. Default isfalse.- match
Route
Spec Http Route Match Header Match The method and value to match the header value sent with a request. Specify one match method.
- name str
A 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 thematchmethod and value. Default isfalse.- match
Dict[Route
Spec Http Route Match Header Match] The method and value to match the header value sent with a request. Specify one match method.
RouteSpecHttpRouteMatchHeaderMatch
- Exact string
The header value sent by the client must match the specified value exactly.
- Prefix string
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- Range
Route
Spec Http Route Match Header Match Range Args The object that specifies the range of numbers that the header value sent by the client must be included in.
- Regex string
The header value sent by the client must include the specified characters.
- Suffix string
The header value sent by the client must end with the specified characters.
- Exact string
The header value sent by the client must match the specified value exactly.
- Prefix string
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- Range
Route
Spec Http Route Match Header Match Range The object that specifies the range of numbers that the header value sent by the client must be included in.
- Regex string
The header value sent by the client must include the specified characters.
- Suffix string
The header value sent by the client must end with the specified characters.
- exact string
The header value sent by the client must match the specified value exactly.
- prefix string
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- range
Route
Spec Http Route Match Header Match Range The object that specifies the range of numbers that the header value sent by the client must be included in.
- regex string
The header value sent by the client must include the specified characters.
- suffix string
The header value sent by the client must end with the specified characters.
- exact str
The header value sent by the client must match the specified value exactly.
- prefix str
Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name.
- range
Dict[Route
Spec Http Route Match Header Match Range] The object that specifies the range of numbers that the header value sent by the client must be included in.
- regex str
The header value sent by the client must include the specified characters.
- suffix str
The header value sent by the client must end with the specified characters.
RouteSpecHttpRouteMatchHeaderMatchRange
RouteSpecTcpRoute
- Action
Route
Spec Tcp Route Action Args The action to take if a match is determined.
- Action
Route
Spec Tcp Route Action The action to take if a match is determined.
- action
Route
Spec Tcp Route Action The action to take if a match is determined.
- action
Dict[Route
Spec Tcp Route Action] The action to take if a match is determined.
RouteSpecTcpRouteAction
- Weighted
Targets List<RouteSpec Tcp Route Action Weighted Target Args> The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
- Weighted
Targets []RouteSpec Tcp Route Action Weighted Target The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
- weighted
Targets RouteSpec Tcp Route Action Weighted Target[] The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
- weighted
Targets List[RouteSpec Tcp Route Action Weighted Target] The targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic.
RouteSpecTcpRouteActionWeightedTarget
- Virtual
Node string The virtual node to associate with the weighted target.
- Weight int
The relative weight of the weighted target. An integer between 0 and 100.
- Virtual
Node string The virtual node to associate with the weighted target.
- Weight int
The relative weight of the weighted target. An integer between 0 and 100.
- virtual
Node string The virtual node to associate with the weighted target.
- weight number
The relative weight of the weighted target. An integer between 0 and 100.
- virtual
Node str The virtual node to associate with the weighted target.
- weight float
The relative weight of the weighted target. An integer between 0 and 100.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.