@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:41.698Z")
public interface InventoryDestination
Example:
Bucket inventoryBucket = new Bucket(this, "InventoryBucket"); Bucket dataBucket = Bucket.Builder.create(this, "DataBucket") .inventories(List.of(Inventory.builder() .frequency(InventoryFrequency.DAILY) .includeObjectVersions(InventoryObjectVersion.CURRENT) .destination(InventoryDestination.builder() .bucket(inventoryBucket) .build()) .build(), Inventory.builder() .frequency(InventoryFrequency.WEEKLY) .includeObjectVersions(InventoryObjectVersion.ALL) .destination(InventoryDestination.builder() .bucket(inventoryBucket) .prefix("with-all-versions") .build()) .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
InventoryDestination.Builder
A builder for
InventoryDestination |
static class |
InventoryDestination.Jsii$Proxy
An implementation for
InventoryDestination |
Modifier and Type | Method and Description |
---|---|
static InventoryDestination.Builder |
builder() |
IBucket |
getBucket()
Bucket where all inventories will be saved in.
|
default java.lang.String |
getBucketOwner()
The account ID that owns the destination S3 bucket.
|
default java.lang.String |
getPrefix()
The prefix to be used when saving the inventory.
|
IBucket getBucket()
default java.lang.String getBucketOwner()
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.
default java.lang.String getPrefix()
Default: - No prefix.
static InventoryDestination.Builder builder()
InventoryDestination.Builder
of InventoryDestination