# CfnStorageLensGroupProps

Properties for defining a `CfnStorageLensGroup`.

Extends: CfnStorageLensGroupProps
Used as props by: CfnStorageLensGroup

- Source: Generated code
- Type last changed: v2.109.0 · 16 Nov 2023

## 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

- `filter`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStorageLensGroup.FilterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnStorageLensGroup.FilterProperty.html) (required) — This property contains the criteria for the Storage Lens group data that is displayed.

- `name`: string (required) — This property contains the Storage Lens group name.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — This property contains the AWS resource tags that you're adding to your Storage Lens group.

  This parameter is optional.
