| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Config.Types.Compliance
Description
Documentation
data Compliance Source #
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
See: newCompliance smart constructor.
Constructors
| Compliance' | |
Fields
| |
Instances
newCompliance :: Compliance Source #
Create a value of Compliance 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:complianceContributorCount:Compliance', compliance_complianceContributorCount - The number of Amazon Web Services resources or Config rules that cause a
result of NON_COMPLIANT, up to a maximum number.
$sel:complianceType:Compliance', compliance_complianceType - Indicates whether an Amazon Web Services resource or Config rule is
compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results
are available for the Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support
the NOT_APPLICABLE value for the Compliance data type.
compliance_complianceContributorCount :: Lens' Compliance (Maybe ComplianceContributorCount) Source #
The number of Amazon Web Services resources or Config rules that cause a
result of NON_COMPLIANT, up to a maximum number.
compliance_complianceType :: Lens' Compliance (Maybe ComplianceType) Source #
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results
are available for the Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support
the NOT_APPLICABLE value for the Compliance data type.