# EncryptionDetailsProperty

Struct · External

Configuration details about encryption for the cluster including the AWS  key ARN, encryption type, and encryption status.

- Source: Generated at build time
- Type last changed: v2.203.0 · 1 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_dsql as dsql } from 'aws-cdk-lib';
const encryptionDetailsProperty: dsql.CfnCluster.EncryptionDetailsProperty = {
  encryptionStatus: 'encryptionStatus',
  encryptionType: 'encryptionType',
  kmsKeyArn: 'kmsKeyArn',
};
```

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_dsql as dsql

encryption_details_property = dsql.CfnCluster.EncryptionDetailsProperty(
    encryption_status="encryptionStatus",
    encryption_type="encryptionType",
    kms_key_arn="kmsKeyArn"
)
```

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

EncryptionDetailsProperty encryptionDetailsProperty = EncryptionDetailsProperty.builder()
        .encryptionStatus("encryptionStatus")
        .encryptionType("encryptionType")
        .kmsKeyArn("kmsKeyArn")
        .build();
```

C#:

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

var encryptionDetailsProperty = new EncryptionDetailsProperty {
    EncryptionStatus = "encryptionStatus",
    EncryptionType = "encryptionType",
    KmsKeyArn = "kmsKeyArn"
};
```

Go:

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

encryptionDetailsProperty := &EncryptionDetailsProperty{
	EncryptionStatus: jsii.String("encryptionStatus"),
	EncryptionType: jsii.String("encryptionType"),
	KmsKeyArn: jsii.String("kmsKeyArn"),
}
```

## Properties

- `encryptionStatus`: string — The status of encryption for the cluster.

- `encryptionType`: string — The type of encryption that protects the data on your cluster.

- `kmsKeyArn`: string — The ARN of the AWS key that encrypts data in the cluster.
