CmdID / aws / aws appmesh
aws appmesh describe-virtual-node
Describes an existing virtual node. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To describe a virtual node
The following describe-virtual-node example returns details about the specified virtual node.
aws appmesh describe-virtual-node --mesh-name app1 --virtual-node-name vnServiceBv1Identify--mesh-nameThe name of the service mesh that the virtual node resides in.--virtual-node-nameThe name of the virtual node to describe.Its output, shortened
{
"virtualNode": {
"meshName": "app1",
"metadata": {
"arn": "arn:aws:appmesh:us-west-2:123456789012:mesh/app1/virtualNode/vnServiceBv1",
"createdAt": 1563810019.874,
"lastUpdatedAt": 1563810019.874,
"uid": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"version": 1
},
"spec": {
"backends": [],
"listeners": [
{
"portMapping": {
"port": 80,
"protocol": "http"
}
}
],
"serviceDiscovery": {
"dns": {
"hostname": "serviceBv1.svc.cluster.local"
}
}
},
"status": {
"status": "ACTIVE"
},
"virtualNodeName": "vnServiceBv1"
… 2 more linesFor more information, see Virtual Nodes in the AWS App Mesh User Guide.
Options
--mesh-nameThe name of the service mesh that the virtual node resides in.--mesh-ownerThe Amazon Web Services IAM account ID of the service mesh owner.--virtual-node-nameThe name of the virtual node to describe.