AWS::S3::StorageLensGroup And - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::S3::StorageLensGroup And

This resource is a logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.

Syntax

To declare this entity in your Amazon 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 a 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 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 contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).

Required: No

Type: MatchObjectAge

Update requires: No interruption

MatchObjectSize

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

Required: No

Type: MatchObjectSize

Update requires: No interruption