Documentation ¶
Index ¶
Constants ¶
View Source
const (
//ServiceID aws s3 service id.
ServiceID = "aws/s3"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LambdaFunctionConfiguration ¶
type LambdaFunctionConfiguration struct { s3.LambdaFunctionConfiguration `yaml:",inline" json:",¬inline"` Filter *NotificationFilter `yaml:"-"` lambda.SetupPermissionInput }
func (*LambdaFunctionConfiguration) Init ¶
func (i *LambdaFunctionConfiguration) Init() error
type NotificationConfiguration ¶
type NotificationConfiguration struct { QueueConfigurations []*QueueConfiguration `locationName:"QueueConfiguration" type:"list" flattened:"true"` TopicConfigurations []*TopicConfiguration `locationName:"TopicConfiguration" type:"list" flattened:"true"` LambdaFunctionConfigurations []*LambdaFunctionConfiguration `locationName:"LambdaFunctionConfigurations" type:"list" flattened:"true"` }
type NotificationFilter ¶
func (*NotificationFilter) ToNotificationConfigurationFilter ¶
func (f *NotificationFilter) ToNotificationConfigurationFilter() *s3.NotificationConfigurationFilter
type QueueConfiguration ¶
type QueueConfiguration struct { s3.QueueConfiguration Filter *NotificationFilter Queue string sqs.SetupPermissionInput }
type SetupBucketNotificationInput ¶
type SetupBucketNotificationInput struct { Bucket *string *NotificationConfiguration `json:",inline"` }
SetupBucketNotificationInput setup permission for specified bucket
func (*SetupBucketNotificationInput) Init ¶
func (i *SetupBucketNotificationInput) Init() error
func (*SetupBucketNotificationInput) Validate ¶
func (i *SetupBucketNotificationInput) Validate() error
type SetupBucketNotificationOutput ¶
type SetupBucketNotificationOutput struct { Bucket *string *s3.NotificationConfiguration `json:",inline"` LambdaPermissions []*lambda.SetupPermissionInput QueuePermissions []*sqs.SetupPermissionInput }
type TopicConfiguration ¶
type TopicConfiguration struct { s3.TopicConfiguration Filter *NotificationFilter sns.SetupPermissionInput Topic string }
Click to show internal directories.
Click to hide internal directories.