Class: AWSCDK::EFS::CfnFileSystem::ReplicationConfigurationProperty

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

Overview

Describes the replication configuration for a specific file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destinations: nil) ⇒ ReplicationConfigurationProperty

Returns a new instance of ReplicationConfigurationProperty.

Parameters:



902
903
904
905
# File 'efs/cfn_file_system.rb', line 902

def initialize(destinations: nil)
  @destinations = destinations
  Jsii::Type.check_type(@destinations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWZzLkNmbkZpbGVTeXN0ZW0uUmVwbGljYXRpb25EZXN0aW5hdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "destinations") unless @destinations.nil?
end

Instance Attribute Details

#destinationsAWSCDK::IResolvable, ... (readonly)

An array of destination objects.

Only one destination object is supported.



913
914
915
# File 'efs/cfn_file_system.rb', line 913

def destinations
  @destinations
end

Class Method Details

.jsii_propertiesObject



915
916
917
918
919
# File 'efs/cfn_file_system.rb', line 915

def self.jsii_properties
  {
    :destinations => "destinations",
  }
end

Instance Method Details

#to_jsiiObject



921
922
923
924
925
926
927
# File 'efs/cfn_file_system.rb', line 921

def to_jsii
  result = {}
  result.merge!({
    "destinations" => @destinations,
  })
  result.compact
end