amazonka-ecr-2.0: Amazon EC2 Container Registry SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECR.Types.Recommendation

Description

 
Synopsis

Documentation

data Recommendation Source #

Details about the recommended course of action to remediate the finding.

See: newRecommendation smart constructor.

Constructors

Recommendation' 

Fields

  • text :: Maybe Text

    The recommended course of action to remediate the finding.

  • url :: Maybe Text

    The URL address to the CVE remediation recommendations.

Instances

Instances details
FromJSON Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

Generic Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

Associated Types

type Rep Recommendation :: Type -> Type #

Read Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

Show Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

NFData Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

Methods

rnf :: Recommendation -> () #

Eq Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

Hashable Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

type Rep Recommendation Source # 
Instance details

Defined in Amazonka.ECR.Types.Recommendation

type Rep Recommendation = D1 ('MetaData "Recommendation" "Amazonka.ECR.Types.Recommendation" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "Recommendation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRecommendation :: Recommendation Source #

Create a value of Recommendation 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:text:Recommendation', recommendation_text - The recommended course of action to remediate the finding.

$sel:url:Recommendation', recommendation_url - The URL address to the CVE remediation recommendations.

recommendation_text :: Lens' Recommendation (Maybe Text) Source #

The recommended course of action to remediate the finding.

recommendation_url :: Lens' Recommendation (Maybe Text) Source #

The URL address to the CVE remediation recommendations.