amazonka-resiliencehub-2.0: Amazon Resilience Hub 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.ResilienceHub.Types.ConfigRecommendation

Description

 
Synopsis

Documentation

data ConfigRecommendation Source #

Defines a configuration recommendation.

See: newConfigRecommendation smart constructor.

Constructors

ConfigRecommendation' 

Fields

Instances

Instances details
FromJSON ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

Generic ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

Associated Types

type Rep ConfigRecommendation :: Type -> Type #

Read ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

Show ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

NFData ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

Methods

rnf :: ConfigRecommendation -> () #

Eq ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

Hashable ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

type Rep ConfigRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.ConfigRecommendation

type Rep ConfigRecommendation = D1 ('MetaData "ConfigRecommendation" "Amazonka.ResilienceHub.Types.ConfigRecommendation" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ConfigRecommendation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "appComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "compliance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap DisruptionType DisruptionCompliance)))) :*: (S1 ('MetaSel ('Just "cost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cost)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "haArchitecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HaArchitecture))))) :*: ((S1 ('MetaSel ('Just "recommendationCompliance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap DisruptionType RecommendationDisruptionCompliance))) :*: S1 ('MetaSel ('Just "suggestedChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "optimizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConfigRecommendationOptimizationType) :*: S1 ('MetaSel ('Just "referenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newConfigRecommendation Source #

Create a value of ConfigRecommendation 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:appComponentName:ConfigRecommendation', configRecommendation_appComponentName - The application component name.

$sel:compliance:ConfigRecommendation', configRecommendation_compliance - The current compliance against the resiliency policy before applying the configuration change.

$sel:cost:ConfigRecommendation', configRecommendation_cost - The cost for the application.

$sel:description:ConfigRecommendation', configRecommendation_description - The optional description for an app.

$sel:haArchitecture:ConfigRecommendation', configRecommendation_haArchitecture - The architecture type.

$sel:recommendationCompliance:ConfigRecommendation', configRecommendation_recommendationCompliance - The expected compliance against the resiliency policy after applying the configuration change.

$sel:suggestedChanges:ConfigRecommendation', configRecommendation_suggestedChanges - List of the suggested configuration changes.

$sel:name:ConfigRecommendation', configRecommendation_name - The name of the recommendation configuration.

$sel:optimizationType:ConfigRecommendation', configRecommendation_optimizationType - The type of optimization.

$sel:referenceId:ConfigRecommendation', configRecommendation_referenceId - The reference identifier for the recommendation configuration.

configRecommendation_compliance :: Lens' ConfigRecommendation (Maybe (HashMap DisruptionType DisruptionCompliance)) Source #

The current compliance against the resiliency policy before applying the configuration change.

configRecommendation_recommendationCompliance :: Lens' ConfigRecommendation (Maybe (HashMap DisruptionType RecommendationDisruptionCompliance)) Source #

The expected compliance against the resiliency policy after applying the configuration change.

configRecommendation_suggestedChanges :: Lens' ConfigRecommendation (Maybe [Text]) Source #

List of the suggested configuration changes.

configRecommendation_name :: Lens' ConfigRecommendation Text Source #

The name of the recommendation configuration.

configRecommendation_referenceId :: Lens' ConfigRecommendation Text Source #

The reference identifier for the recommendation configuration.