Class InventoryFrequency
All supported inventory frequencies.
Inheritance
System.Object
InventoryFrequency
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class InventoryFrequency : Enum
Syntax (vb)
Public NotInheritable Class InventoryFrequency
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
DAILY | A report is generated every day. |
value__ | |
WEEKLY | A report is generated every Sunday (UTC timezone) after the initial report. |
Fields
DAILY
A report is generated every day.
public const InventoryFrequency DAILY
Field Value
Type | Description |
---|---|
InventoryFrequency |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
WEEKLY
A report is generated every Sunday (UTC timezone) after the initial report.
public const InventoryFrequency WEEKLY
Field Value
Type | Description |
---|---|
InventoryFrequency |