list_commands - AWS OpsWorks

list_commands

Important

AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.

Lists the times for each activity that has been executed on this instance. You can use these times for other agent-CLI commands to specify a particular execution.

sudo opsworks-agent-cli list_commands [activity] [date]

The following output example is from an instance that has run configure, setup, and update custom cookbooks activities.

$ sudo opsworks-agent-cli list_commands 2015-11-24T21:00:28 update_custom_cookbooks 2015-12-01T18:19:09 setup 2015-12-01T18:20:24 configure