pub struct KeyCreationInput {
pub description: String,
pub key_usage: String,
pub key_spec: String,
pub origin: String,
pub enabled: bool,
pub multi_region: bool,
pub key_rotation_enabled: bool,
pub policy: Option<String>,
pub tags: BTreeMap<String, String>,
}Expand description
Inputs accepted by build_kms_key. Mirrors the subset of
AWS::KMS::Key properties + CreateKey request fields that
fakecloud honours. Defaults match AWS: key_usage = ENCRYPT_DECRYPT, key_spec = SYMMETRIC_DEFAULT, origin = AWS_KMS, enabled = true.
Fields§
§description: String§key_usage: String§key_spec: String§origin: String§enabled: bool§multi_region: bool§key_rotation_enabled: bool§policy: Option<String>Trait Implementations§
Source§impl Clone for KeyCreationInput
impl Clone for KeyCreationInput
Source§fn clone(&self) -> KeyCreationInput
fn clone(&self) -> KeyCreationInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyCreationInput
impl Debug for KeyCreationInput
Auto Trait Implementations§
impl Freeze for KeyCreationInput
impl RefUnwindSafe for KeyCreationInput
impl Send for KeyCreationInput
impl Sync for KeyCreationInput
impl Unpin for KeyCreationInput
impl UnsafeUnpin for KeyCreationInput
impl UnwindSafe for KeyCreationInput
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