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.PatchFilter

Description

 
Synopsis

Documentation

data PatchFilter Source #

Defines which patches should be included in a patch baseline.

A patch filter consists of a key and a set of values. The filter key is a patch property. For example, the available filter keys for WINDOWS are PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, and MSRC_SEVERITY.

The filter values define a matching criterion for the patch property indicated by the key. For example, if the filter key is PRODUCT and the filter values are ["Office 2013", "Office 2016"], then the filter accepts all patches where product name is either "Office 2013" or "Office 2016". The filter values can be exact values for the patch property given as a key, or a wildcard (*), which matches all values.

You can view lists of valid values for the patch properties by running the DescribePatchProperties command. For information about which patch properties can be used with each major operating system, see DescribePatchProperties.

See: newPatchFilter smart constructor.

Constructors

PatchFilter' 

Fields

  • key :: PatchFilterKey

    The key for the filter.

    Run the DescribePatchProperties command to view lists of valid keys for each operating system type.

  • values :: NonEmpty Text

    The value for the filter key.

    Run the DescribePatchProperties command to view lists of valid values for each key based on operating system type.

Instances

Instances details
Eq PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

Read PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

Show PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

Generic PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

Associated Types

type Rep PatchFilter :: Type -> Type #

NFData PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

Methods

rnf :: PatchFilter -> () #

Hashable PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

ToJSON PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

FromJSON PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

type Rep PatchFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchFilter

type Rep PatchFilter = D1 ('MetaData "PatchFilter" "Amazonka.SSM.Types.PatchFilter" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "PatchFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PatchFilterKey) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newPatchFilter Source #

Create a value of PatchFilter 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:key:PatchFilter', patchFilter_key - The key for the filter.

Run the DescribePatchProperties command to view lists of valid keys for each operating system type.

$sel:values:PatchFilter', patchFilter_values - The value for the filter key.

Run the DescribePatchProperties command to view lists of valid values for each key based on operating system type.

patchFilter_key :: Lens' PatchFilter PatchFilterKey Source #

The key for the filter.

Run the DescribePatchProperties command to view lists of valid keys for each operating system type.

patchFilter_values :: Lens' PatchFilter (NonEmpty Text) Source #

The value for the filter key.

Run the DescribePatchProperties command to view lists of valid values for each key based on operating system type.