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"
    """<p>A single AWS service source identifier, e.g. "aws.s3". Wildcards and lists are rejected.</p>"""
    pattern: NotRequired["capo_eventbridgev2.types.event_pattern.EventPattern"]
    """<p>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.</p>"""
    on_failure_configuration: NotRequired[
        "capo_eventbridgev2.types.on_failure_configuration.OnFailureConfiguration"
    ]
    """<p>The destination for events that could not be forwarded.</p>"""

aws_service instance-attribute

aws_service: AwsServiceSource

A single AWS service source identifier, e.g. "aws.s3". Wildcards and lists are rejected.

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.