Class: AWSCDK::OpenSearchServerless::CfnIndex::MappingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
open_search_serverless/cfn_index.rb

Overview

Index mappings for the OpenSearch Serverless index.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(properties: nil) ⇒ MappingsProperty

Returns a new instance of MappingsProperty.

Parameters:



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

#propertiesAWSCDK::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_propertiesObject



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_jsiiObject



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