Class: AWSCDK::FSX::CfnVolume::ClientConfigurationsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FSX::CfnVolume::ClientConfigurationsProperty
- Defined in:
- fsx/cfn_volume.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:, options:) ⇒ ClientConfigurationsProperty
constructor
A new instance of ClientConfigurationsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(clients:, options:) ⇒ ClientConfigurationsProperty
Returns a new instance of ClientConfigurationsProperty.
708 709 710 711 712 713 |
# File 'fsx/cfn_volume.rb', line 708 def initialize(clients:, options:) @clients = clients Jsii::Type.check_type(@clients, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clients") @options = Jsii::Type.check_type(@options, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "options") 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.
721 722 723 |
# File 'fsx/cfn_volume.rb', line 721 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.
731 732 733 |
# File 'fsx/cfn_volume.rb', line 731 def @options end |
Class Method Details
.jsii_properties ⇒ Object
733 734 735 736 737 738 |
# File 'fsx/cfn_volume.rb', line 733 def self.jsii_properties { :clients => "clients", :options => "options", } end |
Instance Method Details
#to_jsii ⇒ Object
740 741 742 743 744 745 746 747 |
# File 'fsx/cfn_volume.rb', line 740 def to_jsii result = {} result.merge!({ "clients" => @clients, "options" => @options, }) result.compact end |