KMSCMKDeletion
- class aws_cdk.mixins_preview.aws_kms.events.KMSCMKDeletion
Bases:
object(experimental) EventBridge event pattern for aws.kms@KMSCMKDeletion.
- Stability:
experimental
- 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.mixins_preview.aws_kms import events as kms_events k_mSCMKDeletion = kms_events.KMSCMKDeletion()
- Stability:
experimental
Static Methods
- classmethod kms_cmk_deletion_pattern(*, event_metadata=None, key_id=None)
(experimental) EventBridge event pattern for KMS CMK Deletion.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -key_id (
Optional[Sequence[str]]) – (experimental) key-id property. Specify an array of string values to match this event if the actual value of key-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Key reference
- Stability:
experimental
- Return type:
KMSCMKDeletionProps
- class KMSCMKDeletion.KMSCMKDeletionProps(*, event_metadata=None, key_id=None)
Bases:
object(experimental) Props type for aws.kms@KMSCMKDeletion event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -key_id (
Optional[Sequence[str]]) – (experimental) key-id property. Specify an array of string values to match this event if the actual value of key-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Key reference
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_kms import events as kms_events k_mSCMKDeletion_props = kms_events.KMSCMKDeletion.KMSCMKDeletionProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), key_id=["keyId"] )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- key_id
(experimental) key-id property.
Specify an array of string values to match this event if the actual value of key-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Key reference
- Stability:
experimental