class Amazonite::Kms::KeyLastUsageData

Overview

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

Included Modules

Defined in:

kms/key_last_usage_data.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(operation : KeyLastUsageTrackingOperation | Nil = nil, timestamp : Time | Nil = nil, cloud_trail_event_id : String | Nil = nil, kms_request_id : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def cloud_trail_event_id : String | Nil #

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


[View source]
def cloud_trail_event_id=(cloud_trail_event_id : String | Nil) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def kms_request_id : String | Nil #

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


[View source]
def kms_request_id=(kms_request_id : String | Nil) #

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


[View source]
def operation : KeyLastUsageTrackingOperation | Nil #

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


[View source]
def operation=(operation : KeyLastUsageTrackingOperation | Nil) #

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


[View source]
def timestamp : Time | Nil #

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.


[View source]
def timestamp=(timestamp : Time | Nil) #

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.


[View source]
def validate! : Nil #

[View source]