trigger on all object create events

This commit is contained in:
neil 2022-10-27 14:34:14 +08:00
parent 68ebb773e5
commit b6d1eb25ed

View file

@ -8,7 +8,7 @@ export default {
s3: {
bucket: '${ssm:AW5_S3_BUCKET}',
existing: true,
event: 's3:ObjectCreated:Post',
event: 's3:ObjectCreated:*',
rules: [
{
suffix: '.gz'
@ -20,7 +20,7 @@ export default {
s3: {
bucket: '${ssm:AW5_S3_BUCKET}',
existing: true,
event: 's3:ObjectCreated:Post',
event: 's3:ObjectCreated:*',
rules: [
{
suffix: '.xz'