airflow.providers.amazon.aws.sensors.ec2
¶
Module Contents¶
Classes¶
Poll the state of the AWS EC2 instance until the instance reaches the target state. |
- class airflow.providers.amazon.aws.sensors.ec2.EC2InstanceStateSensor(*, target_state, instance_id, aws_conn_id='aws_default', region_name=None, deferrable=conf.getboolean('operators', 'default_deferrable', fallback=False), **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Poll the state of the AWS EC2 instance until the instance reaches the target state.
See also
For more information on how to use this sensor, take a look at the guide: Wait on an Amazon EC2 instance state
- Parameters
- template_fields: collections.abc.Sequence[str] = ('target_state', 'instance_id', 'region_name')[source]¶