InventoryDestination¶
-
class
aws_cdk.aws_s3.
InventoryDestination
(*, bucket, bucket_owner=None, prefix=None)¶ Bases:
object
The destination of the inventory.
- Parameters
bucket (
IBucket
) – Bucket where all inventories will be saved in.bucket_owner (
Optional
[str
]) – The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data. It’s recommended to set an account ID to prevent problems if the destination bucket ownership changes. Default: - No account ID.prefix (
Optional
[str
]) – The prefix to be used when saving the inventory. Default: - No prefix.
Attributes
-
bucket_owner
¶ The account ID that owns the destination S3 bucket.
If no account ID is provided, the owner is not validated before exporting data. It’s recommended to set an account ID to prevent problems if the destination bucket ownership changes.
- Default
No account ID.
- Return type
Optional
[str
]
-
prefix
¶ The prefix to be used when saving the inventory.
- Default
No prefix.
- Return type
Optional
[str
]