Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudtrailSNSEvent ¶
type CloudtrailSNSEvent struct { S3Bucket string `json:"s3Bucket,omitempty"` S3ObjectKeys []string `json:"s3ObjectKey,omitempty"` }
CloudtrailSNSEvent event provided in the default SNS topic when a new file is written to the s3 bucket
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor translates s3 events into sns messages
func NewProcessor ¶
func NewProcessor(cfg flags.S3Processor, awscfg *aws.Config) *Processor
NewProcessor setup a new s3 event processor
Click to show internal directories.
Click to hide internal directories.