PatchBaselineState constructor

const PatchBaselineState({
  1. Input<List<PatchBaselineApprovalRule>?>? approvalRules,
  2. Input<List<String>?>? approvedPatches,
  3. Input<String?>? approvedPatchesComplianceLevel,
  4. Input<bool?>? approvedPatchesEnableNonSecurity,
  5. Input<String?>? arn,
  6. Input<String?>? availableSecurityUpdatesComplianceStatus,
  7. Input<String?>? description,
  8. Input<List<PatchBaselineGlobalFilter>?>? globalFilters,
  9. Input<String?>? json,
  10. Input<String?>? name,
  11. Input<String?>? operatingSystem,
  12. Input<String?>? region,
  13. Input<List<String>?>? rejectedPatches,
  14. Input<String?>? rejectedPatchesAction,
  15. Input<List<PatchBaselineSource>?>? sources,
  16. Input<Map<String, String>?>? tags,
  17. Input<Map<String, String>?>? tagsAll,
})

Creates a new PatchBaselineState. approvalRules Set of rules used to include patches in the baseline. Up to 10 approval rules can be specified. See approvalRule below. approvedPatches List of explicitly approved patches for the baseline. Cannot be specified with approvalRule. approvedPatchesComplianceLevel Compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid values are CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED. approvedPatchesEnableNonSecurity Whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only. arn ARN of the baseline. availableSecurityUpdatesComplianceStatus Indicates the compliance status of managed nodes for which security-related patches are available but were not approved. Supported for Windows Server managed nodes only. Valid values are COMPLIANT, NON_COMPLIANT. description Description of the patch baseline. globalFilters Set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are PRODUCT, CLASSIFICATION, MSRC_SEVERITY, and PATCH_ID. json JSON definition of the baseline. name Name of the patch baseline. operatingSystem Operating system the patch baseline applies to. Valid values are ALMA_LINUX, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, AMAZON_LINUX_2023, CENTOS, DEBIAN, MACOS, ORACLE_LINUX, RASPBIAN, REDHAT_ENTERPRISE_LINUX, ROCKY_LINUX, SUSE, UBUNTU, and WINDOWS. The default value is WINDOWS. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. rejectedPatches List of rejected patches. rejectedPatchesAction Action for Patch Manager to take on patches included in the rejectedPatches list. Valid values are ALLOW_AS_DEPENDENCY and BLOCK. sources Configuration block with alternate sources for patches. Applies to Linux instances only. See source below. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const PatchBaselineState({
  this.approvalRules,
  this.approvedPatches,
  this.approvedPatchesComplianceLevel,
  this.approvedPatchesEnableNonSecurity,
  this.arn,
  this.availableSecurityUpdatesComplianceStatus,
  this.description,
  this.globalFilters,
  this.json,
  this.name,
  this.operatingSystem,
  this.region,
  this.rejectedPatches,
  this.rejectedPatchesAction,
  this.sources,
  this.tags,
  this.tagsAll,
});