[][src]Struct rusoto_ssm::PatchRule

pub struct PatchRule {
    pub approve_after_days: Option<i64>,
    pub approve_until_date: Option<String>,
    pub compliance_level: Option<String>,
    pub enable_non_security: Option<bool>,
    pub patch_filter_group: PatchFilterGroup,
}

Defines an approval rule for a patch baseline.

Fields

approve_after_days: Option<i64>

The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7 means that patches are approved seven days after they are released. Not supported on Ubuntu Server.

approve_until_date: Option<String>

The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Ubuntu Server.

Enter dates in the format YYYY-MM-DD. For example, 2020-12-31.

compliance_level: Option<String>

A compliance severity level for all approved patches in a patch baseline.

enable_non_security: Option<bool>

For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is 'false'. Applies to Linux instances only.

patch_filter_group: PatchFilterGroup

The patch filter group that defines the criteria for the rule.

Trait Implementations

impl Clone for PatchRule[src]

impl Debug for PatchRule[src]

impl Default for PatchRule[src]

impl<'de> Deserialize<'de> for PatchRule[src]

impl PartialEq<PatchRule> for PatchRule[src]

impl Serialize for PatchRule[src]

impl StructuralPartialEq for PatchRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.