Class: AWSCDK::OpenSearchServerless::CfnIndex::MappingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchServerless::CfnIndex::MappingsProperty
- Defined in:
- open_search_serverless/cfn_index.rb
Overview
Index mappings for the OpenSearch Serverless index.
Instance Attribute Summary collapse
-
#properties ⇒ AWSCDK::IResolvable, ...
readonly
Nested fields within an object or nested field type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(properties: nil) ⇒ MappingsProperty
constructor
A new instance of MappingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(properties: nil) ⇒ MappingsProperty
Returns a new instance of MappingsProperty.
629 630 631 632 |
# File 'open_search_serverless/cfn_index.rb', line 629 def initialize(properties: nil) @properties = properties Jsii::Type.check_type(@properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb3BlbnNlYXJjaHNlcnZlcmxlc3MuQ2ZuSW5kZXguUHJvcGVydHlNYXBwaW5nUHJvcGVydHkifV19fSwia2luZCI6Im1hcCJ9fV19fQ==")), "properties") unless @properties.nil? end |
Instance Attribute Details
#properties ⇒ AWSCDK::IResolvable, ... (readonly)
Nested fields within an object or nested field type.
638 639 640 |
# File 'open_search_serverless/cfn_index.rb', line 638 def properties @properties end |
Class Method Details
.jsii_properties ⇒ Object
640 641 642 643 644 |
# File 'open_search_serverless/cfn_index.rb', line 640 def self.jsii_properties { :properties => "properties", } end |
Instance Method Details
#to_jsii ⇒ Object
646 647 648 649 650 651 652 |
# File 'open_search_serverless/cfn_index.rb', line 646 def to_jsii result = {} result.merge!({ "properties" => @properties, }) result.compact end |