# IntentProperty

Struct · External

Represents an action that the user wants to perform.

- Source: Generated at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
```

Python:

```python

```

Java:

```java

```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib

```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

```

## Properties

- `bedrockAgentIntentConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.BedrockAgentIntentConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockAgentIntentConfigurationProperty.html)

- `description`: string — A description of the intent.

  Use the description to help identify the intent in lists.

- `dialogCodeHook`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogCodeHookSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogCodeHookSettingProperty.html) — Specifies that Amazon Lex invokes the alias Lambda function for each user input.

  You can invoke this Lambda function to personalize user interaction.

- `displayName`: string

- `fulfillmentCodeHook`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.FulfillmentCodeHookSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.FulfillmentCodeHookSettingProperty.html) — Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment.

  You can invoke this function to complete the bot's transaction with the user.

- `initialResponseSetting`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.InitialResponseSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.InitialResponseSettingProperty.html) — Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.

- `inputContexts`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.InputContextProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.InputContextProperty.html)[] — A list of contexts that must be active for this intent to be considered by Amazon Lex .

- `intentClosingSetting`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.IntentClosingSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentClosingSettingProperty.html) — Sets the response that Amazon Lex sends to the user when the intent is closed.

- `intentConfirmationSetting`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.IntentConfirmationSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentConfirmationSettingProperty.html) — Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent.

  If the user answers "no," the settings contain a statement that is sent to the user to end the intent.

- `kendraConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.KendraConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.KendraConfigurationProperty.html) — Provides configuration information for the `AMAZON.KendraSearchIntent` intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.

- `name`: string (required) — The name of the intent.

  Intent names must be unique within the locale that contains the intent and can't match the name of any built-in intent.

- `outputContexts`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.OutputContextProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.OutputContextProperty.html)[] — A list of contexts that the intent activates when it is fulfilled.

- `parentIntentSignature`: string — A unique identifier for the built-in intent to base this intent on.

- `qInConnectIntentConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.QInConnectIntentConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.QInConnectIntentConfigurationProperty.html)

- `qnAIntentConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.QnAIntentConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.QnAIntentConfigurationProperty.html)

- `sampleUtterances`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SampleUtteranceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleUtteranceProperty.html)[] — A list of utterances that a user might say to signal the intent.

- `slotPriorities`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotPriorityProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotPriorityProperty.html)[] — Indicates the priority for slots.

  Amazon Lex prompts the user for slot values in priority order.

- `slots`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotProperty.html)[] — A list of slots that the intent requires for fulfillment.
