amazonka-config-2.0: Amazon Config 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.Config.Types.AggregateComplianceByConfigRule

Description

 
Synopsis

Documentation

data AggregateComplianceByConfigRule Source #

Indicates whether an Config rule is compliant based on account ID, region, compliance, and rule name.

A rule is compliant if all of the resources that the rule evaluated comply with it. It is noncompliant if any of these resources do not comply.

See: newAggregateComplianceByConfigRule smart constructor.

Constructors

AggregateComplianceByConfigRule' 

Fields

Instances

Instances details
FromJSON AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

Generic AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

Associated Types

type Rep AggregateComplianceByConfigRule :: Type -> Type #

Read AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

Show AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

NFData AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

Eq AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

Hashable AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

type Rep AggregateComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.AggregateComplianceByConfigRule

type Rep AggregateComplianceByConfigRule = D1 ('MetaData "AggregateComplianceByConfigRule" "Amazonka.Config.Types.AggregateComplianceByConfigRule" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "AggregateComplianceByConfigRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "compliance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Compliance)) :*: S1 ('MetaSel ('Just "configRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAggregateComplianceByConfigRule :: AggregateComplianceByConfigRule Source #

Create a value of AggregateComplianceByConfigRule 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:accountId:AggregateComplianceByConfigRule', aggregateComplianceByConfigRule_accountId - The 12-digit account ID of the source account.

$sel:awsRegion:AggregateComplianceByConfigRule', aggregateComplianceByConfigRule_awsRegion - The source region from where the data is aggregated.

$sel:compliance:AggregateComplianceByConfigRule', aggregateComplianceByConfigRule_compliance - Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.

$sel:configRuleName:AggregateComplianceByConfigRule', aggregateComplianceByConfigRule_configRuleName - The name of the Config rule.

aggregateComplianceByConfigRule_awsRegion :: Lens' AggregateComplianceByConfigRule (Maybe Text) Source #

The source region from where the data is aggregated.

aggregateComplianceByConfigRule_compliance :: Lens' AggregateComplianceByConfigRule (Maybe Compliance) Source #

Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.