pub struct KeyUpdate {
pub description: Option<String>,
pub enabled: Option<bool>,
pub key_rotation_enabled: Option<bool>,
pub policy: Option<String>,
pub tags: Option<BTreeMap<String, String>>,
}Expand description
Mutable updates to apply to an existing key. Each Option field
is “leave alone if None, replace with this value if Some”,
mirroring the AWS update semantics where unspecified fields are
untouched. Properties that AWS treats as immutable (KeySpec,
KeyUsage, Origin, MultiRegion) aren’t representable here —
the caller is expected to detect those changes and trigger
resource replacement.
Fields§
§description: Option<String>§enabled: Option<bool>§key_rotation_enabled: Option<bool>§policy: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyUpdate
impl RefUnwindSafe for KeyUpdate
impl Send for KeyUpdate
impl Sync for KeyUpdate
impl Unpin for KeyUpdate
impl UnsafeUnpin for KeyUpdate
impl UnwindSafe for KeyUpdate
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