Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ComplianceViolator = ComplianceViolator' {}
- newComplianceViolator :: ComplianceViolator
- 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.
ComplianceViolator' | |
|
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: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_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.