#[non_exhaustive]pub struct ShieldedInstanceConfig {
pub enable_secure_boot: bool,
pub enable_integrity_monitoring: bool,
}Expand description
A set of Shielded Instance options.
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.enable_secure_boot: boolDefines whether the instance has Secure Boot enabled.
Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
enable_integrity_monitoring: boolDefines whether the instance has integrity monitoring enabled.
Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
Implementations§
Source§impl ShieldedInstanceConfig
impl ShieldedInstanceConfig
Sourcepub fn set_enable_secure_boot<T: Into<bool>>(self, v: T) -> Self
pub fn set_enable_secure_boot<T: Into<bool>>(self, v: T) -> Self
Sets the value of enable_secure_boot.
Sourcepub fn set_enable_integrity_monitoring<T: Into<bool>>(self, v: T) -> Self
pub fn set_enable_integrity_monitoring<T: Into<bool>>(self, v: T) -> Self
Sets the value of enable_integrity_monitoring.
Trait Implementations§
Source§impl Clone for ShieldedInstanceConfig
impl Clone for ShieldedInstanceConfig
Source§fn clone(&self) -> ShieldedInstanceConfig
fn clone(&self) -> ShieldedInstanceConfig
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 ShieldedInstanceConfig
impl Debug for ShieldedInstanceConfig
Source§impl Default for ShieldedInstanceConfig
impl Default for ShieldedInstanceConfig
Source§fn default() -> ShieldedInstanceConfig
fn default() -> ShieldedInstanceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShieldedInstanceConfigwhere
ShieldedInstanceConfig: Default,
impl<'de> Deserialize<'de> for ShieldedInstanceConfigwhere
ShieldedInstanceConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ShieldedInstanceConfig
impl Message for ShieldedInstanceConfig
Source§impl PartialEq for ShieldedInstanceConfig
impl PartialEq for ShieldedInstanceConfig
Source§impl Serialize for ShieldedInstanceConfig
impl Serialize for ShieldedInstanceConfig
impl StructuralPartialEq for ShieldedInstanceConfig
Auto Trait Implementations§
impl Freeze for ShieldedInstanceConfig
impl RefUnwindSafe for ShieldedInstanceConfig
impl Send for ShieldedInstanceConfig
impl Sync for ShieldedInstanceConfig
impl Unpin for ShieldedInstanceConfig
impl UnwindSafe for ShieldedInstanceConfig
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