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

Description

 
Synopsis

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

  • complianceContributorCount :: Maybe ComplianceContributorCount

    The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up to a maximum number.

  • complianceType :: Maybe 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.

Instances

Instances details
Eq Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

Read Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

Show Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

Generic Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

Associated Types

type Rep Compliance :: Type -> Type #

NFData Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

Methods

rnf :: Compliance -> () #

Hashable Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

FromJSON Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

type Rep Compliance Source # 
Instance details

Defined in Amazonka.Config.Types.Compliance

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

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.