| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FMS.Types.ComplianceViolator
Description
Synopsis
- data ComplianceViolator = ComplianceViolator' {}
- newComplianceViolator :: ComplianceViolator
- complianceViolator_metadata :: Lens' ComplianceViolator (Maybe (HashMap Text Text))
- complianceViolator_resourceId :: Lens' ComplianceViolator (Maybe Text)
- complianceViolator_resourceType :: Lens' ComplianceViolator (Maybe Text)
- complianceViolator_violationReason :: Lens' ComplianceViolator (Maybe ViolationReason)
Documentation
data ComplianceViolator Source #
Details of the resource that is not protected by the policy.
See: newComplianceViolator smart constructor.
Constructors
| ComplianceViolator' | |
Fields
| |
Instances
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_resourceId :: Lens' ComplianceViolator (Maybe Text) Source #
The resource ID.
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.