KeyReference
- class aws_cdk.aws_kms.KeyReference(*, key_arn, key_id)
Bases:
object
A reference to a Key resource.
- Parameters:
key_arn (
str
) – The ARN of the Key resource.key_id (
str
) – The KeyId of the Key resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_kms as kms key_reference = kms.KeyReference( key_arn="keyArn", key_id="keyId" )
Attributes
- key_arn
The ARN of the Key resource.
- key_id
The KeyId of the Key resource.