S3StorageLifecycleRuleSchema
Index
Properties
Properties
expirationInDays
The number of days after an object was written that it expires and is deleted.
optionalprefix
The key prefix the rule is limited to, e.g. uploads/. Omit it to match the whole bucket.
optionaltags
The tags an object must carry, every one of them, for the rule to match it, e.g. { upload: 'pending' }.
Type declaration
[key string]: string
Defines the schema for a lifecycle rule of the s3 storage, which expires the objects it matches some days after each was written.
A rule matches the objects under its
prefixthat carry every one of itstags. With neither, it matches every object in the bucket.Resources/S3Storage