Interface KeyReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:44.206Z")
@Stability(Stable)
public interface KeyReference
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kms.*;
KeyReference keyReference = KeyReference.builder()
.keyArn("keyArn")
.keyId("keyId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKeyReferencestatic final classAn implementation forKeyReference -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyArn
The ARN of the Key resource. -
getKeyId
The KeyId of the Key resource. -
builder
- Returns:
- a
KeyReference.BuilderofKeyReference
-