# ContextKeySelectorProperty

An object that contains information types to be included in CloudTrail enriched events.

- Source: Generated code
- Type last changed: v2.201.0 · 13 Jun 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudtrail as cloudtrail } from 'aws-cdk-lib';
const contextKeySelectorProperty: cloudtrail.CfnEventDataStore.ContextKeySelectorProperty = {
  equalTo: ['equalTo'],
  type: 'type',
};
```

## Properties

- `equalTo`: string[] (required) — A list of keys defined by Type to be included in CloudTrail enriched events.

- `type`: string (required) — Specifies the type of the event record field in ContextKeySelector.

  Valid values include RequestContext, TagContext.
