Class: AWSCDK::FSX::CfnFileSystem::ClientConfigurationsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FSX::CfnFileSystem::ClientConfigurationsProperty
- Defined in:
- fsx/cfn_file_system.rb
Overview
Specifies who can mount an OpenZFS file system and the options available while mounting the file system.
Instance Attribute Summary collapse
-
#clients ⇒ String?
readonly
A value that specifies who can mount the file system.
-
#options ⇒ Array<String>?
readonly
The options to use when mounting the file system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(clients: nil, options: nil) ⇒ ClientConfigurationsProperty
constructor
A new instance of ClientConfigurationsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(clients: nil, options: nil) ⇒ ClientConfigurationsProperty
Returns a new instance of ClientConfigurationsProperty.
800 801 802 803 804 805 |
# File 'fsx/cfn_file_system.rb', line 800 def initialize(clients: nil, options: nil) @clients = clients Jsii::Type.check_type(@clients, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clients") unless @clients.nil? @options = Jsii::Type.check_type(@options, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "options") unless @options.nil? end |
Instance Attribute Details
#clients ⇒ String? (readonly)
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.
813 814 815 |
# File 'fsx/cfn_file_system.rb', line 813 def clients @clients end |
#options ⇒ Array<String>? (readonly)
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:
crossmntis used by default. If you don't specifycrossmntwhen changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.syncis 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.
823 824 825 |
# File 'fsx/cfn_file_system.rb', line 823 def @options end |
Class Method Details
.jsii_properties ⇒ Object
825 826 827 828 829 830 |
# File 'fsx/cfn_file_system.rb', line 825 def self.jsii_properties { :clients => "clients", :options => "options", } end |
Instance Method Details
#to_jsii ⇒ Object
832 833 834 835 836 837 838 839 |
# File 'fsx/cfn_file_system.rb', line 832 def to_jsii result = {} result.merge!({ "clients" => @clients, "options" => @options, }) result.compact end |