CmdID

CmdID / aws / aws deploy

aws deploy get-deployment-instance

Gets information about an instance as part of a deployment. AWS CLI reference

1 example 2 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 get information about a deployment instance

The following get-deployment-instance example displays information about a deployment instance that is associated with the specified deployment.

aws deploy get-deployment-instance --deployment-id d-QA4G4F9EX --instance-id i-902e9fEXIdentify
--deployment-idThe unique ID of a deployment.
--instance-idThe unique ID of an instance in the deployment group.
Its output, shortened
{
    "instanceSummary": {
        "instanceId": "arn:aws:ec2:us-west-2:80398EXAMPLE:instance/i-902e9fEX",
        "lifecycleEvents": [
            {
                "status": "Succeeded",
                "endTime": 1408480726.569,
                "startTime": 1408480726.437,
                "lifecycleEventName": "ApplicationStop"
            },
            {
                "status": "Succeeded",
                "endTime": 1408480728.016,
                "startTime": 1408480727.665,
                "lifecycleEventName": "DownloadBundle"
            },
            {
                "status": "Succeeded",
                "endTime": 1408480729.744,
                "startTime": 1408480729.125,
                "lifecycleEventName": "BeforeInstall"
            },
            {
                "status": "Succeeded",
                "endTime": 1408480730.979,
                "startTime": 1408480730.844,
                "lifecycleEventName": "Install"
            },
            {
                "status": "Failed",
… 20 more lines

For more information, see View instance details with CodeDeploy in the AWS CodeDeploy User Guide.

Options

2 in the AWS CLI reference
--deployment-idThe unique ID of a deployment.
--instance-idThe unique ID of an instance in the deployment group.