Skip to content

CreateEventSourceRequest

Source code in docs_src/capo_eventbridgev2/types/create_event_source_request.py
class CreateEventSourceRequest(TypedDict, closed=True):
    name: "capo_eventbridgev2.types.event_source_name.EventSourceName"
    """<p>EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;), mirroring EventBusName, so a name the ARN cannot represent cannot be created.</p>"""
    event_bus_arn: "capo_eventbridgev2.types.event_bus_arn.EventBusArn"
    """<p>The Amazon Resource Name (ARN) that uniquely identifies an event bus.</p>"""
    configuration: (
        "capo_eventbridgev2.types.event_source_configuration.EventSourceConfiguration"
    )
    """<p>Discriminated EventSource configuration. Exactly one variant must be set.</p>"""
    description: NotRequired["capo_eventbridgev2.types.description.Description"]
    """<p>Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.</p>"""
    tags: NotRequired["capo_eventbridgev2.types.tag_map.TagMap"]
    """<p>Tags attached to a resource, as key-value pairs.</p>"""
    client_token: NotRequired["capo_eventbridgev2.types.client_token.ClientToken"]
    """<p>Unique, case-sensitive identifier that ensures the idempotency of the request. The SDK generates one automatically when the field is omitted.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Unique, case-sensitive identifier that ensures the idempotency of the request. The SDK generates one automatically when the field is omitted.

configuration instance-attribute

configuration: EventSourceConfiguration

Discriminated EventSource configuration. Exactly one variant must be set.

description instance-attribute

description: NotRequired[Description]

Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.

event_bus_arn instance-attribute

event_bus_arn: EventBusArn

The Amazon Resource Name (ARN) that uniquely identifies an event bus.

name instance-attribute

EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.

tags instance-attribute

tags: NotRequired[TagMap]

Tags attached to a resource, as key-value pairs.