# CfnAssistantProps

Properties for defining a `CfnAssistant`.

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

- Source: Generated at build time

## 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 cfnAssistantProps: wisdom.CfnAssistantProps = {
  name: 'name',
  type: 'type',

  // the properties below are optional
  description: 'description',
  serverSideEncryptionConfiguration: {
    kmsKeyId: 'kmsKeyId',
  },
  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_assistant_props = wisdom.CfnAssistantProps(
    name="name",
    type="type",

    # the properties below are optional
    description="description",
    server_side_encryption_configuration=wisdom.CfnAssistant.ServerSideEncryptionConfigurationProperty(
        kms_key_id="kmsKeyId"
    ),
    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.*;

CfnAssistantProps cfnAssistantProps = CfnAssistantProps.builder()
        .name("name")
        .type("type")

        // the properties below are optional
        .description("description")
        .serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder()
                .kmsKeyId("kmsKeyId")
                .build())
        .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 cfnAssistantProps = new CfnAssistantProps {
    Name = "name",
    Type = "type",

    // the properties below are optional
    Description = "description",
    ServerSideEncryptionConfiguration = new ServerSideEncryptionConfigurationProperty {
        KmsKeyId = "kmsKeyId"
    },
    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"

cfnAssistantProps := &CfnAssistantProps{
	Name: jsii.String("name"),
	Type: jsii.String("type"),

	// the properties below are optional
	Description: jsii.String("description"),
	ServerSideEncryptionConfiguration: &ServerSideEncryptionConfigurationProperty{
		KmsKeyId: jsii.String("kmsKeyId"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `description`: string — The description of the assistant.

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

- `serverSideEncryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAssistant.ServerSideEncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAssistant.ServerSideEncryptionConfigurationProperty.html) — The configuration information for the customer managed key used for encryption.

  The customer managed key must have a policy that allows `kms:CreateGrant` and `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow `kms:Decrypt` , `kms:GenerateDataKey*` , and `kms:DescribeKey` permissions to the `connect.amazonaws.com` service principal. For more information about setting up a customer managed key for Wisdom, see [Enable Connect Customer Wisdom for your instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) .

- `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.

- `type`: string (required) — The type of assistant.
