libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.Types.PatchRule

Description

 
Synopsis

Documentation

data PatchRule Source #

Defines an approval rule for a patch baseline.

See: newPatchRule smart constructor.

Constructors

PatchRule' 

Fields

  • approveAfterDays :: Maybe Natural

    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 Debian Server or Ubuntu Server.

  • approveUntilDate :: Maybe Text

    The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

    Enter dates in the format YYYY-MM-DD. For example, 2021-12-31.

  • enableNonSecurity :: Maybe Bool

    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.

  • complianceLevel :: Maybe PatchComplianceLevel

    A compliance severity level for all approved patches in a patch baseline.

  • patchFilterGroup :: PatchFilterGroup

    The patch filter group that defines the criteria for the rule.

Instances

Instances details
Eq PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

Read PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

Show PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

Generic PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

Associated Types

type Rep PatchRule :: Type -> Type #

NFData PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

Methods

rnf :: PatchRule -> () #

Hashable PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

ToJSON PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

FromJSON PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

type Rep PatchRule Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchRule

type Rep PatchRule = D1 ('MetaData "PatchRule" "Amazonka.SSM.Types.PatchRule" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "PatchRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "approveAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "approveUntilDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "enableNonSecurity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "complianceLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PatchComplianceLevel)) :*: S1 ('MetaSel ('Just "patchFilterGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PatchFilterGroup)))))

newPatchRule Source #

Create a value of PatchRule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:approveAfterDays:PatchRule', patchRule_approveAfterDays - 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 Debian Server or Ubuntu Server.

$sel:approveUntilDate:PatchRule', patchRule_approveUntilDate - The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

Enter dates in the format YYYY-MM-DD. For example, 2021-12-31.

$sel:enableNonSecurity:PatchRule', patchRule_enableNonSecurity - 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.

$sel:complianceLevel:PatchRule', patchRule_complianceLevel - A compliance severity level for all approved patches in a patch baseline.

$sel:patchFilterGroup:PatchRule', patchRule_patchFilterGroup - The patch filter group that defines the criteria for the rule.

patchRule_approveAfterDays :: Lens' PatchRule (Maybe Natural) Source #

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 Debian Server or Ubuntu Server.

patchRule_approveUntilDate :: Lens' PatchRule (Maybe Text) Source #

The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

Enter dates in the format YYYY-MM-DD. For example, 2021-12-31.

patchRule_enableNonSecurity :: Lens' PatchRule (Maybe Bool) Source #

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.

patchRule_complianceLevel :: Lens' PatchRule (Maybe PatchComplianceLevel) Source #

A compliance severity level for all approved patches in a patch baseline.

patchRule_patchFilterGroup :: Lens' PatchRule PatchFilterGroup Source #

The patch filter group that defines the criteria for the rule.