Skip to content
v2.276.0

KeyConfigurationProperty Struct ​

Example ​

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
# 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
// 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();
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"
};
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 ​

keyTypeoptionalstringkey_typeoptionalstrkeyTypeoptionalStringKeyTypeoptionalstringKeyTypeoptional*string#
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string#