Interface CfnStorageLensGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLensGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:46.221Z")
@Stability(Stable)
public interface CfnStorageLensGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnStorageLensGroup.
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.*;
CfnStorageLensGroupProps cfnStorageLensGroupProps = CfnStorageLensGroupProps.builder()
.filter(FilterProperty.builder()
.and(AndProperty.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())
.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())
.or(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())
.build())
.name("name")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStorageLensGroupPropsstatic final classAn implementation forCfnStorageLensGroupProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilter
This property contains the criteria for the Storage Lens group data that is displayed.Returns union: either
IResolvableorCfnStorageLensGroup.FilterProperty- See Also:
-
getName
This property contains the Storage Lens group name.- See Also:
-
getTags
This property contains the AWS resource tags that you're adding to your Storage Lens group.This parameter is optional.
- See Also:
-
builder
- Returns:
- a
CfnStorageLensGroupProps.BuilderofCfnStorageLensGroupProps
-