Class: AWSCDK::S3Tables::CfnTableBucket::ReplicationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTableBucket::ReplicationConfigurationProperty
- Defined in:
- s3_tables/cfn_table_bucket.rb
Overview
Specifies replication configuration for the table bucket.
Instance Attribute Summary collapse
-
#role ⇒ String
readonly
The ARN of the IAM role to use for replication.
-
#rules ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3Tables::CfnTableBucket::ReplicationRuleProperty>
readonly
List of replication rules.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role:, rules:) ⇒ ReplicationConfigurationProperty
constructor
A new instance of ReplicationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role:, rules:) ⇒ ReplicationConfigurationProperty
Returns a new instance of ReplicationConfigurationProperty.
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
#role ⇒ String (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 |
#rules ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3Tables::CfnTableBucket::ReplicationRuleProperty> (readonly)
List of replication rules.
707 708 709 |
# File 's3_tables/cfn_table_bucket.rb', line 707 def rules @rules end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |