CmdID

CmdID / aws / aws appmesh

aws appmesh delete-virtual-node

Deletes an existing virtual node. 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 delete a virtual node

The following delete-virtual-node example deletes the specified virtual node.

aws appmesh delete-virtual-node --mesh-name app1 --virtual-node-name vnServiceBv2Identify
--mesh-nameThe name of the service mesh to delete the virtual node in.
--virtual-node-nameThe name of the virtual node to delete.
Its output, shortened
{
    "virtualNode": {
        "meshName": "app1",
        "metadata": {
            "arn": "arn:aws:appmesh:us-west-2:123456789012:mesh/app1/virtualNode/vnServiceBv2",
            "createdAt": 1563810117.297,
            "lastUpdatedAt": 1563824700.678,
            "uid": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "version": 2
        },
        "spec": {
            "backends": [],
            "listeners": [
                {
                    "portMapping": {
                        "port": 80,
                        "protocol": "http"
                    }
                }
            ],
            "serviceDiscovery": {
                "dns": {
                    "hostname": "serviceBv2.svc.cluster.local"
                }
            }
        },
        "status": {
            "status": "DELETED"
        },
        "virtualNodeName": "vnServiceBv2"
… 2 more lines

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

Options

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