# KeyConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const keyConfigurationProperty: cognito.CfnUserPool.KeyConfigurationProperty = {
  keyType: 'keyType',
  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_cognito as cognito

key_configuration_property = cognito.CfnUserPool.KeyConfigurationProperty(
    key_type="keyType",
    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.cognito.*;

KeyConfigurationProperty keyConfigurationProperty = KeyConfigurationProperty.builder()
        .keyType("keyType")
        .kmsKeyArn("kmsKeyArn")
        .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.Cognito;

var keyConfigurationProperty = new KeyConfigurationProperty {
    KeyType = "keyType",
    KmsKeyArn = "kmsKeyArn"
};
```

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"

keyConfigurationProperty := &KeyConfigurationProperty{
	KeyType: jsii.String("keyType"),
	KmsKeyArn: jsii.String("kmsKeyArn"),
}
```

## Properties

- `keyType`: string

- `kmsKeyArn`: string
