PatchBaselineApprovalRule class
Constructors
-
PatchBaselineApprovalRule({Input<int?>? approveAfterDays, Input<String?>? approveUntilDate, Input<String?>? complianceLevel, Input<bool?>? enableNonSecurity, required Input<List<PatchBaselineApprovalRulePatchFilter>> patchFilters})
-
Creates a new PatchBaselineApprovalRule.
approveAfterDays 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 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 Compliance level for patches approved by this rule. Valid values are CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, and UNSPECIFIED. The default value is UNSPECIFIED.
enableNonSecurity Boolean enabling the application of non-security updates. The default value is false. Valid for Linux instances only.
patchFilters 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. 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
const
-
PatchBaselineApprovalRule.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
approveAfterDays
→ Input<int?>?
-
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.
final
-
approveUntilDate
→ Input<String?>?
-
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
final
-
complianceLevel
→ Input<String?>?
-
Compliance level for patches approved by this rule. Valid values are
CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, and UNSPECIFIED. The default value is UNSPECIFIED.
final
-
enableNonSecurity
→ Input<bool?>?
-
Boolean enabling the application of non-security updates. The default value is
false. Valid for Linux instances only.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
patchFilters
→ Input<List<PatchBaselineApprovalRulePatchFilter>>
-
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. 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
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited