-
Notifications
You must be signed in to change notification settings - Fork 17
/
awss3_InventoryObjectVersion.go
38 lines (34 loc) · 1.14 KB
/
awss3_InventoryObjectVersion.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
// Inventory version support.
//
// 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 InventoryObjectVersion string
const (
// Includes all versions of each object in the report.
InventoryObjectVersion_ALL InventoryObjectVersion = "ALL"
// Includes only the current version of each object in the report.
InventoryObjectVersion_CURRENT InventoryObjectVersion = "CURRENT"
)