AWS::QBusiness::IndexCreates an Amazon Q Business index. To determine if index creation has completed, check the `Status` field returned from a call to `DescribeIndex` . The `Status` field is set to `ACTIVE` when the index is ready to use. Once the index is active, you can index your documents using the [`BatchPutDocument`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_BatchPutDocument.html) API or the [`CreateDataSource`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_CreateDataSource.html) API.
import { CfnIndex } from 'aws-cdk-lib/aws-qbusiness';Or use the module namespace:
import * as qbusiness from 'aws-cdk-lib/aws-qbusiness';
// qbusiness.CfnIndexConfiguration passed to the constructor as CfnIndexProps.
applicationIdRequiredstringThe identifier of the Amazon Q Business application using the index.
displayNameRequiredstringThe name of the index.
capacityConfigurationOptionalIResolvable | IndexCapacityConfigurationPropertyThe capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
descriptionOptionalstringA description for the Amazon Q Business index.
documentAttributeConfigurationsOptionalIResolvable | IResolvable | DocumentAttributeConfigurationProperty[]Configuration information for document attributes. Document attributes are metadata or fields associated with your documents. For example, the company department name associated with each document. For more information, see [Understanding document attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) .
tagsOptionalCfnTag[]A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
typeOptionalstringThe index type that's suitable for your needs. For more information on what's included in each type of index, see [Amazon Q Business tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-qbusinessAWS::QBusiness::Index