libZSservicesZSamazonka-configZSamazonka-config
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.Config.Types.ComplianceByConfigRule

Description

 
Synopsis

Documentation

data ComplianceByConfigRule Source #

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

See: newComplianceByConfigRule smart constructor.

Constructors

ComplianceByConfigRule' 

Fields

Instances

Instances details
Eq ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

Read ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

Show ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

Generic ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

Associated Types

type Rep ComplianceByConfigRule :: Type -> Type #

NFData ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

Methods

rnf :: ComplianceByConfigRule -> () #

Hashable ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

FromJSON ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

type Rep ComplianceByConfigRule Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByConfigRule

type Rep ComplianceByConfigRule = D1 ('MetaData "ComplianceByConfigRule" "Amazonka.Config.Types.ComplianceByConfigRule" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "ComplianceByConfigRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "compliance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Compliance)) :*: S1 ('MetaSel ('Just "configRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newComplianceByConfigRule :: ComplianceByConfigRule Source #

Create a value of ComplianceByConfigRule 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:compliance:ComplianceByConfigRule', complianceByConfigRule_compliance - Indicates whether the Config rule is compliant.

$sel:configRuleName:ComplianceByConfigRule', complianceByConfigRule_configRuleName - The name of the Config rule.

complianceByConfigRule_compliance :: Lens' ComplianceByConfigRule (Maybe Compliance) Source #

Indicates whether the Config rule is compliant.