CfnStorageLensGroupProps Struct
Properties for defining a CfnStorageLensGroup.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const cfnStorageLensGroupProps: s3.CfnStorageLensGroupProps = {
filter: {
and: {
matchAnyPrefix: ['matchAnyPrefix'],
matchAnySuffix: ['matchAnySuffix'],
matchAnyTag: [{
key: 'key',
value: 'value',
}],
matchObjectAge: {
daysGreaterThan: 123,
daysLessThan: 123,
},
matchObjectSize: {
bytesGreaterThan: 123,
bytesLessThan: 123,
},
},
matchAnyPrefix: ['matchAnyPrefix'],
matchAnySuffix: ['matchAnySuffix'],
matchAnyTag: [{
key: 'key',
value: 'value',
}],
matchObjectAge: {
daysGreaterThan: 123,
daysLessThan: 123,
},
matchObjectSize: {
bytesGreaterThan: 123,
bytesLessThan: 123,
},
or: {
matchAnyPrefix: ['matchAnyPrefix'],
matchAnySuffix: ['matchAnySuffix'],
matchAnyTag: [{
key: 'key',
value: 'value',
}],
matchObjectAge: {
daysGreaterThan: 123,
daysLessThan: 123,
},
matchObjectSize: {
bytesGreaterThan: 123,
bytesLessThan: 123,
},
},
},
name: 'name',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
filterIResolvable | CfnStorageLensGroup.FilterPropertyfiltertyping.Union[IResolvable, FilterProperty]filterIResolvableFilterIResolvableFilterinterface{}required#This property contains the criteria for the Storage Lens group data that is displayed.
This property contains the Storage Lens group name.