CfnCollectionIndexProps
- class aws_cdk.aws_opensearchserverless.CfnCollectionIndexProps(*, id, index_name, index_schema=None)
Bases:
objectProperties for defining a
CfnCollectionIndex.- Parameters:
id (
str) – The identifier of the collection.index_name (
str) – The name of the collection index.index_schema (
Optional[str]) – The Mappings for the collection index.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_opensearchserverless as opensearchserverless cfn_collection_index_props = opensearchserverless.CfnCollectionIndexProps( id="id", index_name="indexName", # the properties below are optional index_schema="indexSchema" )
Attributes
- id
The identifier of the collection.
- index_name
The name of the collection index.
- index_schema
The Mappings for the collection index.