Struct aws_sdk_kms::types::MultiRegionConfiguration
source · #[non_exhaustive]pub struct MultiRegionConfiguration {
pub multi_region_key_type: Option<MultiRegionKeyType>,
pub primary_key: Option<MultiRegionKey>,
pub replica_keys: Option<Vec<MultiRegionKey>>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.multi_region_key_type: Option<MultiRegionKeyType>
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
primary_key: Option<MultiRegionKey>
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
replica_keys: Option<Vec<MultiRegionKey>>
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
Implementations§
source§impl MultiRegionConfiguration
impl MultiRegionConfiguration
sourcepub fn multi_region_key_type(&self) -> Option<&MultiRegionKeyType>
pub fn multi_region_key_type(&self) -> Option<&MultiRegionKeyType>
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
sourcepub fn primary_key(&self) -> Option<&MultiRegionKey>
pub fn primary_key(&self) -> Option<&MultiRegionKey>
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
sourcepub fn replica_keys(&self) -> &[MultiRegionKey]
pub fn replica_keys(&self) -> &[MultiRegionKey]
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replica_keys.is_none()
.
source§impl MultiRegionConfiguration
impl MultiRegionConfiguration
sourcepub fn builder() -> MultiRegionConfigurationBuilder
pub fn builder() -> MultiRegionConfigurationBuilder
Creates a new builder-style object to manufacture MultiRegionConfiguration
.
Trait Implementations§
source§impl Clone for MultiRegionConfiguration
impl Clone for MultiRegionConfiguration
source§fn clone(&self) -> MultiRegionConfiguration
fn clone(&self) -> MultiRegionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MultiRegionConfiguration
impl Debug for MultiRegionConfiguration
source§impl PartialEq for MultiRegionConfiguration
impl PartialEq for MultiRegionConfiguration
source§fn eq(&self, other: &MultiRegionConfiguration) -> bool
fn eq(&self, other: &MultiRegionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.