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 AWS CloudFormation template, use the following syntax:
JSON
{ "MatchAnyPrefix" :
[ String, ... ]
, "MatchAnySuffix" :[ String, ... ]
, "MatchAnyTag" :[ Tag, ... ]
, "MatchObjectAge" :MatchObjectAge
, "MatchObjectSize" :MatchObjectSize
}
YAML
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
andDaysLessThan
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
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).Required: No
Type: MatchObjectSize
Update requires: No interruption