Class: AWSCDK::Datasync::CfnLocationFSXONTAP::NFSProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationFSXONTAP::NFSProperty
- Defined in:
- datasync/cfn_location_fsxontap.rb
Overview
Specifies the Network File System (NFS) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.
For more information, see Accessing FSx for ONTAP file systems .
Instance Attribute Summary collapse
-
#mount_options ⇒ AWSCDK::IResolvable, AWSCDK::Datasync::CfnLocationFSXONTAP::NfsMountOptionsProperty
readonly
Specifies how DataSync can access a location using the NFS protocol.
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.
724 725 726 727 |
# File 'datasync/cfn_location_fsxontap.rb', line 724 def initialize(mount_options:) @mount_options = .is_a?(Hash) ? ::AWSCDK::Datasync::CfnLocationFSXONTAP::NfsMountOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@mount_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhc3luYy5DZm5Mb2NhdGlvbkZTeE9OVEFQLk5mc01vdW50T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "mountOptions") end |
Instance Attribute Details
#mount_options ⇒ AWSCDK::IResolvable, AWSCDK::Datasync::CfnLocationFSXONTAP::NfsMountOptionsProperty (readonly)
Specifies how DataSync can access a location using the NFS protocol.
733 734 735 |
# File 'datasync/cfn_location_fsxontap.rb', line 733 def @mount_options end |
Class Method Details
.jsii_properties ⇒ Object
735 736 737 738 739 |
# File 'datasync/cfn_location_fsxontap.rb', line 735 def self.jsii_properties { :mount_options => "mountOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
741 742 743 744 745 746 747 |
# File 'datasync/cfn_location_fsxontap.rb', line 741 def to_jsii result = {} result.merge!({ "mountOptions" => @mount_options, }) result.compact end |