-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnBucket_S3KeyFilterProperty.go
32 lines (29 loc) · 1.29 KB
/
CfnBucket_S3KeyFilterProperty.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
package awss3
// A container for object key name prefix and suffix filtering rules.
//
// For more information about object key name filtering, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) in the *Amazon S3 User Guide* .
//
// > The same type of filter rule cannot be used more than once. For example, you cannot specify two prefix rules.
//
// 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"
//
// s3KeyFilterProperty := &S3KeyFilterProperty{
// Rules: []interface{}{
// &FilterRuleProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3keyfilter.html
//
type CfnBucket_S3KeyFilterProperty struct {
// A list of containers for the key-value pair that defines the criteria for the filter rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3keyfilter.html#cfn-s3-bucket-s3keyfilter-rules
//
Rules interface{} `field:"required" json:"rules" yaml:"rules"`
}