-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStorageLens_StorageLensConfigurationProperty.go
148 lines (145 loc) · 6.48 KB
/
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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),
// },
// StorageLensGroupLevel: &StorageLensGroupLevelProperty{
// StorageLensGroupSelectionCriteria: &StorageLensGroupSelectionCriteriaProperty{
// Exclude: []*string{
// jsii.String("exclude"),
// },
// Include: []*string{
// jsii.String("include"),
// },
// },
// },
// },
// 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"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html
//
type CfnStorageLens_StorageLensConfigurationProperty struct {
// This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-accountlevel
//
AccountLevel interface{} `field:"required" json:"accountLevel" yaml:"accountLevel"`
// This property contains the details of the ID of the S3 Storage Lens configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-id
//
Id *string `field:"required" json:"id" yaml:"id"`
// This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-isenabled
//
IsEnabled interface{} `field:"required" json:"isEnabled" yaml:"isEnabled"`
// This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-awsorg
//
AwsOrg interface{} `field:"optional" json:"awsOrg" yaml:"awsOrg"`
// This property contains the details of this S3 Storage Lens configuration's metrics export.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-dataexport
//
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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-exclude
//
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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-include
//
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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-storagelensarn
//
StorageLensArn *string `field:"optional" json:"storageLensArn" yaml:"storageLensArn"`
}