HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/cloudformation/describe-stack-events.rst
**To describe stack events**

The following ``describe-stack-events`` example displays the 2 most recent events for the specified stack. ::

    aws cloudformation describe-stack-events \
        --stack-name my-stack \
        --max-items 2

    {
        "StackEvents": [
            {
                "StackId": "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/d0a825a0-e4cd-xmpl-b9fb-061c69e99204",
                "EventId": "4e1516d0-e4d6-xmpl-b94f-0a51958a168c",
                "StackName": "my-stack",
                "LogicalResourceId": "my-stack",
                "PhysicalResourceId": "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/d0a825a0-e4cd-xmpl-b9fb-061c69e99204",
                "ResourceType": "AWS::CloudFormation::Stack",
                "Timestamp": "2019-10-02T05:34:29.556Z",
                "ResourceStatus": "UPDATE_COMPLETE"
            },
            {
                "StackId": "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/d0a825a0-e4cd-xmpl-b9fb-061c69e99204",
                "EventId": "4dd3c810-e4d6-xmpl-bade-0aaf8b31ab7a",
                "StackName": "my-stack",
                "LogicalResourceId": "my-stack",
                "PhysicalResourceId": "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/d0a825a0-e4cd-xmpl-b9fb-061c69e99204",
                "ResourceType": "AWS::CloudFormation::Stack",
                "Timestamp": "2019-10-02T05:34:29.127Z",
                "ResourceStatus": "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"
            }
        ],
        "NextToken": "eyJOZXh0VG9XMPLiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ=="
    }