We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d5b59d commit 3f6d3ffCopy full SHA for 3f6d3ff
resources/auctionsBucket.yml
@@ -2,6 +2,11 @@ AuctionsBucket:
2
Type: AWS::S3::Bucket
3
Properties:
4
BucketName: ${self:custom.AuctionsBucket.name}
5
+ LifecycleConfiguration:
6
+ Rules:
7
+ - Id: ExpirePictures
8
+ Status: Enabled
9
+ ExpirationInDays: 1
10
11
AuctionsBucketPolicy:
12
Type: AWS::S3::BucketPolicy
0 commit comments