Class PatchBaselineApprovalRule


  • public final class PatchBaselineApprovalRule
    extends java.lang.Object
    • Method Detail

      • approveAfterDays

        public java.util.Optional<java.lang.Integer> approveAfterDays()
        Returns:
        Number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 360. Conflicts with `approveUntilDate`.
      • approveUntilDate

        public java.util.Optional<java.lang.String> approveUntilDate()
        Returns:
        Cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays`
      • complianceLevel

        public java.util.Optional<java.lang.String> complianceLevel()
        Returns:
        Compliance level for patches approved by this rule. Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, and `UNSPECIFIED`. The default value is `UNSPECIFIED`.
      • enableNonSecurity

        public java.util.Optional<java.lang.Boolean> enableNonSecurity()
        Returns:
        Boolean enabling the application of non-security updates. The default value is `false`. Valid for Linux instances only.
      • patchFilters

        public java.util.List<PatchBaselineApprovalRulePatchFilter> patchFilters()
        Returns:
        Patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values. `PATCH_SET` defaults to `OS` if unspecified