Skip to main content

lifecycle_object_sizes

Macro lifecycle_object_sizes 

Source
lifecycle_object_sizes!() { /* proc-macro */ }
Expand description

Creates a validated S3LifecycleObjectSizes wrapper for S3 lifecycle rule object size constraints at compile time.

This macro defines minimum and maximum object sizes for S3 lifecycle transitions, allowing lifecycle rules to apply only to objects within a specific size range.

ยงValidation Rules

  • Both minimum and maximum sizes are optional
  • If both are provided, the minimum must be smaller than the maximum
  • Values are specified in bytes