airflow.providers.amazon.aws.operators.eventbridge
¶
Module Contents¶
Classes¶
Put Events onto Amazon EventBridge. |
|
Create or update a specified EventBridge rule. |
- class airflow.providers.amazon.aws.operators.eventbridge.EventBridgePutEventsOperator(*, entries, endpoint_id=None, aws_conn_id='aws_default', region_name=None, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
Put Events onto Amazon EventBridge.
See also
For more information on how to use this operator, take a look at the guide: Send events to Amazon EventBridge
- Parameters
- class airflow.providers.amazon.aws.operators.eventbridge.EventBridgePutRuleOperator(*, name, description=None, event_bus_name=None, event_pattern=None, role_arn=None, schedule_expression=None, state=None, tags=None, region_name=None, aws_conn_id='aws_default', **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
Create or update a specified EventBridge rule.
See also
For more information on how to use this operator, take a look at the guide: Create or update a rule on Amazon EventBridge
- Parameters
name (str) – name of the rule to create or update (required)
description (str | None) – description of the rule
event_bus_name (str | None) – name or ARN of the event bus to associate with this rule
event_pattern (str | None) – pattern of events to be matched to this rule
role_arn (str | None) – the Amazon Resource Name of the IAM role associated with the rule
schedule_expression (str | None) – the scheduling expression (for example, a cron or rate expression)
state (str | None) – indicates whether rule is set to be “ENABLED” or “DISABLED”
tags (list | None) – list of key-value pairs to associate with the rule
region – the region where rule is to be created or updated