# DataRepositoryAssociationProperty

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 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_fsx as fsx } from 'aws-cdk-lib';
const dataRepositoryAssociationProperty: fsx.CfnFileCache.DataRepositoryAssociationProperty = {
  dataRepositoryPath: 'dataRepositoryPath',
  fileCachePath: 'fileCachePath',
};
```

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_fsx as fsx

data_repository_association_property = fsx.CfnFileCache.DataRepositoryAssociationProperty(
    data_repository_path="dataRepositoryPath",
    file_cache_path="fileCachePath"
)
```

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

DataRepositoryAssociationProperty dataRepositoryAssociationProperty = DataRepositoryAssociationProperty.builder()
        .dataRepositoryPath("dataRepositoryPath")
        .fileCachePath("fileCachePath")
        .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.FSx;

var dataRepositoryAssociationProperty = new DataRepositoryAssociationProperty {
    DataRepositoryPath = "dataRepositoryPath",
    FileCachePath = "fileCachePath"
};
```

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"

dataRepositoryAssociationProperty := &DataRepositoryAssociationProperty{
	DataRepositoryPath: jsii.String("dataRepositoryPath"),
	FileCachePath: jsii.String("fileCachePath"),
}
```

## Properties

- `dataRepositoryPath`: string (required)

- `fileCachePath`: string (required)
