# ExpirationDataRuleProperty

- Source: Generated at build time
- Type last changed: v2.250.0 · 14 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3files as s3files } from 'aws-cdk-lib';
const expirationDataRuleProperty: s3files.CfnFileSystem.ExpirationDataRuleProperty = {
  daysAfterLastAccess: 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_s3files as s3files

expiration_data_rule_property = s3files.CfnFileSystem.ExpirationDataRuleProperty(
    days_after_last_access=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.s3files.*;

ExpirationDataRuleProperty expirationDataRuleProperty = ExpirationDataRuleProperty.builder()
        .daysAfterLastAccess(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.S3Files;

var expirationDataRuleProperty = new ExpirationDataRuleProperty {
    DaysAfterLastAccess = 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"

expirationDataRuleProperty := &ExpirationDataRuleProperty{
	DaysAfterLastAccess: jsii.Number(123),
}
```

## Properties

- `daysAfterLastAccess`: number (required)
