Skip to content

StreamBucketConfig

Source code in docs_src/capo_opensearchserverless/types/stream_bucket_config.py
class StreamBucketConfig(TypedDict, closed=True):
    bucket: "capo_opensearchserverless.types.s3_bucket_name_or_arn.S3BucketNameOrArn"
    """<p>The name or Amazon Resource Name (ARN) of the Amazon S3 bucket to ingest data from.</p>"""
    bucket_owner_account_id: NotRequired[
        "capo_opensearchserverless.types.bucket_owner_account_id.BucketOwnerAccountId"
    ]
    """The AWS account ID that owns the S3 bucket. Optional. If omitted, the control plane derives it from the account segment of sqsArn."""
    initial_scan: NotRequired[
        "capo_opensearchserverless.types.initial_scan.InitialScan"
    ]
    """<p>Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If <code>DISABLED</code>, only new objects are ingested.</p>"""

bucket instance-attribute

The name or Amazon Resource Name (ARN) of the Amazon S3 bucket to ingest data from.

bucket_owner_account_id instance-attribute

bucket_owner_account_id: NotRequired[BucketOwnerAccountId]

The AWS account ID that owns the S3 bucket. Optional. If omitted, the control plane derives it from the account segment of sqsArn.

initial_scan instance-attribute

initial_scan: NotRequired[InitialScan]

Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If DISABLED, only new objects are ingested.