# CfnIndexProps

Properties for defining a `CfnIndex`.

Extends: CfnIndexProps
Used as props by: CfnIndex

- Source: Generated code
- Type last changed: v2.51.0 · 18 Nov 2022

## Example

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

  // the properties below are optional
  tags: {
    tagsKey: 'tags',
  },
};
```

## Properties

- `tags`: { [key: string]: string } — The specified tags are attached to only the index created in this AWS Region .

  The tags don't attach to any of the resources listed in the index.

- `type`: string (required) — Specifies the type of the index in this Region.

  For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* .
