-
Notifications
You must be signed in to change notification settings - Fork 17
/
awss3_CfnStorageLensProps.go
101 lines (98 loc) · 3.03 KB
/
awss3_CfnStorageLensProps.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package awss3
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnStorageLens`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var sses3 interface{}
//
// cfnStorageLensProps := &cfnStorageLensProps{
// storageLensConfiguration: &storageLensConfigurationProperty{
// accountLevel: &accountLevelProperty{
// bucketLevel: &bucketLevelProperty{
// activityMetrics: &activityMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// prefixLevel: &prefixLevelProperty{
// storageMetrics: &prefixLevelStorageMetricsProperty{
// isEnabled: jsii.Boolean(false),
// selectionCriteria: &selectionCriteriaProperty{
// delimiter: jsii.String("delimiter"),
// maxDepth: jsii.Number(123),
// minStorageBytesPercentage: jsii.Number(123),
// },
// },
// },
// },
//
// // the properties below are optional
// activityMetrics: &activityMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// },
// id: jsii.String("id"),
// isEnabled: jsii.Boolean(false),
//
// // the properties below are optional
// awsOrg: &awsOrgProperty{
// arn: jsii.String("arn"),
// },
// dataExport: &dataExportProperty{
// cloudWatchMetrics: &cloudWatchMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// s3BucketDestination: &s3BucketDestinationProperty{
// accountId: jsii.String("accountId"),
// arn: jsii.String("arn"),
// format: jsii.String("format"),
// outputSchemaVersion: jsii.String("outputSchemaVersion"),
//
// // the properties below are optional
// encryption: &encryptionProperty{
// ssekms: &sSEKMSProperty{
// keyId: jsii.String("keyId"),
// },
// sses3: sses3,
// },
// prefix: jsii.String("prefix"),
// },
// },
// exclude: &bucketsAndRegionsProperty{
// buckets: []*string{
// jsii.String("buckets"),
// },
// regions: []*string{
// jsii.String("regions"),
// },
// },
// include: &bucketsAndRegionsProperty{
// buckets: []*string{
// jsii.String("buckets"),
// },
// regions: []*string{
// jsii.String("regions"),
// },
// },
// storageLensArn: jsii.String("storageLensArn"),
// },
//
// // the properties below are optional
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type CfnStorageLensProps struct {
// This resource contains the details Amazon S3 Storage Lens configuration.
StorageLensConfiguration interface{} `field:"required" json:"storageLensConfiguration" yaml:"storageLensConfiguration"`
// A set of tags (key–value pairs) to associate with the Storage Lens configuration.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}