Class: AWSCDK::Datasync::CfnLocationFSXOpenZFS::ProtocolProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationFSXOpenZFS::ProtocolProperty
- Defined in:
- datasync/cfn_location_fsx_open_zfs.rb
Overview
Represents the protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.
Instance Attribute Summary collapse
-
#nfs ⇒ AWSCDK::IResolvable, ...
readonly
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(nfs: nil) ⇒ ProtocolProperty
constructor
A new instance of ProtocolProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(nfs: nil) ⇒ ProtocolProperty
Returns a new instance of ProtocolProperty.
645 646 647 648 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 645 def initialize(nfs: nil) @nfs = nfs.is_a?(Hash) ? ::AWSCDK::Datasync::CfnLocationFSXOpenZFS::NFSProperty.new(**nfs.transform_keys(&:to_sym)) : nfs Jsii::Type.check_type(@nfs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhc3luYy5DZm5Mb2NhdGlvbkZTeE9wZW5aRlMuTkZTUHJvcGVydHkifV19fQ==")), "nfs") unless @nfs.nil? end |
Instance Attribute Details
#nfs ⇒ AWSCDK::IResolvable, ... (readonly)
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.
654 655 656 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 654 def nfs @nfs end |
Class Method Details
.jsii_properties ⇒ Object
656 657 658 659 660 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 656 def self.jsii_properties { :nfs => "nfs", } end |
Instance Method Details
#to_jsii ⇒ Object
662 663 664 665 666 667 668 |
# File 'datasync/cfn_location_fsx_open_zfs.rb', line 662 def to_jsii result = {} result.merge!({ "nfs" => @nfs, }) result.compact end |