Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ComplianceByResource = ComplianceByResource' {}
- newComplianceByResource :: ComplianceByResource
- complianceByResource_resourceId :: Lens' ComplianceByResource (Maybe Text)
- complianceByResource_resourceType :: Lens' ComplianceByResource (Maybe Text)
- complianceByResource_compliance :: Lens' ComplianceByResource (Maybe Compliance)
Documentation
data ComplianceByResource Source #
Indicates whether an Amazon Web Services resource that is evaluated according to one or more Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
See: newComplianceByResource
smart constructor.
ComplianceByResource' | |
|
Instances
newComplianceByResource :: ComplianceByResource Source #
Create a value of ComplianceByResource
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:resourceId:ComplianceByResource'
, complianceByResource_resourceId
- The ID of the Amazon Web Services resource that was evaluated.
$sel:resourceType:ComplianceByResource'
, complianceByResource_resourceType
- The type of the Amazon Web Services resource that was evaluated.
$sel:compliance:ComplianceByResource'
, complianceByResource_compliance
- Indicates whether the Amazon Web Services resource complies with all of
the Config rules that evaluated it.
complianceByResource_resourceId :: Lens' ComplianceByResource (Maybe Text) Source #
The ID of the Amazon Web Services resource that was evaluated.
complianceByResource_resourceType :: Lens' ComplianceByResource (Maybe Text) Source #
The type of the Amazon Web Services resource that was evaluated.
complianceByResource_compliance :: Lens' ComplianceByResource (Maybe Compliance) Source #
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.