# EncryptionConfigProperty

The encryption configuration for the cluster.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const encryptionConfigProperty: eks_v2.CfnCluster.EncryptionConfigProperty = {
  provider: {
    keyArn: 'keyArn',
  },
  resources: ['resources'],
};
```

## Properties

- `provider`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.ProviderProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_eks_v2.CfnCluster.ProviderProperty.html) — The encryption provider for the cluster.

- `resources`: string[] — Specifies the resources to be encrypted.

  The only supported value is `secrets` .
