-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStorageLens_AccountLevelProperty.go
90 lines (87 loc) · 4.58 KB
/
CfnStorageLens_AccountLevelProperty.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
package awss3
// This resource contains the details of the account-level metrics for Amazon S3 Storage Lens.
//
// 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"
//
// accountLevelProperty := &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),
// },
// StorageLensGroupLevel: &StorageLensGroupLevelProperty{
// StorageLensGroupSelectionCriteria: &StorageLensGroupSelectionCriteriaProperty{
// Exclude: []*string{
// jsii.String("exclude"),
// },
// Include: []*string{
// jsii.String("include"),
// },
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html
//
type CfnStorageLens_AccountLevelProperty struct {
// This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-bucketlevel
//
BucketLevel interface{} `field:"required" json:"bucketLevel" yaml:"bucketLevel"`
// This property contains the details of account-level activity metrics for S3 Storage Lens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-activitymetrics
//
ActivityMetrics interface{} `field:"optional" json:"activityMetrics" yaml:"activityMetrics"`
// This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-advancedcostoptimizationmetrics
//
AdvancedCostOptimizationMetrics interface{} `field:"optional" json:"advancedCostOptimizationMetrics" yaml:"advancedCostOptimizationMetrics"`
// This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-advanceddataprotectionmetrics
//
AdvancedDataProtectionMetrics interface{} `field:"optional" json:"advancedDataProtectionMetrics" yaml:"advancedDataProtectionMetrics"`
// This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-detailedstatuscodesmetrics
//
DetailedStatusCodesMetrics interface{} `field:"optional" json:"detailedStatusCodesMetrics" yaml:"detailedStatusCodesMetrics"`
// This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-storagelensgrouplevel
//
StorageLensGroupLevel interface{} `field:"optional" json:"storageLensGroupLevel" yaml:"storageLensGroupLevel"`
}