Skip to content

S3ConnectionConfig

Source code in docs_src/capo_assurance/types/s3_connection_config.py
class S3ConnectionConfig(TypedDict, closed=True):
    source_uri: "capo_assurance.types.source_uri.SourceUri"
    """<p>The S3 URI of the bucket or prefix, for example <code>s3://amzn-s3-demo-bucket/compliance/</code>. The bucket must be in the same AWS Region as the governance environment.</p>"""
    expected_bucket_owner: NotRequired[
        "capo_assurance.types.expected_bucket_owner.ExpectedBucketOwner"
    ]
    """<p>The ID of the AWS account that must own the bucket. Required for a bucket in another account. AWS Assurance sends this value with each request to the bucket, and the request fails if a different account owns the bucket.</p>"""

expected_bucket_owner instance-attribute

expected_bucket_owner: NotRequired[ExpectedBucketOwner]

The ID of the AWS account that must own the bucket. Required for a bucket in another account. AWS Assurance sends this value with each request to the bucket, and the request fails if a different account owns the bucket.

source_uri instance-attribute

source_uri: SourceUri

The S3 URI of the bucket or prefix, for example s3://amzn-s3-demo-bucket/compliance/. The bucket must be in the same AWS Region as the governance environment.