# TriggerConditionInputProperty

The memory trigger condition input.

- Source: Generated code
- Type last changed: v2.221.0 · 24 Oct 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const triggerConditionInputProperty: bedrockagentcore.CfnMemory.TriggerConditionInputProperty = {
  messageBasedTrigger: {
    messageCount: 123,
  },
  timeBasedTrigger: {
    idleSessionTimeout: 123,
  },
  tokenBasedTrigger: {
    tokenCount: 123,
  },
};
```

## Properties

- `messageBasedTrigger`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMemory.MessageBasedTriggerInputProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty.html) — The memory trigger condition input for the message based trigger.

- `timeBasedTrigger`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMemory.TimeBasedTriggerInputProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty.html) — The memory trigger condition input.

- `tokenBasedTrigger`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMemory.TokenBasedTriggerInputProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty.html) — The trigger condition information for a token based trigger.
