PatchBaselineState class
Input properties used for looking up and filtering PatchBaseline resources.
Constructors
-
PatchBaselineState({Input<
List< ? approvalRules, Input<PatchBaselineApprovalRule> ?>List< ? approvedPatches, Input<String> ?>String?> ? approvedPatchesComplianceLevel, Input<bool?> ? approvedPatchesEnableNonSecurity, Input<String?> ? arn, Input<String?> ? availableSecurityUpdatesComplianceStatus, Input<String?> ? description, Input<List< ? globalFilters, Input<PatchBaselineGlobalFilter> ?>String?> ? json, Input<String?> ? name, Input<String?> ? operatingSystem, Input<String?> ? region, Input<List< ? rejectedPatches, Input<String> ?>String?> ? rejectedPatchesAction, Input<List< ? sources, Input<PatchBaselineSource> ?>Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new PatchBaselineState.
approvalRulesSet of rules used to include patches in the baseline. Up to 10 approval rules can be specified. SeeapprovalRulebelow.approvedPatchesList of explicitly approved patches for the baseline. Cannot be specified withapprovalRule.approvedPatchesComplianceLevelCompliance 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 areCRITICAL,HIGH,MEDIUM,LOW,INFORMATIONAL,UNSPECIFIED. The default value isUNSPECIFIED.approvedPatchesEnableNonSecurityWhether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.arnARN of the baseline.availableSecurityUpdatesComplianceStatusIndicates 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 areCOMPLIANT,NON_COMPLIANT.descriptionDescription of the patch baseline.globalFiltersSet of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys arePRODUCT,CLASSIFICATION,MSRC_SEVERITY, andPATCH_ID.jsonJSON definition of the baseline.nameName of the patch baseline.operatingSystemOperating system the patch baseline applies to. Valid values areALMA_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, andWINDOWS. The default value isWINDOWS.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.rejectedPatchesList of rejected patches.rejectedPatchesActionAction for Patch Manager to take on patches included in therejectedPatcheslist. Valid values areALLOW_AS_DEPENDENCYandBLOCK.sourcesConfiguration block with alternate sources for patches. Applies to Linux instances only. Seesourcebelow.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.const -
PatchBaselineState.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
approvalRulebelow.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 isUNSPECIFIED.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
-
arn
→ Input<
String?> ? -
ARN of the baseline.
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, andPATCH_ID.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
json
→ Input<
String?> ? -
JSON definition of the baseline.
final
-
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, andWINDOWS. The default value isWINDOWS.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
rejectedPatcheslist. Valid values areALLOW_AS_DEPENDENCYandBLOCK.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
sourcebelow.final -
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.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