Skip to content

ReportsInS3Configuration

Source code in docs_src/capo_backup/types/reports_in_s3_configuration.py
class ReportsInS3Configuration(TypedDict, closed=True):
    bucket_name: "capo_backup.types.s3_bucket_name.S3BucketName"
    """<p>The name of the Amazon S3 bucket that receives the reports.</p> <p>The name must be between 3 and 63 characters and can contain only lowercase letters, numbers, periods (.), and hyphens (-).</p>"""
    key_prefix: NotRequired["capo_backup.types.s3_key_prefix.S3KeyPrefix"]
    """<p>The prefix that Backup adds to the object key of each report. If not specified, there is no prefix.</p> <p>The prefix can be up to 200 characters and can contain letters, numbers, and the characters ! - _ . * ' ( ) /.</p>"""
    expected_bucket_owner: "capo_backup.types.account_id.AccountId"
    """<p>The 12-digit account ID of the owner of the Amazon S3 bucket. The account must be your own account or an account in the same organization in Amazon Web Services Organizations. If the bucket is owned by a different account, Backup doesn't deliver the report.</p>"""
    resource_types: "capo_backup.types.resource_types.ResourceTypes"
    """<p>The resource types to deliver file-level error reports for. Specify at least one resource type, and specify each resource type only once. Each resource type must support file-level error reports.</p> <p>To get the resource types available in your account, use the <code>GetSupportedResourceTypes</code> API.</p>"""

bucket_name instance-attribute

bucket_name: S3BucketName

The name of the Amazon S3 bucket that receives the reports.

The name must be between 3 and 63 characters and can contain only lowercase letters, numbers, periods (.), and hyphens (-).

expected_bucket_owner instance-attribute

expected_bucket_owner: AccountId

The 12-digit account ID of the owner of the Amazon S3 bucket. The account must be your own account or an account in the same organization in Amazon Web Services Organizations. If the bucket is owned by a different account, Backup doesn't deliver the report.

key_prefix instance-attribute

key_prefix: NotRequired[S3KeyPrefix]

The prefix that Backup adds to the object key of each report. If not specified, there is no prefix.

The prefix can be up to 200 characters and can contain letters, numbers, and the characters ! - _ . * ' ( ) /.

resource_types instance-attribute

resource_types: ResourceTypes

The resource types to deliver file-level error reports for. Specify at least one resource type, and specify each resource type only once. Each resource type must support file-level error reports.

To get the resource types available in your account, use the GetSupportedResourceTypes API.