Class: AWSCDK::Lex::CfnBot::ReplicationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::ReplicationProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Instance Attribute Summary collapse
- #replica_regions ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(replica_regions:) ⇒ ReplicationProperty
constructor
A new instance of ReplicationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(replica_regions:) ⇒ ReplicationProperty
Returns a new instance of ReplicationProperty.
4796 4797 4798 4799 |
# File 'lex/cfn_bot.rb', line 4796 def initialize(replica_regions:) @replica_regions = replica_regions Jsii::Type.check_type(@replica_regions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "replicaRegions") end |
Instance Attribute Details
#replica_regions ⇒ Array<String> (readonly)
4803 4804 4805 |
# File 'lex/cfn_bot.rb', line 4803 def replica_regions @replica_regions end |
Class Method Details
.jsii_properties ⇒ Object
4805 4806 4807 4808 4809 |
# File 'lex/cfn_bot.rb', line 4805 def self.jsii_properties { :replica_regions => "replicaRegions", } end |
Instance Method Details
#to_jsii ⇒ Object
4811 4812 4813 4814 4815 4816 4817 |
# File 'lex/cfn_bot.rb', line 4811 def to_jsii result = {} result.merge!({ "replicaRegions" => @replica_regions, }) result.compact end |