Skip to content

Commit

Permalink
docs(s3): clarify objectSizeGreaterThan attribute for lifecycle rules (
Browse files Browse the repository at this point in the history
…aws#27990)

Docs: [cloudformation s3 bucket rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html).

Closes aws#27969.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
msambol authored Nov 14, 2023
1 parent ba11f36 commit b70e97b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/aws-cdk-lib/aws-s3/lib/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,15 @@ export interface LifecycleRule {

/**
* Specifies the maximum object size in bytes for this rule to apply to.
* Objects must be smaller than this value in bytes.
*
* @default - No rule
*/
readonly objectSizeLessThan?: number;

/** Specifies the minimum object size in bytes for this rule to apply to.
/**
* Specifies the minimum object size in bytes for this rule to apply to.
* Objects must be larger than this value in bytes.
*
* @default - No rule
*/
Expand Down

0 comments on commit b70e97b

Please sign in to comment.