aws.appmesh.VirtualService
Explore with Pulumi AI
Provides an AWS App Mesh virtual service resource.
Example Usage
Virtual Node Provider
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const servicea = new aws.appmesh.VirtualService("servicea", {
name: "servicea.simpleapp.local",
meshName: simple.id,
spec: {
provider: {
virtualNode: {
virtualNodeName: serviceb1.name,
},
},
},
});
import pulumi
import pulumi_aws as aws
servicea = aws.appmesh.VirtualService("servicea",
name="servicea.simpleapp.local",
mesh_name=simple["id"],
spec={
"provider": {
"virtual_node": {
"virtual_node_name": serviceb1["name"],
},
},
})
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.NewVirtualService(ctx, "servicea", &appmesh.VirtualServiceArgs{
Name: pulumi.String("servicea.simpleapp.local"),
MeshName: pulumi.Any(simple.Id),
Spec: &appmesh.VirtualServiceSpecArgs{
Provider: &appmesh.VirtualServiceSpecProviderArgs{
VirtualNode: &appmesh.VirtualServiceSpecProviderVirtualNodeArgs{
VirtualNodeName: pulumi.Any(serviceb1.Name),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var servicea = new Aws.AppMesh.VirtualService("servicea", new()
{
Name = "servicea.simpleapp.local",
MeshName = simple.Id,
Spec = new Aws.AppMesh.Inputs.VirtualServiceSpecArgs
{
Provider = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderArgs
{
VirtualNode = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderVirtualNodeArgs
{
VirtualNodeName = serviceb1.Name,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.VirtualService;
import com.pulumi.aws.appmesh.VirtualServiceArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderVirtualNodeArgs;
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 servicea = new VirtualService("servicea", VirtualServiceArgs.builder()
.name("servicea.simpleapp.local")
.meshName(simple.id())
.spec(VirtualServiceSpecArgs.builder()
.provider(VirtualServiceSpecProviderArgs.builder()
.virtualNode(VirtualServiceSpecProviderVirtualNodeArgs.builder()
.virtualNodeName(serviceb1.name())
.build())
.build())
.build())
.build());
}
}
resources:
servicea:
type: aws:appmesh:VirtualService
properties:
name: servicea.simpleapp.local
meshName: ${simple.id}
spec:
provider:
virtualNode:
virtualNodeName: ${serviceb1.name}
Virtual Router Provider
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const servicea = new aws.appmesh.VirtualService("servicea", {
name: "servicea.simpleapp.local",
meshName: simple.id,
spec: {
provider: {
virtualRouter: {
virtualRouterName: serviceb.name,
},
},
},
});
import pulumi
import pulumi_aws as aws
servicea = aws.appmesh.VirtualService("servicea",
name="servicea.simpleapp.local",
mesh_name=simple["id"],
spec={
"provider": {
"virtual_router": {
"virtual_router_name": serviceb["name"],
},
},
})
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.NewVirtualService(ctx, "servicea", &appmesh.VirtualServiceArgs{
Name: pulumi.String("servicea.simpleapp.local"),
MeshName: pulumi.Any(simple.Id),
Spec: &appmesh.VirtualServiceSpecArgs{
Provider: &appmesh.VirtualServiceSpecProviderArgs{
VirtualRouter: &appmesh.VirtualServiceSpecProviderVirtualRouterArgs{
VirtualRouterName: pulumi.Any(serviceb.Name),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var servicea = new Aws.AppMesh.VirtualService("servicea", new()
{
Name = "servicea.simpleapp.local",
MeshName = simple.Id,
Spec = new Aws.AppMesh.Inputs.VirtualServiceSpecArgs
{
Provider = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderArgs
{
VirtualRouter = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderVirtualRouterArgs
{
VirtualRouterName = serviceb.Name,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.VirtualService;
import com.pulumi.aws.appmesh.VirtualServiceArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderVirtualRouterArgs;
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 servicea = new VirtualService("servicea", VirtualServiceArgs.builder()
.name("servicea.simpleapp.local")
.meshName(simple.id())
.spec(VirtualServiceSpecArgs.builder()
.provider(VirtualServiceSpecProviderArgs.builder()
.virtualRouter(VirtualServiceSpecProviderVirtualRouterArgs.builder()
.virtualRouterName(serviceb.name())
.build())
.build())
.build())
.build());
}
}
resources:
servicea:
type: aws:appmesh:VirtualService
properties:
name: servicea.simpleapp.local
meshName: ${simple.id}
spec:
provider:
virtualRouter:
virtualRouterName: ${serviceb.name}
Create VirtualService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualService(name: string, args: VirtualServiceArgs, opts?: CustomResourceOptions);
@overload
def VirtualService(resource_name: str,
args: VirtualServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualService(resource_name: str,
opts: Optional[ResourceOptions] = None,
mesh_name: Optional[str] = None,
spec: Optional[VirtualServiceSpecArgs] = None,
mesh_owner: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewVirtualService(ctx *Context, name string, args VirtualServiceArgs, opts ...ResourceOption) (*VirtualService, error)
public VirtualService(string name, VirtualServiceArgs args, CustomResourceOptions? opts = null)
public VirtualService(String name, VirtualServiceArgs args)
public VirtualService(String name, VirtualServiceArgs args, CustomResourceOptions options)
type: aws:appmesh:VirtualService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VirtualServiceArgs
- 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 VirtualServiceArgs
- 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 VirtualServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var virtualServiceResource = new Aws.AppMesh.VirtualService("virtualServiceResource", new()
{
MeshName = "string",
Spec = new Aws.AppMesh.Inputs.VirtualServiceSpecArgs
{
Provider = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderArgs
{
VirtualNode = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderVirtualNodeArgs
{
VirtualNodeName = "string",
},
VirtualRouter = new Aws.AppMesh.Inputs.VirtualServiceSpecProviderVirtualRouterArgs
{
VirtualRouterName = "string",
},
},
},
MeshOwner = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := appmesh.NewVirtualService(ctx, "virtualServiceResource", &appmesh.VirtualServiceArgs{
MeshName: pulumi.String("string"),
Spec: &appmesh.VirtualServiceSpecArgs{
Provider: &appmesh.VirtualServiceSpecProviderArgs{
VirtualNode: &appmesh.VirtualServiceSpecProviderVirtualNodeArgs{
VirtualNodeName: pulumi.String("string"),
},
VirtualRouter: &appmesh.VirtualServiceSpecProviderVirtualRouterArgs{
VirtualRouterName: pulumi.String("string"),
},
},
},
MeshOwner: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var virtualServiceResource = new VirtualService("virtualServiceResource", VirtualServiceArgs.builder()
.meshName("string")
.spec(VirtualServiceSpecArgs.builder()
.provider(VirtualServiceSpecProviderArgs.builder()
.virtualNode(VirtualServiceSpecProviderVirtualNodeArgs.builder()
.virtualNodeName("string")
.build())
.virtualRouter(VirtualServiceSpecProviderVirtualRouterArgs.builder()
.virtualRouterName("string")
.build())
.build())
.build())
.meshOwner("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
virtual_service_resource = aws.appmesh.VirtualService("virtualServiceResource",
mesh_name="string",
spec={
"provider": {
"virtual_node": {
"virtual_node_name": "string",
},
"virtual_router": {
"virtual_router_name": "string",
},
},
},
mesh_owner="string",
name="string",
tags={
"string": "string",
})
const virtualServiceResource = new aws.appmesh.VirtualService("virtualServiceResource", {
meshName: "string",
spec: {
provider: {
virtualNode: {
virtualNodeName: "string",
},
virtualRouter: {
virtualRouterName: "string",
},
},
},
meshOwner: "string",
name: "string",
tags: {
string: "string",
},
});
type: aws:appmesh:VirtualService
properties:
meshName: string
meshOwner: string
name: string
spec:
provider:
virtualNode:
virtualNodeName: string
virtualRouter:
virtualRouterName: string
tags:
string: string
VirtualService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualService resource accepts the following input properties:
- Mesh
Name string - Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- Spec
Virtual
Service Spec - Virtual service specification to apply.
- 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 virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- Spec
Virtual
Service Spec Args - Virtual service specification to apply.
- 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 virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- spec
Virtual
Service Spec - Virtual service specification to apply.
- 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 virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- spec
Virtual
Service Spec - Virtual service specification to apply.
- 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 virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- spec
Virtual
Service Spec Args - Virtual service specification to apply.
- 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 virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- spec Property Map
- Virtual service specification to apply.
- 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 virtual service. 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 VirtualService resource produces the following output properties:
- Arn string
- ARN of the virtual service.
- Created
Date string - Creation date of the virtual service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Last update date of the virtual service.
- 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.
- Arn string
- ARN of the virtual service.
- Created
Date string - Creation date of the virtual service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Last update date of the virtual service.
- 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.
- arn String
- ARN of the virtual service.
- created
Date String - Creation date of the virtual service.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - Last update date of the virtual service.
- 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.
- arn string
- ARN of the virtual service.
- created
Date string - Creation date of the virtual service.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringDate - Last update date of the virtual service.
- 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.
- arn str
- ARN of the virtual service.
- created_
date str - Creation date of the virtual service.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strdate - Last update date of the virtual service.
- 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.
- arn String
- ARN of the virtual service.
- created
Date String - Creation date of the virtual service.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - Last update date of the virtual service.
- 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.
Look up Existing VirtualService Resource
Get an existing VirtualService 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?: VirtualServiceState, opts?: CustomResourceOptions): VirtualService
@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[VirtualServiceSpecArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> VirtualService
func GetVirtualService(ctx *Context, name string, id IDInput, state *VirtualServiceState, opts ...ResourceOption) (*VirtualService, error)
public static VirtualService Get(string name, Input<string> id, VirtualServiceState? state, CustomResourceOptions? opts = null)
public static VirtualService get(String name, Output<String> id, VirtualServiceState 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 virtual service.
- Created
Date string - Creation date of the virtual service.
- Last
Updated stringDate - Last update date of the virtual service.
- Mesh
Name string - Name of the service mesh in which to create the virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- Resource
Owner string - Resource owner's AWS account ID.
- Spec
Virtual
Service Spec - Virtual service 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.
- Arn string
- ARN of the virtual service.
- Created
Date string - Creation date of the virtual service.
- Last
Updated stringDate - Last update date of the virtual service.
- Mesh
Name string - Name of the service mesh in which to create the virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- Resource
Owner string - Resource owner's AWS account ID.
- Spec
Virtual
Service Spec Args - Virtual service 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.
- arn String
- ARN of the virtual service.
- created
Date String - Creation date of the virtual service.
- last
Updated StringDate - Last update date of the virtual service.
- mesh
Name String - Name of the service mesh in which to create the virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- resource
Owner String - Resource owner's AWS account ID.
- spec
Virtual
Service Spec - Virtual service 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.
- arn string
- ARN of the virtual service.
- created
Date string - Creation date of the virtual service.
- last
Updated stringDate - Last update date of the virtual service.
- mesh
Name string - Name of the service mesh in which to create the virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- resource
Owner string - Resource owner's AWS account ID.
- spec
Virtual
Service Spec - Virtual service 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.
- arn str
- ARN of the virtual service.
- created_
date str - Creation date of the virtual service.
- last_
updated_ strdate - Last update date of the virtual service.
- mesh_
name str - Name of the service mesh in which to create the virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- resource_
owner str - Resource owner's AWS account ID.
- spec
Virtual
Service Spec Args - Virtual service 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.
- arn String
- ARN of the virtual service.
- created
Date String - Creation date of the virtual service.
- last
Updated StringDate - Last update date of the virtual service.
- mesh
Name String - Name of the service mesh in which to create the virtual service. 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 virtual service. Must be between 1 and 255 characters in length.
- resource
Owner String - Resource owner's AWS account ID.
- spec Property Map
- Virtual service 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.
Supporting Types
VirtualServiceSpec, VirtualServiceSpecArgs
- Provider
Virtual
Service Spec Provider - App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
- Provider
Virtual
Service Spec Provider - App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
- provider
Virtual
Service Spec Provider - App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
- provider
Virtual
Service Spec Provider - App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
- provider
Virtual
Service Spec Provider - App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
- provider Property Map
- App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
VirtualServiceSpecProvider, VirtualServiceSpecProviderArgs
- Virtual
Node VirtualService Spec Provider Virtual Node - Virtual node associated with a virtual service.
- Virtual
Router VirtualService Spec Provider Virtual Router - Virtual router associated with a virtual service.
- Virtual
Node VirtualService Spec Provider Virtual Node - Virtual node associated with a virtual service.
- Virtual
Router VirtualService Spec Provider Virtual Router - Virtual router associated with a virtual service.
- virtual
Node VirtualService Spec Provider Virtual Node - Virtual node associated with a virtual service.
- virtual
Router VirtualService Spec Provider Virtual Router - Virtual router associated with a virtual service.
- virtual
Node VirtualService Spec Provider Virtual Node - Virtual node associated with a virtual service.
- virtual
Router VirtualService Spec Provider Virtual Router - Virtual router associated with a virtual service.
- virtual_
node VirtualService Spec Provider Virtual Node - Virtual node associated with a virtual service.
- virtual_
router VirtualService Spec Provider Virtual Router - Virtual router associated with a virtual service.
- virtual
Node Property Map - Virtual node associated with a virtual service.
- virtual
Router Property Map - Virtual router associated with a virtual service.
VirtualServiceSpecProviderVirtualNode, VirtualServiceSpecProviderVirtualNodeArgs
- Virtual
Node stringName - Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- Virtual
Node stringName - Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual
Node StringName - Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual
Node stringName - Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual_
node_ strname - Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual
Node StringName - Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
VirtualServiceSpecProviderVirtualRouter, VirtualServiceSpecProviderVirtualRouterArgs
- Virtual
Router stringName - Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- Virtual
Router stringName - Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual
Router StringName - Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual
Router stringName - Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual_
router_ strname - Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtual
Router StringName - Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
Import
Using pulumi import
, import App Mesh virtual services using mesh_name
together with the virtual service’s name
. For example:
$ pulumi import aws:appmesh/virtualService:VirtualService servicea simpleapp/servicea.simpleapp.local
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.