CmdID

CmdID / aws / aws appmesh

aws appmesh describe-virtual-service

Describes an existing virtual service. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To describe a virtual service

The following describe-virtual-service example returns details about the specified virtual service.

aws appmesh describe-virtual-service --mesh-name app1 --virtual-service-name serviceB.svc.cluster.localIdentify
--mesh-nameThe name of the service mesh that the virtual service resides in.
--virtual-service-nameThe name of the virtual service to describe.
Its output
{
    "virtualService": {
        "meshName": "app1",
        "metadata": {
            "arn": "arn:aws:appmesh:us-west-2:123456789012:mesh/app1/virtualService/serviceB.svc.cluster.local",
            "createdAt": 1563908363.999,
            "lastUpdatedAt": 1563908363.999,
            "uid": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "version": 1
        },
        "spec": {
            "provider": {
                "virtualRouter": {
                    "virtualRouterName": "vrServiceB"
                }
            }
        },
        "status": {
            "status": "ACTIVE"
        },
        "virtualServiceName": "serviceB.svc.cluster.local"
    }
}

For more information, see Virtual Services in the AWS App Mesh User Guide.

Options

3 in the AWS CLI reference
--mesh-nameThe name of the service mesh that the virtual service resides in.
--mesh-ownerThe Amazon Web Services IAM account ID of the service mesh owner.
--virtual-service-nameThe name of the virtual service to describe.