# SynchronizationConfigurationProperty

- 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 synchronizationConfigurationProperty: s3files.CfnFileSystem.SynchronizationConfigurationProperty = {
  expirationDataRules: [{
    daysAfterLastAccess: 123,
  }],
  importDataRules: [{
    prefix: 'prefix',
    sizeLessThan: 123,
    trigger: 'trigger',
  }],

  // the properties below are optional
  latestVersionNumber: 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

synchronization_configuration_property = s3files.CfnFileSystem.SynchronizationConfigurationProperty(
    expiration_data_rules=[s3files.CfnFileSystem.ExpirationDataRuleProperty(
        days_after_last_access=123
    )],
    import_data_rules=[s3files.CfnFileSystem.ImportDataRuleProperty(
        prefix="prefix",
        size_less_than=123,
        trigger="trigger"
    )],

    # the properties below are optional
    latest_version_number=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.*;

SynchronizationConfigurationProperty synchronizationConfigurationProperty = SynchronizationConfigurationProperty.builder()
        .expirationDataRules(List.of(ExpirationDataRuleProperty.builder()
                .daysAfterLastAccess(123)
                .build()))
        .importDataRules(List.of(ImportDataRuleProperty.builder()
                .prefix("prefix")
                .sizeLessThan(123)
                .trigger("trigger")
                .build()))

        // the properties below are optional
        .latestVersionNumber(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 synchronizationConfigurationProperty = new SynchronizationConfigurationProperty {
    ExpirationDataRules = new [] { new ExpirationDataRuleProperty {
        DaysAfterLastAccess = 123
    } },
    ImportDataRules = new [] { new ImportDataRuleProperty {
        Prefix = "prefix",
        SizeLessThan = 123,
        Trigger = "trigger"
    } },

    // the properties below are optional
    LatestVersionNumber = 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"

synchronizationConfigurationProperty := &SynchronizationConfigurationProperty{
	ExpirationDataRules: []interface{}{
		&ExpirationDataRuleProperty{
			DaysAfterLastAccess: jsii.Number(123),
		},
	},
	ImportDataRules: []interface{}{
		&ImportDataRuleProperty{
			Prefix: jsii.String("prefix"),
			SizeLessThan: jsii.Number(123),
			Trigger: jsii.String("trigger"),
		},
	},

	// the properties below are optional
	LatestVersionNumber: jsii.Number(123),
}
```

## Properties

- `expirationDataRules`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFileSystem.ExpirationDataRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_s3files.CfnFileSystem.ExpirationDataRuleProperty.html)[] (required)

- `importDataRules`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFileSystem.ImportDataRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_s3files.CfnFileSystem.ImportDataRuleProperty.html)[] (required)

- `latestVersionNumber`: number
