KMSImportedKeyMaterialExpiration

class aws_cdk.mixins_preview.aws_kms.events.KMSImportedKeyMaterialExpiration

Bases: object

(experimental) EventBridge event pattern for aws.kms@KMSImportedKeyMaterialExpiration.

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_mSImported_key_material_expiration = kms_events.KMSImportedKeyMaterialExpiration()
Stability:

experimental

Static Methods

classmethod kms_imported_key_material_expiration_pattern(*, event_metadata=None, key_id=None)

(experimental) EventBridge event pattern for KMS Imported Key Material Expiration.

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 the aws_events.Match for more advanced matching options. Default: - Filter with the Key reference

Stability:

experimental

Return type:

EventPattern

KMSImportedKeyMaterialExpirationProps

class KMSImportedKeyMaterialExpiration.KMSImportedKeyMaterialExpirationProps(*, event_metadata=None, key_id=None)

Bases: object

(experimental) Props type for aws.kms@KMSImportedKeyMaterialExpiration 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 the aws_events.Match for 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_mSImported_key_material_expiration_props = kms_events.KMSImportedKeyMaterialExpiration.KMSImportedKeyMaterialExpirationProps(
    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.Match for more advanced matching options.

Default:
  • Filter with the Key reference

Stability:

experimental