AWS::S3::StorageLensGroup Or - AWS CloudFormation

AWS::S3::StorageLensGroup Or

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