Skip to content
v2.274.0

KeyReference Struct ​

A reference to a Key resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kms as interfaces_kms } from 'aws-cdk-lib/interfaces';
const keyReference: interfaces_kms.KeyReference = {
  keyArn: 'keyArn',
  keyId: 'keyId',
};

Properties ​

keyArnstringkey_arnstrkeyArnStringKeyArnstringKeyArn*stringrequired#
The ARN of the Key resource.
keyIdstringkey_idstrkeyIdStringKeyIdstringKeyId*stringrequired#
The KeyId of the Key resource.