Skip to content

AwsServiceEventsSourceConfiguration

Source code in docs_src/capo_eventbridgev2/types/aws_service_events_source_configuration.py
class AwsServiceEventsSourceConfiguration(TypedDict, closed=True):
    aws_service: "capo_eventbridgev2.types.aws_service_source.AwsServiceSource"
    pattern: NotRequired["capo_eventbridgev2.types.event_pattern.EventPattern"]
    """A filter pattern, as a JSON string, that defines which of the service's events are forwarded to the event bus. Do not include source, account, or region as top-level fields. If no pattern is specified, all events from the service are forwarded."""
    on_failure_configuration: NotRequired[
        "capo_eventbridgev2.types.on_failure_configuration.OnFailureConfiguration"
    ]
    """The destination for events that could not be forwarded."""

aws_service instance-attribute

aws_service: AwsServiceSource

on_failure_configuration instance-attribute

on_failure_configuration: NotRequired[OnFailureConfiguration]

The destination for events that could not be forwarded.

pattern instance-attribute

pattern: NotRequired[EventPattern]

A filter pattern, as a JSON string, that defines which of the service's events are forwarded to the event bus. Do not include source, account, or region as top-level fields. If no pattern is specified, all events from the service are forwarded.