Struct aws_sdk_secretsmanager::types::ReplicaRegionType
source · #[non_exhaustive]pub struct ReplicaRegionType {
pub region: Option<String>,
pub kms_key_id: Option<String>,
}
Expand description
A custom type that specifies a Region
and the KmsKeyId
for a replica secret.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.region: Option<String>
A Region code. For a list of Region codes, see Name and code of Regions.
kms_key_id: Option<String>
The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager
.
Implementations§
source§impl ReplicaRegionType
impl ReplicaRegionType
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
A Region code. For a list of Region codes, see Name and code of Regions.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager
.
source§impl ReplicaRegionType
impl ReplicaRegionType
sourcepub fn builder() -> ReplicaRegionTypeBuilder
pub fn builder() -> ReplicaRegionTypeBuilder
Creates a new builder-style object to manufacture ReplicaRegionType
.
Trait Implementations§
source§impl Clone for ReplicaRegionType
impl Clone for ReplicaRegionType
source§fn clone(&self) -> ReplicaRegionType
fn clone(&self) -> ReplicaRegionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReplicaRegionType
impl Debug for ReplicaRegionType
source§impl PartialEq for ReplicaRegionType
impl PartialEq for ReplicaRegionType
impl StructuralPartialEq for ReplicaRegionType
Auto Trait Implementations§
impl Freeze for ReplicaRegionType
impl RefUnwindSafe for ReplicaRegionType
impl Send for ReplicaRegionType
impl Sync for ReplicaRegionType
impl Unpin for ReplicaRegionType
impl UnwindSafe for ReplicaRegionType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.