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

Description

 
Synopsis

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.

Constructors

ComplianceByResource' 

Fields

Instances

Instances details
Eq ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

Read ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

Show ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

Generic ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

Associated Types

type Rep ComplianceByResource :: Type -> Type #

NFData ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

Methods

rnf :: ComplianceByResource -> () #

Hashable ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

FromJSON ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

type Rep ComplianceByResource Source # 
Instance details

Defined in Amazonka.Config.Types.ComplianceByResource

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

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.