Skip to content

KMS  >  Structures  >  KeyLastUsageData

KeyLastUsageData

Structure Class

KeyLastUsageData dataclass

Bases: _SerdeShape

Contains usage information about the last time the KMS key was used for a successful cryptographic operation.

Attributes

cloud_trail_event_id class-attribute instance-attribute
cloud_trail_event_id: str | None = ...

The CloudTrail eventId associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

kms_request_id class-attribute instance-attribute
kms_request_id: str | None = ...

The KMS request ID associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

operation class-attribute instance-attribute
operation: str | None = ...

The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.

timestamp class-attribute instance-attribute
timestamp: datetime | None = ...

The date and time when the KMS key was most recently used for a successful cryptographic operation. Absent if the key has not been used since KMS began tracking.