Class: AWSCDK::Datasync::CfnLocationFSXONTAP::NFSProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mount_options:) ⇒ NFSProperty

Returns a new instance of NFSProperty.

Parameters:



724
725
726
727
# File 'datasync/cfn_location_fsxontap.rb', line 724

def initialize(mount_options:)
  @mount_options = mount_options.is_a?(Hash) ? ::AWSCDK::Datasync::CfnLocationFSXONTAP::NfsMountOptionsProperty.new(**mount_options.transform_keys(&:to_sym)) : mount_options
  Jsii::Type.check_type(@mount_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhc3luYy5DZm5Mb2NhdGlvbkZTeE9OVEFQLk5mc01vdW50T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "mountOptions")
end

Instance Attribute Details

#mount_optionsAWSCDK::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
  @mount_options
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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