# README
S3 Service
This service is github.com/aws/aws-sdk-go/service/s3.S3 proxy
To check all supported method run
endly -s="aws/s3"
To check method contract run endly -s="aws/s3" -a=methodName
endly -s="aws/s3" -a='listObjects'
On top of that service implements setupBucketNotification to configure bucket lambda, topic or queue notification.
Usage:
Lambda s3 notification
endly deploy.yaml authWith=aws-secrets.json
where:
setLambdaNotification:
action: aws/s3:setupBucketNotification
credentials: $awsCredentials
bucket: ${myBucket}
lambdaFunctionConfigurations:
- functionName: $functionName
id: ObjectCreatedEvents-${functionName}-${myBucket}
events:
- s3:ObjectCreated:*
filter:
prefix:
- folder1
suffix:
- .csv
Queue s3 notification
endly deploy.yaml authWith=aws-secrets.json
where:
setBucketQueueNotification:
action: aws/s3:setupBucketNotification
bucket: ${bucket}
queueConfigurations:
- queue: $queue
id: ObjectCreatedEvents
events:
- s3:ObjectCreated:*
Topic s3 notification
endly deploy.yaml authWith=aws-secrets.json
where:
setBucketTopicNotification:
action: aws/s3:setupBucketNotification
credentials: $awsCredentials
bucket: ${triggerBucket}
topicConfigurations:
- topic: $topic
id: ObjectCreatedEvents
events:
- s3:ObjectCreated:*
# Packages
No description provided by the author
# Constants
ServiceID aws s3 service id.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetupBucketNotificationInput setup permission for specified bucket.
No description provided by the author
No description provided by the author