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

Description

 
Synopsis

Documentation

data AppComponentCompliance Source #

Defines the compliance of an application component against the resiliency policy.

See: newAppComponentCompliance smart constructor.

Constructors

AppComponentCompliance' 

Fields

Instances

Instances details
FromJSON AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

Generic AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

Associated Types

type Rep AppComponentCompliance :: Type -> Type #

Read AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

Show AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

NFData AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

Methods

rnf :: AppComponentCompliance -> () #

Eq AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

Hashable AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

type Rep AppComponentCompliance Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.AppComponentCompliance

type Rep AppComponentCompliance = D1 ('MetaData "AppComponentCompliance" "Amazonka.ResilienceHub.Types.AppComponentCompliance" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "AppComponentCompliance'" '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 "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resiliencyScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResiliencyScore)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComplianceStatus))))))

newAppComponentCompliance :: AppComponentCompliance Source #

Create a value of AppComponentCompliance 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:AppComponentCompliance', appComponentCompliance_appComponentName - The name of the application component.

$sel:compliance:AppComponentCompliance', appComponentCompliance_compliance - The compliance of the application component against the resiliency policy.

$sel:cost:AppComponentCompliance', appComponentCompliance_cost - The cost for the application.

AppComponentCompliance, appComponentCompliance_message - The compliance message.

$sel:resiliencyScore:AppComponentCompliance', appComponentCompliance_resiliencyScore - The current resiliency score for the application.

$sel:status:AppComponentCompliance', appComponentCompliance_status - The status of the action.

appComponentCompliance_compliance :: Lens' AppComponentCompliance (Maybe (HashMap DisruptionType DisruptionCompliance)) Source #

The compliance of the application component against the resiliency policy.