EC2InstanceStateSensor

Amazon

Check the state of the AWS EC2 instance until state of the instance become equal to the target state.

View on GitHub

Last Updated: May. 7, 2021

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

target_stateRequiredstrtarget state of instance
instance_idRequiredstrid of the AWS EC2 instance
region_nameOptional[str](optional) aws region name associated with the client

Documentation

Check the state of the AWS EC2 instance until state of the instance become equal to the target state.

Was this page helpful?