Class: AWSCDK::S3Tables::CfnTableBucket::ReplicationRuleProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3_tables/cfn_table_bucket.rb

Overview

A replication rule for the table bucket.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destinations:) ⇒ ReplicationRuleProperty

Returns a new instance of ReplicationRuleProperty.

Parameters:



766
767
768
769
# File 's3_tables/cfn_table_bucket.rb', line 766

def initialize(destinations:)
  @destinations = destinations
  Jsii::Type.check_type(@destinations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczN0YWJsZXMuQ2ZuVGFibGVCdWNrZXQuUmVwbGljYXRpb25EZXN0aW5hdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "destinations")
end

Class Method Details

.jsii_propertiesObject



777
778
779
780
781
# File 's3_tables/cfn_table_bucket.rb', line 777

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

Instance Method Details

#to_jsiiObject



783
784
785
786
787
788
789
# File 's3_tables/cfn_table_bucket.rb', line 783

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