/
CfnFunction_S3EventProperty.go
39 lines (36 loc) · 1.45 KB
/
CfnFunction_S3EventProperty.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
package awssam
// 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"
//
// s3EventProperty := &S3EventProperty{
// Bucket: jsii.String("bucket"),
// Events: jsii.String("events"),
//
// // the properties below are optional
// Filter: &S3NotificationFilterProperty{
// S3Key: &S3KeyFilterProperty{
// Rules: []interface{}{
// &S3KeyFilterRuleProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-s3event.html
//
type CfnFunction_S3EventProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-s3event.html#cfn-serverless-function-s3event-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-s3event.html#cfn-serverless-function-s3event-events
//
Events *string `field:"required" json:"events" yaml:"events"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-s3event.html#cfn-serverless-function-s3event-filter
//
Filter interface{} `field:"optional" json:"filter" yaml:"filter"`
}