Interface CfnStorageLensGroup.OrProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStorageLensGroup.OrProperty.Jsii$Proxy
Enclosing class:
CfnStorageLensGroup

@Stability(Stable) public static interface CfnStorageLensGroup.OrProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 OrProperty orProperty = OrProperty.builder()
         .matchAnyPrefix(List.of("matchAnyPrefix"))
         .matchAnySuffix(List.of("matchAnySuffix"))
         .matchAnyTag(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .matchObjectAge(MatchObjectAgeProperty.builder()
                 .daysGreaterThan(123)
                 .daysLessThan(123)
                 .build())
         .matchObjectSize(MatchObjectSizeProperty.builder()
                 .bytesGreaterThan(123)
                 .bytesLessThan(123)
                 .build())
         .build();
 

See Also: