Skip to main content

plan_execution_events

Creates, updates, deletes, gets or lists a plan_execution_events resource.

Overview​

Nameplan_execution_events
TypeResource
Idaws.arc_region_switch.plan_execution_events

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringThe description for an execution event.
errorstringErrors for an execution event.
event_idstringThe event ID for an execution event.
execution_block_typestringThe 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_idstringThe event ID of the previous execution event.
resourcesarrayThe resources for an execution event.
step_namestringThe step name for an execution event.
timestampstring (date-time)The timestamp for an execution event.
type_stringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_plan_execution_eventsselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

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
;