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

Description

 
Synopsis

Documentation

data PatchSource Source #

Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only.

See: newPatchSource smart constructor.

Constructors

PatchSource' 

Fields

  • name :: Text

    The name specified to identify the patch source.

  • products :: NonEmpty Text

    The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see PatchFilter.

  • configuration :: Sensitive Text

    The value of the yum repo configuration. For example:

    [main]
    name=MyCustomRepository
    baseurl=https://my-custom-repository
    enabled=1

    For information about other options available for your yum repository configuration, see dnf.conf(5).

Instances

Instances details
Eq PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

Show PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

Generic PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

Associated Types

type Rep PatchSource :: Type -> Type #

NFData PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

Methods

rnf :: PatchSource -> () #

Hashable PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

ToJSON PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

FromJSON PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

type Rep PatchSource Source # 
Instance details

Defined in Amazonka.SSM.Types.PatchSource

type Rep PatchSource = D1 ('MetaData "PatchSource" "Amazonka.SSM.Types.PatchSource" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "PatchSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "products") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))

newPatchSource Source #

Create a value of PatchSource 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:name:PatchSource', patchSource_name - The name specified to identify the patch source.

$sel:products:PatchSource', patchSource_products - The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see PatchFilter.

$sel:configuration:PatchSource', patchSource_configuration - The value of the yum repo configuration. For example:

[main]
name=MyCustomRepository
baseurl=https://my-custom-repository
enabled=1

For information about other options available for your yum repository configuration, see dnf.conf(5).

patchSource_name :: Lens' PatchSource Text Source #

The name specified to identify the patch source.

patchSource_products :: Lens' PatchSource (NonEmpty Text) Source #

The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see PatchFilter.

patchSource_configuration :: Lens' PatchSource Text Source #

The value of the yum repo configuration. For example:

[main]
name=MyCustomRepository
baseurl=https://my-custom-repository
enabled=1

For information about other options available for your yum repository configuration, see dnf.conf(5).