# MatchObjectAgeProperty

This resource contains `DaysGreaterThan` and `DaysLessThan` to define the object age range (minimum and maximum number of days).

- Source: Generated at build time
- Type last changed: v2.109.0 · 16 Nov 2023

## Example

TypeScript:

```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 matchObjectAgeProperty: s3.CfnStorageLensGroup.MatchObjectAgeProperty = {
  daysGreaterThan: 123,
  daysLessThan: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3 as s3

match_object_age_property = s3.CfnStorageLensGroup.MatchObjectAgeProperty(
    days_greater_than=123,
    days_less_than=123
)
```

Java:

```java
// 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.*;

MatchObjectAgeProperty matchObjectAgeProperty = MatchObjectAgeProperty.builder()
        .daysGreaterThan(123)
        .daysLessThan(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;

var matchObjectAgeProperty = new MatchObjectAgeProperty {
    DaysGreaterThan = 123,
    DaysLessThan = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

matchObjectAgeProperty := &MatchObjectAgeProperty{
	DaysGreaterThan: jsii.Number(123),
	DaysLessThan: jsii.Number(123),
}
```

## Properties

- `daysGreaterThan`: number — This property indicates the minimum object age in days.

- `daysLessThan`: number — This property indicates the maximum object age in days.
