# CfnQuickResponseProps

Properties for defining a `CfnQuickResponse`.

Used as props by: [CfnQuickResponse](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnQuickResponse.html)

- Source: Generated at build time
- Type last changed: v2.208.0 · 29 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const cfnQuickResponseProps: wisdom.CfnQuickResponseProps = {
  content: {
    content: 'content',
  },
  knowledgeBaseArn: 'knowledgeBaseArn',
  name: 'name',

  // the properties below are optional
  channels: ['channels'],
  contentType: 'contentType',
  description: 'description',
  groupingConfiguration: {
    criteria: 'criteria',
    values: ['values'],
  },
  isActive: false,
  language: 'language',
  shortcutKey: 'shortcutKey',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

cfn_quick_response_props = wisdom.CfnQuickResponseProps(
    content=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
        content="content"
    ),
    knowledge_base_arn="knowledgeBaseArn",
    name="name",

    # the properties below are optional
    channels=["channels"],
    content_type="contentType",
    description="description",
    grouping_configuration=wisdom.CfnQuickResponse.GroupingConfigurationProperty(
        criteria="criteria",
        values=["values"]
    ),
    is_active=False,
    language="language",
    shortcut_key="shortcutKey",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

CfnQuickResponseProps cfnQuickResponseProps = CfnQuickResponseProps.builder()
        .content(QuickResponseContentProviderProperty.builder()
                .content("content")
                .build())
        .knowledgeBaseArn("knowledgeBaseArn")
        .name("name")

        // the properties below are optional
        .channels(List.of("channels"))
        .contentType("contentType")
        .description("description")
        .groupingConfiguration(GroupingConfigurationProperty.builder()
                .criteria("criteria")
                .values(List.of("values"))
                .build())
        .isActive(false)
        .language("language")
        .shortcutKey("shortcutKey")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var cfnQuickResponseProps = new CfnQuickResponseProps {
    Content = new QuickResponseContentProviderProperty {
        Content = "content"
    },
    KnowledgeBaseArn = "knowledgeBaseArn",
    Name = "name",

    // the properties below are optional
    Channels = new [] { "channels" },
    ContentType = "contentType",
    Description = "description",
    GroupingConfiguration = new GroupingConfigurationProperty {
        Criteria = "criteria",
        Values = new [] { "values" }
    },
    IsActive = false,
    Language = "language",
    ShortcutKey = "shortcutKey",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnQuickResponseProps := &CfnQuickResponseProps{
	Content: &QuickResponseContentProviderProperty{
		Content: jsii.String("content"),
	},
	KnowledgeBaseArn: jsii.String("knowledgeBaseArn"),
	Name: jsii.String("name"),

	// the properties below are optional
	Channels: []*string{
		jsii.String("channels"),
	},
	ContentType: jsii.String("contentType"),
	Description: jsii.String("description"),
	GroupingConfiguration: &GroupingConfigurationProperty{
		Criteria: jsii.String("criteria"),
		Values: []*string{
			jsii.String("values"),
		},
	},
	IsActive: jsii.Boolean(false),
	Language: jsii.String("language"),
	ShortcutKey: jsii.String("shortcutKey"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `channels`: string[] — The Amazon Connect contact channels this quick response applies to.

  The supported contact channel types include `Chat` .

- `content`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQuickResponse.QuickResponseContentProviderProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnQuickResponse.QuickResponseContentProviderProperty.html) (required) — The content of the quick response.

- `contentType`: string — The media type of the quick response content.

  - Use `application/x.quickresponse;format=plain` for quick response written in plain text.
  - Use `application/x.quickresponse;format=markdown` for quick response written in richtext.

- `description`: string — The description of the quick response.

- `groupingConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQuickResponse.GroupingConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnQuickResponse.GroupingConfigurationProperty.html) — The configuration information of the user groups that the quick response is accessible to.

- `isActive`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether the quick response is active.

- `knowledgeBaseArn`: string (required) — The Amazon Resource Name (ARN) of the knowledge base.

- `language`: string — The language code value for the language in which the quick response is written.

  The supported language codes include `de_DE` , `en_US` , `es_ES` , `fr_FR` , `id_ID` , `it_IT` , `ja_JP` , `ko_KR` , `pt_BR` , `zh_CN` , `zh_TW`

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

- `shortcutKey`: string — The shortcut key of the quick response.

  The value should be unique across the knowledge base.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags used to organize, track, or control access for this resource.
