# NFSProperty

Represents the Network File System (NFS) protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 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_datasync as datasync } from 'aws-cdk-lib';
const nFSProperty: datasync.CfnLocationFSxOpenZFS.NFSProperty = {
  mountOptions: {
    version: 'version',
  },
};
```

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_datasync as datasync

n_fs_property = datasync.CfnLocationFSxOpenZFS.NFSProperty(
    mount_options=datasync.CfnLocationFSxOpenZFS.MountOptionsProperty(
        version="version"
    )
)
```

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

NFSProperty nFSProperty = NFSProperty.builder()
        .mountOptions(MountOptionsProperty.builder()
                .version("version")
                .build())
        .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.DataSync;

var nFSProperty = new NFSProperty {
    MountOptions = new MountOptionsProperty {
        Version = "version"
    }
};
```

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"

nFSProperty := &NFSProperty{
	MountOptions: &MountOptionsProperty{
		Version: jsii.String("version"),
	},
}
```

## Properties

- `mountOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLocationFSxOpenZFS.MountOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_datasync.CfnLocationFSxOpenZFS.MountOptionsProperty.html) (required) — Represents the mount options that are available for DataSync to access an NFS location.
