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:
- MeshName string
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- Spec
VirtualService Spec 
- Virtual service specification to apply.
- MeshOwner string
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- Name string
- Name to use for the 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- MeshName string
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- Spec
VirtualService Spec Args 
- Virtual service specification to apply.
- MeshOwner string
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- Name string
- Name to use for the 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- meshName String
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- spec
VirtualService Spec 
- Virtual service specification to apply.
- meshOwner String
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- name String
- Name to use for the 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- meshName string
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- spec
VirtualService Spec 
- Virtual service specification to apply.
- meshOwner string
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- name string
- Name to use for the 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_tagsconfiguration 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
VirtualService 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- meshName String
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- spec Property Map
- Virtual service specification to apply.
- meshOwner String
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- name String
- Name to use for the 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_tagsconfiguration 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.
- CreatedDate string
- Creation date of the virtual service.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringDate 
- Last update date of the virtual service.
- ResourceOwner string
- Resource owner's AWS account ID.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- ARN of the virtual service.
- CreatedDate string
- Creation date of the virtual service.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringDate 
- Last update date of the virtual service.
- ResourceOwner string
- Resource owner's AWS account ID.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- ARN of the virtual service.
- createdDate String
- Creation date of the virtual service.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringDate 
- Last update date of the virtual service.
- resourceOwner String
- Resource owner's AWS account ID.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- ARN of the virtual service.
- createdDate string
- Creation date of the virtual service.
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdated stringDate 
- Last update date of the virtual service.
- resourceOwner string
- Resource owner's AWS account ID.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration 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_tagsconfiguration block.
- arn String
- ARN of the virtual service.
- createdDate String
- Creation date of the virtual service.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringDate 
- Last update date of the virtual service.
- resourceOwner String
- Resource owner's AWS account ID.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration 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) -> VirtualServicefunc 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)resources:  _:    type: aws:appmesh:VirtualService    get:      id: ${id}- 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.
- CreatedDate string
- Creation date of the virtual service.
- LastUpdated stringDate 
- Last update date of the virtual service.
- MeshName string
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- MeshOwner string
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- Name string
- Name to use for the virtual service. Must be between 1 and 255 characters in length.
- ResourceOwner string
- Resource owner's AWS account ID.
- Spec
VirtualService Spec 
- Virtual service specification to apply.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- Arn string
- ARN of the virtual service.
- CreatedDate string
- Creation date of the virtual service.
- LastUpdated stringDate 
- Last update date of the virtual service.
- MeshName string
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- MeshOwner string
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- Name string
- Name to use for the virtual service. Must be between 1 and 255 characters in length.
- ResourceOwner string
- Resource owner's AWS account ID.
- Spec
VirtualService Spec Args 
- Virtual service specification to apply.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- arn String
- ARN of the virtual service.
- createdDate String
- Creation date of the virtual service.
- lastUpdated StringDate 
- Last update date of the virtual service.
- meshName String
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- meshOwner String
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- name String
- Name to use for the virtual service. Must be between 1 and 255 characters in length.
- resourceOwner String
- Resource owner's AWS account ID.
- spec
VirtualService Spec 
- Virtual service specification to apply.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- arn string
- ARN of the virtual service.
- createdDate string
- Creation date of the virtual service.
- lastUpdated stringDate 
- Last update date of the virtual service.
- meshName string
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- meshOwner string
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- name string
- Name to use for the virtual service. Must be between 1 and 255 characters in length.
- resourceOwner string
- Resource owner's AWS account ID.
- spec
VirtualService Spec 
- Virtual service specification to apply.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration 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_tagsconfiguration 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
VirtualService Spec Args 
- Virtual service specification to apply.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- arn String
- ARN of the virtual service.
- createdDate String
- Creation date of the virtual service.
- lastUpdated StringDate 
- Last update date of the virtual service.
- meshName String
- Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length.
- meshOwner String
- AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
- name String
- Name to use for the virtual service. Must be between 1 and 255 characters in length.
- resourceOwner 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_tagsconfiguration 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_tagsconfiguration block.
Supporting Types
VirtualServiceSpec, VirtualServiceSpecArgs      
- Provider
VirtualService 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
VirtualService 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
VirtualService 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
VirtualService 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
VirtualService 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        
- VirtualNode VirtualService Spec Provider Virtual Node 
- Virtual node associated with a virtual service.
- VirtualRouter VirtualService Spec Provider Virtual Router 
- Virtual router associated with a virtual service.
- VirtualNode VirtualService Spec Provider Virtual Node 
- Virtual node associated with a virtual service.
- VirtualRouter VirtualService Spec Provider Virtual Router 
- Virtual router associated with a virtual service.
- virtualNode VirtualService Spec Provider Virtual Node 
- Virtual node associated with a virtual service.
- virtualRouter VirtualService Spec Provider Virtual Router 
- Virtual router associated with a virtual service.
- virtualNode VirtualService Spec Provider Virtual Node 
- Virtual node associated with a virtual service.
- virtualRouter 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.
- virtualNode Property Map
- Virtual node associated with a virtual service.
- virtualRouter Property Map
- Virtual router associated with a virtual service.
VirtualServiceSpecProviderVirtualNode, VirtualServiceSpecProviderVirtualNodeArgs            
- VirtualNode stringName 
- Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- VirtualNode stringName 
- Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtualNode StringName 
- Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtualNode 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.
- virtualNode StringName 
- Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
VirtualServiceSpecProviderVirtualRouter, VirtualServiceSpecProviderVirtualRouterArgs            
- VirtualRouter stringName 
- Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- VirtualRouter stringName 
- Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtualRouter StringName 
- Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length.
- virtualRouter 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.
- virtualRouter 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 awsTerraform Provider.