-
Notifications
You must be signed in to change notification settings - Fork 17
/
InventoryFrequency.go
37 lines (33 loc) · 1.04 KB
/
InventoryFrequency.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package awss3
// All supported inventory frequencies.
//
// Example:
// inventoryBucket := s3.NewBucket(this, jsii.String("InventoryBucket"))
//
// dataBucket := s3.NewBucket(this, jsii.String("DataBucket"), &BucketProps{
// Inventories: []inventory{
// &inventory{
// Frequency: s3.InventoryFrequency_DAILY,
// IncludeObjectVersions: s3.InventoryObjectVersion_CURRENT,
// Destination: &InventoryDestination{
// Bucket: inventoryBucket,
// },
// },
// &inventory{
// Frequency: s3.InventoryFrequency_WEEKLY,
// IncludeObjectVersions: s3.InventoryObjectVersion_ALL,
// Destination: &InventoryDestination{
// Bucket: inventoryBucket,
// Prefix: jsii.String("with-all-versions"),
// },
// },
// },
// })
//
type InventoryFrequency string
const (
// A report is generated every day.
InventoryFrequency_DAILY InventoryFrequency = "DAILY"
// A report is generated every Sunday (UTC timezone) after the initial report.
InventoryFrequency_WEEKLY InventoryFrequency = "WEEKLY"
)