Interface CfnIndex.MappingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndex.MappingsProperty.Jsii$Proxy
- Enclosing class:
CfnIndex
@Stability(Stable)
public static interface CfnIndex.MappingsProperty
extends software.amazon.jsii.JsiiSerializable
Index mappings for the OpenSearch Serverless index.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearchserverless.*;
PropertyMappingProperty propertyMappingProperty_;
MappingsProperty mappingsProperty = MappingsProperty.builder()
.properties(Map.of(
"propertiesKey", PropertyMappingProperty.builder()
.type("type")
// the properties below are optional
.dimension(123)
.index(false)
.method(MethodProperty.builder()
.name("name")
// the properties below are optional
.engine("engine")
.parameters(ParametersProperty.builder()
.efConstruction(123)
.m(123)
.build())
.spaceType("spaceType")
.build())
.properties(Map.of(
"propertiesKey", propertyMappingProperty_))
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndex.MappingsPropertystatic final classAn implementation forCfnIndex.MappingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProperties
Nested fields within an object or nested field type.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnIndex.PropertyMappingProperty>- See Also:
-
builder
- Returns:
- a
CfnIndex.MappingsProperty.BuilderofCfnIndex.MappingsProperty
-