Class: AWSCDK::Datasync::CfnLocationFSXOpenZFS::NFSProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mount_options:) ⇒ NFSProperty

Returns a new instance of NFSProperty.

Parameters:



612
613
614
615
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 612

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

Instance Attribute Details

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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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