-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStorageLensGroupProps.go
110 lines (107 loc) · 3.5 KB
/
CfnStorageLensGroupProps.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
package awss3
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnStorageLensGroup`.
//
// 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"
//
// cfnStorageLensGroupProps := &CfnStorageLensGroupProps{
// Filter: &FilterProperty{
// And: &AndProperty{
// MatchAnyPrefix: []*string{
// jsii.String("matchAnyPrefix"),
// },
// MatchAnySuffix: []*string{
// jsii.String("matchAnySuffix"),
// },
// MatchAnyTag: []interface{}{
// &CfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// MatchObjectAge: &MatchObjectAgeProperty{
// DaysGreaterThan: jsii.Number(123),
// DaysLessThan: jsii.Number(123),
// },
// MatchObjectSize: &MatchObjectSizeProperty{
// BytesGreaterThan: jsii.Number(123),
// BytesLessThan: jsii.Number(123),
// },
// },
// MatchAnyPrefix: []*string{
// jsii.String("matchAnyPrefix"),
// },
// MatchAnySuffix: []*string{
// jsii.String("matchAnySuffix"),
// },
// MatchAnyTag: []interface{}{
// &CfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// MatchObjectAge: &MatchObjectAgeProperty{
// DaysGreaterThan: jsii.Number(123),
// DaysLessThan: jsii.Number(123),
// },
// MatchObjectSize: &MatchObjectSizeProperty{
// BytesGreaterThan: jsii.Number(123),
// BytesLessThan: jsii.Number(123),
// },
// Or: &OrProperty{
// MatchAnyPrefix: []*string{
// jsii.String("matchAnyPrefix"),
// },
// MatchAnySuffix: []*string{
// jsii.String("matchAnySuffix"),
// },
// MatchAnyTag: []interface{}{
// &CfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// MatchObjectAge: &MatchObjectAgeProperty{
// DaysGreaterThan: jsii.Number(123),
// DaysLessThan: jsii.Number(123),
// },
// MatchObjectSize: &MatchObjectSizeProperty{
// BytesGreaterThan: jsii.Number(123),
// BytesLessThan: jsii.Number(123),
// },
// },
// },
// Name: jsii.String("name"),
//
// // 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-storagelensgroup.html
//
type CfnStorageLensGroupProps struct {
// This property contains the criteria for the Storage Lens group data that is displayed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html#cfn-s3-storagelensgroup-filter
//
Filter interface{} `field:"required" json:"filter" yaml:"filter"`
// This property contains the Storage Lens group name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html#cfn-s3-storagelensgroup-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// This property contains the AWS resource tags that you're adding to your Storage Lens group.
//
// This parameter is optional.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html#cfn-s3-storagelensgroup-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}