-
Notifications
You must be signed in to change notification settings - Fork 17
/
awss3_CfnStorageLens_StorageLensConfigurationProperty.go
120 lines (117 loc) · 4.57 KB
/
awss3_CfnStorageLens_StorageLensConfigurationProperty.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
package awss3
// This is the property of the Amazon S3 Storage Lens configuration.
//
// 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{}
//
// storageLensConfigurationProperty := &storageLensConfigurationProperty{
// accountLevel: &accountLevelProperty{
// bucketLevel: &bucketLevelProperty{
// activityMetrics: &activityMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// advancedCostOptimizationMetrics: &advancedCostOptimizationMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// advancedDataProtectionMetrics: &advancedDataProtectionMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// detailedStatusCodesMetrics: &detailedStatusCodesMetricsProperty{
// 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),
// },
// advancedCostOptimizationMetrics: &advancedCostOptimizationMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// advancedDataProtectionMetrics: &advancedDataProtectionMetricsProperty{
// isEnabled: jsii.Boolean(false),
// },
// detailedStatusCodesMetrics: &detailedStatusCodesMetricsProperty{
// 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"),
// }
//
type CfnStorageLens_StorageLensConfigurationProperty struct {
// This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
AccountLevel interface{} `field:"required" json:"accountLevel" yaml:"accountLevel"`
// This property contains the details of the ID of the S3 Storage Lens configuration.
Id *string `field:"required" json:"id" yaml:"id"`
// This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.
IsEnabled interface{} `field:"required" json:"isEnabled" yaml:"isEnabled"`
// This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
AwsOrg interface{} `field:"optional" json:"awsOrg" yaml:"awsOrg"`
// This property contains the details of this S3 Storage Lens configuration's metrics export.
DataExport interface{} `field:"optional" json:"dataExport" yaml:"dataExport"`
// This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
Exclude interface{} `field:"optional" json:"exclude" yaml:"exclude"`
// This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
Include interface{} `field:"optional" json:"include" yaml:"include"`
// This property contains the details of the ARN of the S3 Storage Lens configuration.
//
// This property is read-only.
StorageLensArn *string `field:"optional" json:"storageLensArn" yaml:"storageLensArn"`
}