Class KeyEvents
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:27.642Z")
@Stability(Experimental)
public class KeyEvents
extends software.amazon.jsii.JsiiObject
(experimental) EventBridge event patterns for Key.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.mixins.preview.services.kms.events.*; import software.amazon.awscdk.interfaces.kms.*; IKeyRef keyRef; KeyEvents keyEvents = KeyEvents.fromKey(keyRef);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(experimental) aws.kms@AWSAPICallViaCloudTrail event types for Key.static class(experimental) aws.kms@KMSCMKDeletion event types for Key.static class(experimental) aws.kms@KMSCMKRotation event types for Key.static class(experimental) aws.kms@KMSImportedKeyMaterialExpiration event types for Key.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(experimental) EventBridge event pattern for Key AWS API Call via CloudTrail.awsAPICallViaCloudTrailPattern(KeyEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps options) (experimental) EventBridge event pattern for Key AWS API Call via CloudTrail.static KeyEvents(experimental) Create KeyEvents from a Key reference.(experimental) EventBridge event pattern for Key KMS CMK Deletion.(experimental) EventBridge event pattern for Key KMS CMK Deletion.(experimental) EventBridge event pattern for Key KMS CMK Rotation.(experimental) EventBridge event pattern for Key KMS CMK Rotation.(experimental) EventBridge event pattern for Key KMS Imported Key Material Expiration.kMSImportedKeyMaterialExpirationPattern(KeyEvents.KMSImportedKeyMaterialExpiration.KMSImportedKeyMaterialExpirationProps options) (experimental) EventBridge event pattern for Key KMS Imported Key Material Expiration.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
KeyEvents
protected KeyEvents(software.amazon.jsii.JsiiObjectRef objRef) -
KeyEvents
protected KeyEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromKey
(experimental) Create KeyEvents from a Key reference.- Parameters:
keyRef- This parameter is required.
-
awsAPICallViaCloudTrailPattern
@Stability(Experimental) @NotNull public EventPattern awsAPICallViaCloudTrailPattern(@Nullable KeyEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps options) (experimental) EventBridge event pattern for Key AWS API Call via CloudTrail.- Parameters:
options-
-
awsAPICallViaCloudTrailPattern
(experimental) EventBridge event pattern for Key AWS API Call via CloudTrail. -
kMSCMKDeletionPattern
@Stability(Experimental) @NotNull public EventPattern kMSCMKDeletionPattern(@Nullable KeyEvents.KMSCMKDeletion.KMSCMKDeletionProps options) (experimental) EventBridge event pattern for Key KMS CMK Deletion.- Parameters:
options-
-
kMSCMKDeletionPattern
(experimental) EventBridge event pattern for Key KMS CMK Deletion. -
kMSCMKRotationPattern
@Stability(Experimental) @NotNull public EventPattern kMSCMKRotationPattern(@Nullable KeyEvents.KMSCMKRotation.KMSCMKRotationProps options) (experimental) EventBridge event pattern for Key KMS CMK Rotation.- Parameters:
options-
-
kMSCMKRotationPattern
(experimental) EventBridge event pattern for Key KMS CMK Rotation. -
kMSImportedKeyMaterialExpirationPattern
@Stability(Experimental) @NotNull public EventPattern kMSImportedKeyMaterialExpirationPattern(@Nullable KeyEvents.KMSImportedKeyMaterialExpiration.KMSImportedKeyMaterialExpirationProps options) (experimental) EventBridge event pattern for Key KMS Imported Key Material Expiration.- Parameters:
options-
-
kMSImportedKeyMaterialExpirationPattern
(experimental) EventBridge event pattern for Key KMS Imported Key Material Expiration.
-