class Amazonite::Kms::ScheduleKeyDeletionResponse

Included Modules

Defined in:

kms/schedule_key_deletion_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(key_id : String | Nil = nil, deletion_date : Time | Nil = nil, key_state : KeyState | Nil = nil, pending_window_in_days : Int32 | Nil = nil) #

[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 deletion_date : Time | Nil #

The date and time after which KMS deletes the KMS key.

If the KMS key is a multi-Region primary key with replica keys, this field does not appear. The deletion date for the primary key isn't known until its last replica key is deleted.


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

The date and time after which KMS deletes the KMS key.

If the KMS key is a multi-Region primary key with replica keys, this field does not appear. The deletion date for the primary key isn't known until its last replica key is deleted.


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

See Object#hash(hasher)


def key_id : String | Nil #

The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.


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

The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.


[View source]
def key_state : KeyState | Nil #

The current status of the KMS key.

For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.


[View source]
def key_state=(key_state : KeyState | Nil) #

The current status of the KMS key.

For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.


[View source]
def pending_window_in_days : Int32 | Nil #

The waiting period before the KMS key is deleted.

If the KMS key is a multi-Region primary key with replicas, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.


[View source]
def pending_window_in_days=(pending_window_in_days : Int32 | Nil) #

The waiting period before the KMS key is deleted.

If the KMS key is a multi-Region primary key with replicas, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.


[View source]
def validate! : Nil #

[View source]