# EncryptionConfigProperty

The encryption configuration for the cluster.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const encryptionConfigProperty: eks.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.CfnCluster.ProviderProperty.html) — The encryption provider for the cluster.

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

  The only supported value is `secrets` .
