interface KeyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.KMS.KeyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awskms#KeyReference |
Java | software.amazon.awscdk.interfaces.kms.KeyReference |
Python | aws_cdk.interfaces.aws_kms.KeyReference |
TypeScript | aws-cdk-lib » interfaces » aws_kms » KeyReference |
A reference to a Key resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kms as interfaces_aws_kms } from 'aws-cdk-lib/interfaces';
const keyReference: interfaces_aws_kms.KeyReference = {
keyArn: 'keyArn',
keyId: 'keyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string | The ARN of the Key resource. |
| key | string | The KeyId of the Key resource. |
keyArn
Type:
string
The ARN of the Key resource.
keyId
Type:
string
The KeyId of the Key resource.

.NET
Go
Java
Python
TypeScript