Skip to content
v2.276.0

CfnIndexProps Struct ​

Properties for defining a CfnIndex.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_qbusiness as qbusiness } from 'aws-cdk-lib';
const cfnIndexProps: qbusiness.CfnIndexProps = {
  applicationId: 'applicationId',
  displayName: 'displayName',

  // the properties below are optional
  capacityConfiguration: {
    units: 123,
  },
  description: 'description',
  documentAttributeConfigurations: [{
    name: 'name',
    search: 'search',
    type: 'type',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
  type: 'type',
};

Properties ​

applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*stringrequired#
The identifier of the Amazon Q Business application using the index.
capacityConfigurationoptionalIResolvable | CfnIndex.IndexCapacityConfigurationPropertycapacity_configurationoptionaltyping.Union[IResolvable, IndexCapacityConfigurationProperty]capacityConfigurationoptionalIResolvableCapacityConfigurationoptionalIResolvableCapacityConfigurationoptionalinterface{}#
The capacity units you want to provision for your index.

You can add and remove capacity to fit your usage needs.

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description for the Amazon Q Business index.
displayNamestringdisplay_namestrdisplayNameStringDisplayNamestringDisplayName*stringrequired#
The name of the index.
documentAttributeConfigurationsoptionalIResolvable | IResolvable | CfnIndex.DocumentAttributeConfigurationProperty[]document_attribute_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DocumentAttributeConfigurationProperty]]]documentAttributeConfigurationsoptionalIResolvableDocumentAttributeConfigurationsoptionalIResolvableDocumentAttributeConfigurationsoptionalinterface{}#
Configuration information for document attributes.
notes

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 .

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
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: _ . : / = + -

typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string#
The 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 .