Class: AWSCDK::EFS::ExistingFileSystemProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
efs/existing_file_system_props.rb

Overview

Properties for configuring ReplicationConfiguration to replicate to an existing file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destination_file_system:) ⇒ ExistingFileSystemProps

Returns a new instance of ExistingFileSystemProps.

Parameters:



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_systemAWSCDK::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_propertiesObject



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_jsiiObject



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