Skip to content

ComplianceViolator

Source code in docs_src/capo_fms/types/compliance_violator.py
class ComplianceViolator(TypedDict, closed=True):
    resource_id: NotRequired["capo_fms.types.resource_id.ResourceId"]
    """<p>The resource ID.</p>"""
    violation_reason: NotRequired["capo_fms.types.violation_reason.ViolationReason"]
    """<p>The reason that the resource is not protected by the policy.</p>"""
    resource_type: NotRequired["capo_fms.types.resource_type.ResourceType"]
    """<p>The resource type. This is in the format shown in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>. For example: <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code>, <code>AWS::CloudFront::Distribution</code>, or <code>AWS::NetworkFirewall::FirewallPolicy</code>.</p>"""
    metadata: NotRequired[
        "capo_fms.types.compliance_violator_metadata.ComplianceViolatorMetadata"
    ]
    """<p>Metadata about the resource that doesn't comply with the policy scope.</p>"""

metadata instance-attribute

metadata: NotRequired[ComplianceViolatorMetadata]

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

resource_id instance-attribute

resource_id: NotRequired[ResourceId]

The resource ID.

resource_type instance-attribute

resource_type: NotRequired[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.

violation_reason instance-attribute

violation_reason: NotRequired[ViolationReason]

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