CmdID

CmdID / aws / aws lightsail

aws lightsail get-instance-snapshot

Returns information about a specific instance snapshot. AWS CLI reference

1 example 1 option 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 get information about a specified instance snapshot

The following get-instance-snapshot example displays details about the specified instance snapshot.

aws lightsail get-instance-snapshot --instance-snapshot-name MEAN-1-1571419854Identify
--instance-snapshot-nameThe name of the snapshot for which you are requesting information.
Its output
{
    "instanceSnapshot": {
        "name": "MEAN-1-1571419854",
        "arn": "arn:aws:lightsail:us-west-2:123456789012:InstanceSnapshot/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "supportCode": "6EXAMPLE3362/ami-0EXAMPLE67a73020d",
        "createdAt": 1571419891.927,
        "location": {
            "availabilityZone": "all",
            "regionName": "us-west-2"
        },
        "resourceType": "InstanceSnapshot",
        "tags": [],
        "state": "available",
        "fromAttachedDisks": [],
        "fromInstanceName": "MEAN-1",
        "fromInstanceArn": "arn:aws:lightsail:us-west-2:123456789012:Instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
        "fromBlueprintId": "mean",
        "fromBundleId": "medium_3_0",
        "isFromAutoSnapshot": false,
        "sizeInGb": 80
    }
}

For more information, see Snapshots in Amazon Lightsail in the Amazon Lightsail User Guide.

Options

1 in the AWS CLI reference
--instance-snapshot-nameThe name of the snapshot for which you are requesting information.