airflow.providers.amazon.aws.sensors.cloud_formation
¶
This module contains sensors for AWS CloudFormation.
Module Contents¶
Classes¶
Waits for a stack to be created successfully on AWS CloudFormation. |
|
Waits for a stack to be deleted successfully on AWS CloudFormation. |
- class airflow.providers.amazon.aws.sensors.cloud_formation.CloudFormationCreateStackSensor(*, stack_name, aws_conn_id='aws_default', region_name=None, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Waits for a stack to be created successfully on AWS CloudFormation.
See also
For more information on how to use this sensor, take a look at the guide: Wait on an AWS CloudFormation stack creation state
- Parameters
stack_name – The name of the stack to wait for (templated)
aws_conn_id – ID of the Airflow connection where credentials and extra configuration are stored
poke_interval – Time in seconds that the job should wait between each try
- class airflow.providers.amazon.aws.sensors.cloud_formation.CloudFormationDeleteStackSensor(*, stack_name, aws_conn_id='aws_default', region_name=None, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Waits for a stack to be deleted successfully on AWS CloudFormation.
See also
For more information on how to use this sensor, take a look at the guide: Wait on an AWS CloudFormation stack deletion state
- Parameters