Struct aws_sdk_secretsmanager::operation::replicate_secret_to_regions::ReplicateSecretToRegionsInput
source · #[non_exhaustive]pub struct ReplicateSecretToRegionsInput {
pub secret_id: Option<String>,
pub add_replica_regions: Option<Vec<ReplicaRegionType>>,
pub force_overwrite_replica_secret: Option<bool>,
}
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.secret_id: Option<String>
The ARN or name of the secret to replicate.
add_replica_regions: Option<Vec<ReplicaRegionType>>
A list of Regions in which to replicate the secret.
force_overwrite_replica_secret: Option<bool>
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
Implementations§
source§impl ReplicateSecretToRegionsInput
impl ReplicateSecretToRegionsInput
sourcepub fn add_replica_regions(&self) -> &[ReplicaRegionType]
pub fn add_replica_regions(&self) -> &[ReplicaRegionType]
A list of Regions in which to replicate the secret.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_replica_regions.is_none()
.
sourcepub fn force_overwrite_replica_secret(&self) -> Option<bool>
pub fn force_overwrite_replica_secret(&self) -> Option<bool>
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
source§impl ReplicateSecretToRegionsInput
impl ReplicateSecretToRegionsInput
sourcepub fn builder() -> ReplicateSecretToRegionsInputBuilder
pub fn builder() -> ReplicateSecretToRegionsInputBuilder
Creates a new builder-style object to manufacture ReplicateSecretToRegionsInput
.
Trait Implementations§
source§impl Clone for ReplicateSecretToRegionsInput
impl Clone for ReplicateSecretToRegionsInput
source§fn clone(&self) -> ReplicateSecretToRegionsInput
fn clone(&self) -> ReplicateSecretToRegionsInput
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 PartialEq for ReplicateSecretToRegionsInput
impl PartialEq for ReplicateSecretToRegionsInput
source§fn eq(&self, other: &ReplicateSecretToRegionsInput) -> bool
fn eq(&self, other: &ReplicateSecretToRegionsInput) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReplicateSecretToRegionsInput
Auto Trait Implementations§
impl Freeze for ReplicateSecretToRegionsInput
impl RefUnwindSafe for ReplicateSecretToRegionsInput
impl Send for ReplicateSecretToRegionsInput
impl Sync for ReplicateSecretToRegionsInput
impl Unpin for ReplicateSecretToRegionsInput
impl UnwindSafe for ReplicateSecretToRegionsInput
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.