PatchBaselineArgs class

The set of arguments for PatchBaseline. The set of arguments for PatchBaseline.

Constructors

PatchBaselineArgs({Input<List<PatchBaselineApprovalRule>?>? approvalRules, Input<List<String>?>? approvedPatches, Input<String?>? approvedPatchesComplianceLevel, Input<bool?>? approvedPatchesEnableNonSecurity, Input<String?>? availableSecurityUpdatesComplianceStatus, Input<String?>? description, Input<List<PatchBaselineGlobalFilter>?>? globalFilters, Input<String?>? name, Input<String?>? operatingSystem, Input<String?>? region, Input<List<String>?>? rejectedPatches, Input<String?>? rejectedPatchesAction, Input<List<PatchBaselineSource>?>? sources, Input<Map<String, String>?>? tags})
Creates a new PatchBaselineArgs. 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. 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. 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.
const
PatchBaselineArgs.fromMap(Map<String, dynamic> map)
factory

Properties

approvalRules → Input<List<PatchBaselineApprovalRule>?>?
Set of rules used to include patches in the baseline. Up to 10 approval rules can be specified. See approvalRule below.
final
approvedPatches → Input<List<String>?>?
List of explicitly approved patches for the baseline. Cannot be specified with approvalRule.
final
approvedPatchesComplianceLevel → Input<String?>?
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.
final
approvedPatchesEnableNonSecurity → Input<bool?>?
Whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.
final
availableSecurityUpdatesComplianceStatus → Input<String?>?
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.
final
description → Input<String?>?
Description of the patch baseline.
final
globalFilters → Input<List<PatchBaselineGlobalFilter>?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the patch baseline.
final
operatingSystem → Input<String?>?
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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
rejectedPatches → Input<List<String>?>?
List of rejected patches.
final
rejectedPatchesAction → Input<String?>?
Action for Patch Manager to take on patches included in the rejectedPatches list. Valid values are ALLOW_AS_DEPENDENCY and BLOCK.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources → Input<List<PatchBaselineSource>?>?
Configuration block with alternate sources for patches. Applies to Linux instances only. See source below.
final
tags → Input<Map<String, String>?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited