Class InventoryObjectVersion
Inventory version support.
Inheritance
System.Object
InventoryObjectVersion
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class InventoryObjectVersion : Enum
Syntax (vb)
Public NotInheritable Class InventoryObjectVersion
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var inventoryBucket = new Bucket(this, "InventoryBucket");
var dataBucket = new Bucket(this, "DataBucket", new BucketProps {
Inventories = new [] { new Inventory {
Frequency = InventoryFrequency.DAILY,
IncludeObjectVersions = InventoryObjectVersion.CURRENT,
Destination = new InventoryDestination {
Bucket = inventoryBucket
}
}, new Inventory {
Frequency = InventoryFrequency.WEEKLY,
IncludeObjectVersions = InventoryObjectVersion.ALL,
Destination = new InventoryDestination {
Bucket = inventoryBucket,
Prefix = "with-all-versions"
}
} }
});
Synopsis
Fields
ALL | Includes all versions of each object in the report. |
CURRENT | Includes only the current version of each object in the report. |
value__ |
Fields
ALL
Includes all versions of each object in the report.
public const InventoryObjectVersion ALL
Field Value
Type | Description |
---|---|
InventoryObjectVersion |
CURRENT
Includes only the current version of each object in the report.
public const InventoryObjectVersion CURRENT
Field Value
Type | Description |
---|---|
InventoryObjectVersion |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |