class Amazonite::Kms::MultiRegionConfiguration

Overview

Describes the configuration of this multi-Region key. This field appears only when the KMS key is a primary or replica of a multi-Region key.

For more information about any listed KMS key, use the DescribeKey operation.

Included Modules

Defined in:

kms/multi_region_configuration.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(multi_region_key_type : MultiRegionKeyType | Nil = nil, primary_key : MultiRegionKey | Nil = nil, replica_keys : Array(MultiRegionKey) | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def multi_region_key_type : MultiRegionKeyType | Nil #

Indicates whether the KMS key is a PRIMARY or REPLICA key.


[View source]
def multi_region_key_type=(multi_region_key_type : MultiRegionKeyType | Nil) #

Indicates whether the KMS key is a PRIMARY or REPLICA key.


[View source]
def primary_key : MultiRegionKey | Nil #

Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.


[View source]
def primary_key=(primary_key : MultiRegionKey | Nil) #

Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.


[View source]
def replica_keys : Array(MultiRegionKey) | Nil #

displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.


[View source]
def replica_keys=(replica_keys : Array(MultiRegionKey) | Nil) #

displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.


[View source]
def validate! : Nil #

[View source]