# BackupPlanIndexActionProps

Properties for a BackupPlanIndexAction.

- Source: [`aws-backup/lib/rule.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-backup/lib/rule.ts#L134)
- Type last changed: v2.267.0 · 27 Aug 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';

declare const indexActionResourceType: backup.IndexActionResourceType;
const backupPlanIndexActionProps: backup.BackupPlanIndexActionProps = {
  resourceTypes: [indexActionResourceType],
};
```

## Properties

- `resourceTypes`: [IndexActionResourceType](/cdk/api/v2/docs/aws-cdk-lib.aws_backup.IndexActionResourceType.html)[] (required) — Specifies the resource types to include in the index action.

  A backup index is only created when this is set, so at least one resource
  type must be provided.
