-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStorageLensProps.go
125 lines (122 loc) · 4.18 KB
/
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
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),
// },
// 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"),
// },
//
// // the properties below are optional
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html
//
type CfnStorageLensProps struct {
// This resource contains the details Amazon S3 Storage Lens configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html#cfn-s3-storagelens-storagelensconfiguration
//
StorageLensConfiguration interface{} `field:"required" json:"storageLensConfiguration" yaml:"storageLensConfiguration"`
// A set of tags (key–value pairs) to associate with the Storage Lens configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html#cfn-s3-storagelens-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}