# ImportDataRuleProperty

- 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 importDataRuleProperty: s3files.CfnFileSystem.ImportDataRuleProperty = {
  prefix: 'prefix',
  sizeLessThan: 123,
  trigger: 'trigger',
};
```

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

import_data_rule_property = s3files.CfnFileSystem.ImportDataRuleProperty(
    prefix="prefix",
    size_less_than=123,
    trigger="trigger"
)
```

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.*;

ImportDataRuleProperty importDataRuleProperty = ImportDataRuleProperty.builder()
        .prefix("prefix")
        .sizeLessThan(123)
        .trigger("trigger")
        .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 importDataRuleProperty = new ImportDataRuleProperty {
    Prefix = "prefix",
    SizeLessThan = 123,
    Trigger = "trigger"
};
```

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"

importDataRuleProperty := &ImportDataRuleProperty{
	Prefix: jsii.String("prefix"),
	SizeLessThan: jsii.Number(123),
	Trigger: jsii.String("trigger"),
}
```

## Properties

- `prefix`: string (required)

- `sizeLessThan`: number (required)

- `trigger`: string (required)
