airflow.providers.amazon.aws.operators.eventbridge

Module Contents

Classes

EventBridgePutEventsOperator

Put Events onto Amazon EventBridge.

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.

Parameters
  • entries (list[dict]) – the list of events to be put onto EventBridge, each event is a dict (required)

  • endpoint_id (str | None) – the URL subdomain of the endpoint

  • aws_conn_id (str) – the AWS connection to use

  • region_name (str | None) – the region where events are to be sent

template_fields: Sequence[str] = ('entries', 'endpoint_id', 'aws_conn_id', 'region_name')[source]
hook()[source]

Create and return an EventBridgeHook.

execute(context)[source]

This is the main method to derive when creating an operator.

Context is the same dictionary used as when rendering jinja templates.

Refer to get_template_context for more context.

Was this entry helpful?