@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.813Z") @Stability(value=Stable) public interface InventoryDestination extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
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 String |
getBucketOwner()
The account ID that owns the destination S3 bucket.
|
default String |
getPrefix()
The prefix to be used when saving the inventory.
|
@Stability(value=Stable) @NotNull IBucket getBucket()
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default String getPrefix()
Default: - No prefix.
@Stability(value=Stable) static InventoryDestination.Builder builder()
InventoryDestination.Builder of InventoryDestinationCopyright © 2022. All rights reserved.