Skip to content

CreateArchiveRequest

Source code in docs_src/capo_cloudwatch_events/types/create_archive_request.py
class CreateArchiveRequest(TypedDict, closed=True):
    archive_name: "capo_cloudwatch_events.types.archive_name.ArchiveName"
    """<p>The name for the archive to create.</p>"""
    event_source_arn: "capo_cloudwatch_events.types.arn.Arn"
    """<p>The ARN of the event bus that sends events to the archive.</p>"""
    description: NotRequired[
        "capo_cloudwatch_events.types.archive_description.ArchiveDescription"
    ]
    """<p>A description for the archive.</p>"""
    event_pattern: NotRequired[
        "capo_cloudwatch_events.types.event_pattern.EventPattern"
    ]
    """<p>An event pattern to use to filter events sent to the archive.</p>"""
    retention_days: NotRequired[
        "capo_cloudwatch_events.types.retention_days.RetentionDays"
    ]
    """<p>The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely</p>"""

archive_name instance-attribute

archive_name: ArchiveName

The name for the archive to create.

description instance-attribute

description: NotRequired[ArchiveDescription]

A description for the archive.

event_pattern instance-attribute

event_pattern: NotRequired[EventPattern]

An event pattern to use to filter events sent to the archive.

event_source_arn instance-attribute

event_source_arn: Arn

The ARN of the event bus that sends events to the archive.

retention_days instance-attribute

retention_days: NotRequired[RetentionDays]

The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely