Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::S3::StorageLensGroup Or

Focus mode
AWS::S3::StorageLensGroup Or - AWS CloudFormation
Filter View

This resource contains the Or logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects can match any of the listed filter conditions that are joined by the Or logical operator. Only one of each filter condition is allowed.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "MatchAnyPrefix" : [ String, ... ], "MatchAnySuffix" : [ String, ... ], "MatchAnyTag" : [ Tag, ... ], "MatchObjectAge" : MatchObjectAge, "MatchObjectSize" : MatchObjectSize }

Properties

MatchAnyPrefix

This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.

Required: No

Type: Array of String

Maximum: 1024

Update requires: No interruption

MatchAnySuffix

This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.

Required: No

Type: Array of String

Maximum: 1024

Update requires: No interruption

MatchAnyTag

This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.

Required: No

Type: Array of Tag

Update requires: No interruption

MatchObjectAge

This property filters objects that match the specified object age range.

Required: No

Type: MatchObjectAge

Update requires: No interruption

MatchObjectSize

This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).

Required: No

Type: MatchObjectSize

Update requires: No interruption

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.