Class: AWSCDK::S3Tables::CfnTableBucket::ReplicationRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTableBucket::ReplicationRuleProperty
- Defined in:
- s3_tables/cfn_table_bucket.rb
Overview
A replication rule for the table bucket.
Instance Attribute Summary collapse
-
#destinations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3Tables::CfnTableBucket::ReplicationDestinationProperty>
readonly
List of replication destinations.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destinations:) ⇒ ReplicationRuleProperty
constructor
A new instance of ReplicationRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destinations:) ⇒ ReplicationRuleProperty
Returns a new instance of ReplicationRuleProperty.
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 |
Instance Attribute Details
#destinations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3Tables::CfnTableBucket::ReplicationDestinationProperty> (readonly)
List of replication destinations.
775 776 777 |
# File 's3_tables/cfn_table_bucket.rb', line 775 def destinations @destinations end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |