-
Notifications
You must be signed in to change notification settings - Fork 17
/
awss3_InventoryFrequency.go
38 lines (34 loc) · 1.13 KB
/
awss3_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
37
package awss3
// All supported inventory frequencies.
//
// Example:
// // Example automatically generated from non-compiling source. May contain errors.
// 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"
)