CmdID / aws / aws opensearchserverless
aws opensearchserverless create-index
Creates an index within an OpenSearch Serverless collection. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--idThe unique identifier of the collection in which to create the index.--index-nameThe name of the index to create.--index-schemaThe JSON schema definition for the index, including field mappings and settings.