Class CfnIndex.MappingsProperty
Index mappings for the OpenSearch Serverless index.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.OpenSearchServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIndex.MappingsProperty : CfnIndex.IMappingsProperty
Syntax (vb)
Public Class CfnIndex.MappingsProperty Implements CfnIndex.IMappingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpenSearchServerless;
PropertyMappingProperty propertyMappingProperty_;
var mappingsProperty = new MappingsProperty {
Properties = new Dictionary<string, object> {
{ "propertiesKey", new PropertyMappingProperty {
Type = "type",
// the properties below are optional
Dimension = 123,
Index = false,
Method = new MethodProperty {
Engine = "engine",
Name = "name",
// the properties below are optional
Parameters = new ParametersProperty {
EfConstruction = 123,
M = 123
},
SpaceType = "spaceType"
},
Properties = new Dictionary<string, object> {
{ "propertiesKey", propertyMappingProperty_ }
},
Value = "value"
} }
}
};
Synopsis
Constructors
MappingsProperty() | Index mappings for the OpenSearch Serverless index. |
Properties
Properties | Nested fields within an object or nested field type. |
Constructors
MappingsProperty()
Index mappings for the OpenSearch Serverless index.
public MappingsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpenSearchServerless;
PropertyMappingProperty propertyMappingProperty_;
var mappingsProperty = new MappingsProperty {
Properties = new Dictionary<string, object> {
{ "propertiesKey", new PropertyMappingProperty {
Type = "type",
// the properties below are optional
Dimension = 123,
Index = false,
Method = new MethodProperty {
Engine = "engine",
Name = "name",
// the properties below are optional
Parameters = new ParametersProperty {
EfConstruction = 123,
M = 123
},
SpaceType = "spaceType"
},
Properties = new Dictionary<string, object> {
{ "propertiesKey", propertyMappingProperty_ }
},
Value = "value"
} }
}
};
Properties
Properties
Nested fields within an object or nested field type.
public object? Properties { get; set; }