# EncryptionConfigurationProperty

Provides the identifier of the AWS  key used to encrypt data indexed by Amazon Q Business.

Amazon Q Business doesn't support asymmetric keys.

- Source: Generated at build time
- Type last changed: v2.140.0 · 2 May 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_qbusiness as qbusiness } from 'aws-cdk-lib';
const encryptionConfigurationProperty: qbusiness.CfnApplication.EncryptionConfigurationProperty = {
  kmsKeyId: 'kmsKeyId',
};
```

Python:

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

encryption_configuration_property = qbusiness.CfnApplication.EncryptionConfigurationProperty(
    kms_key_id="kmsKeyId"
)
```

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.qbusiness.*;

EncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()
        .kmsKeyId("kmsKeyId")
        .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.QBusiness;

var encryptionConfigurationProperty = new EncryptionConfigurationProperty {
    KmsKeyId = "kmsKeyId"
};
```

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"

encryptionConfigurationProperty := &EncryptionConfigurationProperty{
	KmsKeyId: jsii.String("kmsKeyId"),
}
```

## Properties

- `kmsKeyId`: string — The identifier of the AWS key.

  Amazon Q Business doesn't support asymmetric keys.
