airflow.providers.amazon.aws.sensors.ec2¶
Classes¶
Poll the state of the AWS EC2 instance until the instance reaches the target state. |
Module Contents¶
- class airflow.providers.amazon.aws.sensors.ec2.EC2InstanceStateSensor(*, target_state, instance_id, deferrable=conf.getboolean('operators', 'default_deferrable', fallback=False), **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.sensors.base_aws.AwsBaseSensor
[airflow.providers.amazon.aws.hooks.ec2.EC2Hook
]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][source]¶