Skip to content

FirewallPolicyError

Source code in docs_src/capo_network_firewall/types/firewall_policy_error.py
class FirewallPolicyError(TypedDict, closed=True):
    code: (
        "capo_network_firewall.types.firewall_policy_error_code.FirewallPolicyErrorCode"
    )
    """<p>The error code identifies the type of error. Valid values are the following:</p> <ul> <li> <p> <code>DNS_FIREWALL_RULE_GROUP_UNAVAILABLE</code> – The Amazon Route 53 Resolver DNS Firewall rule group that resolved IP validation references is unavailable, for example, because it was deleted or is no longer accessible from your account. Update the rule group ID or remove the resolved IP validation configuration.</p> </li> <li> <p> <code>ROUTE53_RESOLVED_IP_VALIDATION_MISSING</code> – An associated stateful rule group uses the <code>aws_route_53_resolved_domain</code> keyword, but the policy doesn't have resolved IP validation configured. The affected rules are inactive until you add resolved IP validation to the policy or remove the keyword rules.</p> </li> </ul>"""
    message: "capo_network_firewall.types.status_reason.StatusReason"
    """<p>A description of the error and how to resolve it.</p>"""
    resource_id: NotRequired[
        "capo_network_firewall.types.firewall_policy_error_resource_id.FirewallPolicyErrorResourceId"
    ]
    """<p>The ID of the resource that the error relates to, when applicable. For example, for <code>DNS_FIREWALL_RULE_GROUP_UNAVAILABLE</code> this is the Amazon Route 53 Resolver DNS Firewall rule group ID.</p>"""

code instance-attribute

The error code identifies the type of error. Valid values are the following:

  • DNS_FIREWALL_RULE_GROUP_UNAVAILABLE – The Amazon Route 53 Resolver DNS Firewall rule group that resolved IP validation references is unavailable, for example, because it was deleted or is no longer accessible from your account. Update the rule group ID or remove the resolved IP validation configuration.

  • ROUTE53_RESOLVED_IP_VALIDATION_MISSING – An associated stateful rule group uses the aws_route_53_resolved_domain keyword, but the policy doesn't have resolved IP validation configured. The affected rules are inactive until you add resolved IP validation to the policy or remove the keyword rules.

message instance-attribute

message: StatusReason

A description of the error and how to resolve it.

resource_id instance-attribute

resource_id: NotRequired[FirewallPolicyErrorResourceId]

The ID of the resource that the error relates to, when applicable. For example, for DNS_FIREWALL_RULE_GROUP_UNAVAILABLE this is the Amazon Route 53 Resolver DNS Firewall rule group ID.