public static interface CfnFileSystem.ClientConfigurationsProperty
Example:
// 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.*; ClientConfigurationsProperty clientConfigurationsProperty = ClientConfigurationsProperty.builder() .clients("clients") .options(List.of("options")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnFileSystem.ClientConfigurationsProperty.Builder
A builder for
CfnFileSystem.ClientConfigurationsProperty |
static class |
CfnFileSystem.ClientConfigurationsProperty.Jsii$Proxy
An implementation for
CfnFileSystem.ClientConfigurationsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnFileSystem.ClientConfigurationsProperty.Builder |
builder() |
default java.lang.String |
getClients()
A value that specifies who can mount the file system.
|
default java.util.List<java.lang.String> |
getOptions()
The options to use when mounting the file system.
|
default java.lang.String getClients()
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.
default java.util.List<java.lang.String> getOptions()
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 specify crossmnt
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 specify async
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.static CfnFileSystem.ClientConfigurationsProperty.Builder builder()