class Amazonite::Kms::DeleteImportedKeyMaterialRequest

Included Modules

Defined in:

kms/delete_imported_key_material_request.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(key_id : String, key_material_id : String | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key_id : String #

Identifies the KMS key from which you are deleting imported key material. The Origin of the KMS key must be EXTERNAL.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.


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

Identifies the KMS key from which you are deleting imported key material. The Origin of the KMS key must be EXTERNAL.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.


[View source]
def key_material_id : String | Nil #

Identifies the imported key material you are deleting.

If no KeyMaterialId is specified, KMS deletes the current key material.

To get the list of key material IDs associated with a KMS key, use ListKeyRotations.


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

Identifies the imported key material you are deleting.

If no KeyMaterialId is specified, KMS deletes the current key material.

To get the list of key material IDs associated with a KMS key, use ListKeyRotations.


[View source]
def validate! : Nil #

[View source]