Class: AWSCDK::S3Tables::CfnTableBucket::ReplicationConfigurationProperty

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

Overview

Specifies replication configuration for the table bucket.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role:, rules:) ⇒ ReplicationConfigurationProperty

Returns a new instance of ReplicationConfigurationProperty.

Parameters:



691
692
693
694
695
696
# File 's3_tables/cfn_table_bucket.rb', line 691

def initialize(role:, rules:)
  @role = role
  Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "role")
  @rules = rules
  Jsii::Type.check_type(@rules, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczN0YWJsZXMuQ2ZuVGFibGVCdWNrZXQuUmVwbGljYXRpb25SdWxlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "rules")
end

Instance Attribute Details

#roleString (readonly)

The ARN of the IAM role to use for replication.



702
703
704
# File 's3_tables/cfn_table_bucket.rb', line 702

def role
  @role
end

Class Method Details

.jsii_propertiesObject



709
710
711
712
713
714
# File 's3_tables/cfn_table_bucket.rb', line 709

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

Instance Method Details

#to_jsiiObject



716
717
718
719
720
721
722
723
# File 's3_tables/cfn_table_bucket.rb', line 716

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