NFSProperty Struct
Represents the Network File System (NFS) protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
}
};
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
mountOptionsIResolvable | CfnLocationFSxOpenZFS.mount_optionstyping.Union[IResolvable, MountOptionsProperty]mountOptionsIResolvableMountOptionsIResolvableMountOptionsinterface{} required #Represents the mount options that are available for DataSync to access an NFS location.