Class: AWSCDK::Datasync::CfnLocationFSXOpenZFS::NFSProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationFSXOpenZFS::NFSProperty
- Defined in:
- datasync/cfn_location_fsx_open_zfs.rb
Overview
Represents the Network File System (NFS) protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.
Instance Attribute Summary collapse
-
#mount_options ⇒ AWSCDK::IResolvable, AWSCDK::Datasync::CfnLocationFSXOpenZFS::MountOptionsProperty
readonly
Represents the mount options that are available for DataSync to access an NFS location.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mount_options:) ⇒ NFSProperty
constructor
A new instance of NFSProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mount_options:) ⇒ NFSProperty
Returns a new instance of NFSProperty.
612 613 614 615 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 612 def initialize(mount_options:) @mount_options = .is_a?(Hash) ? ::AWSCDK::Datasync::CfnLocationFSXOpenZFS::MountOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@mount_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhc3luYy5DZm5Mb2NhdGlvbkZTeE9wZW5aRlMuTW91bnRPcHRpb25zUHJvcGVydHkifV19fQ==")), "mountOptions") end |
Instance Attribute Details
#mount_options ⇒ AWSCDK::IResolvable, AWSCDK::Datasync::CfnLocationFSXOpenZFS::MountOptionsProperty (readonly)
Represents the mount options that are available for DataSync to access an NFS location.
621 622 623 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 621 def @mount_options end |
Class Method Details
.jsii_properties ⇒ Object
623 624 625 626 627 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 623 def self.jsii_properties { :mount_options => "mountOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
629 630 631 632 633 634 635 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 629 def to_jsii result = {} result.merge!({ "mountOptions" => @mount_options, }) result.compact end |