PatchRule

public struct PatchRule : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let approveAfterDays: Int?
  • 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.

    Declaration

    Swift

    public let approveUntilDate: String?
  • A compliance severity level for all approved patches in a patch baseline.

    Declaration

    Swift

    public let complianceLevel: PatchComplianceLevel?
  • 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.

    Declaration

    Swift

    public let enableNonSecurity: Bool?
  • The patch filter group that defines the criteria for the rule.

    Declaration

    Swift

    public let patchFilterGroup: PatchFilterGroup
  • Undocumented

    Declaration

    Swift

    public init(approveAfterDays: Int? = nil, approveUntilDate: String? = nil, complianceLevel: PatchComplianceLevel? = nil, enableNonSecurity: Bool? = nil, patchFilterGroup: PatchFilterGroup)
  • Declaration

    Swift

    public func validate(name: String) throws