Class: AWSCDK::EFS::ExistingFileSystemProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EFS::ExistingFileSystemProps
- Defined in:
- efs/existing_file_system_props.rb
Overview
Properties for configuring ReplicationConfiguration to replicate to an existing file system.
Instance Attribute Summary collapse
-
#destination_file_system ⇒ AWSCDK::Interfaces::AWSEFS::IFileSystemRef
readonly
The existing destination file system for the replication.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination_file_system:) ⇒ ExistingFileSystemProps
constructor
A new instance of ExistingFileSystemProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination_file_system:) ⇒ ExistingFileSystemProps
Returns a new instance of ExistingFileSystemProps.
8 9 10 11 |
# File 'efs/existing_file_system_props.rb', line 8 def initialize(destination_file_system:) @destination_file_system = destination_file_system Jsii::Type.check_type(@destination_file_system, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19lZnMuSUZpbGVTeXN0ZW1SZWYifQ==")), "destinationFileSystem") end |
Instance Attribute Details
#destination_file_system ⇒ AWSCDK::Interfaces::AWSEFS::IFileSystemRef (readonly)
The existing destination file system for the replication.
16 17 18 |
# File 'efs/existing_file_system_props.rb', line 16 def destination_file_system @destination_file_system end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'efs/existing_file_system_props.rb', line 18 def self.jsii_properties { :destination_file_system => "destinationFileSystem", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'efs/existing_file_system_props.rb', line 24 def to_jsii result = {} result.merge!({ "destinationFileSystem" => @destination_file_system, }) result.compact end |