libZSservicesZSamazonka-fmsZSamazonka-fms
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.FMS.Types.ComplianceViolator

Description

 
Synopsis

Documentation

data ComplianceViolator Source #

Details of the resource that is not protected by the policy.

See: newComplianceViolator smart constructor.

Constructors

ComplianceViolator' 

Fields

Instances

Instances details
Eq ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Read ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Show ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Generic ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Associated Types

type Rep ComplianceViolator :: Type -> Type #

NFData ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Methods

rnf :: ComplianceViolator -> () #

Hashable ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

FromJSON ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

type Rep ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

type Rep ComplianceViolator = D1 ('MetaData "ComplianceViolator" "Amazonka.FMS.Types.ComplianceViolator" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "ComplianceViolator'" '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 "violationReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ViolationReason)))))

newComplianceViolator :: ComplianceViolator Source #

Create a value of ComplianceViolator 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:ComplianceViolator', complianceViolator_resourceId - The resource ID.

$sel:resourceType:ComplianceViolator', complianceViolator_resourceType - The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.

$sel:violationReason:ComplianceViolator', complianceViolator_violationReason - The reason that the resource is not protected by the policy.

complianceViolator_resourceType :: Lens' ComplianceViolator (Maybe Text) Source #

The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.

complianceViolator_violationReason :: Lens' ComplianceViolator (Maybe ViolationReason) Source #

The reason that the resource is not protected by the policy.