plan_execution_events
Creates, updates, deletes, gets or lists a plan_execution_events resource.
Overview
| Name | plan_execution_events |
| Type | Resource |
| Id | aws.arc_region_switch.plan_execution_events |
Fields
The following fields are returned by SELECT queries:
- list_plan_execution_events
| Name | Datatype | Description |
|---|---|---|
description | string | The description for an execution event. |
error | string | Errors for an execution event. |
event_id | string | The event ID for an execution event. |
execution_block_type | string | The execution block type for an execution event. (CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase) |
previous_event_id | string | The event ID of the previous execution event. |
resources | array | The resources for an execution event. |
step_name | string | The step name for an execution event. |
timestamp | string (date-time) | The timestamp for an execution event. |
type_ | string | The type of an execution event. (unknown, executionPending, executionStarted, executionSucceeded, executionFailed, executionPausing, executionPaused, executionCanceling, executionCanceled, executionPendingApproval, executionBehaviorChangedToUngraceful, executionBehaviorChangedToGraceful, executionPendingChildPlanManualApproval, executionSuccessMonitoringApplicationHealth, stepStarted, stepUpdate, stepSucceeded, stepFailed, stepSkipped, stepPausedByError, stepPausedByOperator, stepCanceled, stepPendingApproval, stepExecutionBehaviorChangedToUngraceful, stepPendingApplicationHealthMonitor, planEvaluationWarning) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_plan_execution_events | select | region | Lists the events that occurred during a plan execution. These events provide a detailed timeline of the execution process. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_plan_execution_events
Lists the events that occurred during a plan execution. These events provide a detailed timeline of the execution process.
SELECT
description,
error,
event_id,
execution_block_type,
previous_event_id,
resources,
step_name,
timestamp,
type_
FROM aws.arc_region_switch.plan_execution_events
WHERE region = '{{ region }}' -- required
;