interface ClientConfigurationsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FSx.CfnVolume.ClientConfigurationsProperty |
Java | software.amazon.awscdk.services.fsx.CfnVolume.ClientConfigurationsProperty |
Python | aws_cdk.aws_fsx.CfnVolume.ClientConfigurationsProperty |
TypeScript | @aws-cdk/aws-fsx » CfnVolume » ClientConfigurationsProperty |
Specifies who can mount an OpenZFS file system and the options available while mounting the file system.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as fsx from '@aws-cdk/aws-fsx';
const clientConfigurationsProperty: fsx.CfnVolume.ClientConfigurationsProperty = {
clients: 'clients',
options: ['options'],
};
Properties
Name | Type | Description |
---|---|---|
clients | string | A value that specifies who can mount the file system. |
options | string[] | The options to use when mounting the file system. |
clients
Type:
string
A value that specifies who can mount the file system.
You can provide a wildcard character ( *
), an IP address ( 0.0.0.0
), or a CIDR address ( 192.0.2.0/24
). By default, Amazon FSx uses the wildcard character when specifying the client.
options
Type:
string[]
The options to use when mounting the file system.
For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page . When choosing your options, consider the following:
crossmnt
is used by default. If you don't specifycrossmnt
when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.sync
is used by default. If you instead specifyasync
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.