amazonka-fms-2.0: Amazon Firewall Management Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Show ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

NFData ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Methods

rnf :: ComplianceViolator -> () #

Eq ComplianceViolator Source # 
Instance details

Defined in Amazonka.FMS.Types.ComplianceViolator

Hashable 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" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "ComplianceViolator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: 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:metadata:ComplianceViolator', complianceViolator_metadata - Metadata about the resource that doesn't comply with the policy scope.

$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_metadata :: Lens' ComplianceViolator (Maybe (HashMap Text Text)) Source #

Metadata about the resource that doesn't comply with the policy scope.

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.