Documentation ¶
Index ¶
- func BootAws() *session.Session
- func CatPath(ctx context.Context, svc *s3.S3, bucket, path string) (map[string]string, error)
- func Do(ctx context.Context, i input) (err error)
- func ToString(ctx context.Context, downloader *s3manager.Downloader, bucket string, ...) (string, bool)
- func ToStringP(ctx context.Context, downloader *s3manager.Downloader, log *log.Logger, ...) string
- type Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { EventName string `json:"eventName"` EventTime time.Time `json:"eventTime"` S3Bucket string `json:"s3Bucket"` S3Key string `json:"s3Key"` ETag string `json:"eTag"` RuleID string `json:"ruleID"` RequestID string `json:"requestID"` PrincipalID string `json:"principalID"` SourceIPAddress string `json:"sourceIPAddress"` AwsRegion string `json:"awsRegion"` }
Event - S3 event that we pass around lambda function
Click to show internal directories.
Click to hide internal directories.