aws ssm describe-automation-executions
Provides details about all active and terminated Automation executions. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To describe an automation execution
The following describe-automation-executions example displays details about an Automation execution.
aws ssm describe-automation-executions --filters Key=ExecutionId,Values=a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--filtersFilters used to limit the scope of executions that are requested.Its output
{
"AutomationExecutionMetadataList": [
{
"AutomationExecutionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"DocumentName": "AWS-StartEC2Instance",
"DocumentVersion": "1",
"AutomationExecutionStatus": "Success",
"ExecutionStartTime": 1583737233.748,
"ExecutionEndTime": 1583737234.719,
"ExecutedBy": "arn:aws:sts::29884EXAMPLE:assumed-role/mw_service_role/OrchestrationService",
"LogFile": "",
"Outputs": {},
"Mode": "Auto",
"Targets": [],
"ResolvedTargets": {
"ParameterValues": [],
"Truncated": false
},
"AutomationType": "Local"
}
]
}For more information, see Running a Simple Automation Workflow in the AWS Systems Manager User Guide.
Options
--filtersFilters used to limit the scope of executions that are requested.--max-resultsThe maximum number of items to return for this call.--next-tokenThe token for the next set of items to return.