Skip to content

DeleteFirewallRequest

Source code in docs_src/capo_network_firewall/types/delete_firewall_request.py
class DeleteFirewallRequest(TypedDict, closed=True):
    firewall_name: NotRequired["capo_network_firewall.types.resource_name.ResourceName"]
    """<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>"""
    firewall_arn: NotRequired["capo_network_firewall.types.resource_arn.ResourceArn"]
    """<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>"""
    firewall_type: NotRequired["capo_network_firewall.types.firewall_type.FirewallType"]
    """<p>The type of firewall that the request targets. Network Firewall supports the following firewall types:</p> <ul> <li> <p> <code>IGW_FIREWALL</code> - An internet gateway firewall, which Amazon Web Services Network Security Manager creates and manages for a VPC.</p> </li> <li> <p> <code>FIREWALL</code> - A standard Network Firewall firewall.</p> </li> </ul> <p>If you specify the firewall ARN, the type must match the resource type in the ARN. If you specify only the firewall name, Network Firewall uses this value to identify the firewall. If you don't specify a type, the default is <code>FIREWALL</code>.</p>"""
    delete_associated_nat_gateways: NotRequired[
        "capo_network_firewall.types.boolean.Boolean"
    ]
    """<p>Specifies whether to delete the NAT gateways that Network Firewall created for a proxy mode firewall when you delete the firewall. You can choose from the following values:</p> <ul> <li> <p> <code>FALSE</code> - Network Firewall detaches the NAT gateways from the firewall and keeps them. This is the default.</p> </li> <li> <p> <code>TRUE</code> - Network Firewall also deletes the NAT gateways. The firewall status stays <code>DELETING</code> until they're deleted. You need permission to call the Amazon EC2 <code>DeleteNatGateway</code> action.</p> </li> </ul> <p>You can't specify <code>TRUE</code> for a firewall that isn't a proxy mode firewall.</p>"""

delete_associated_nat_gateways instance-attribute

delete_associated_nat_gateways: NotRequired[Boolean]

Specifies whether to delete the NAT gateways that Network Firewall created for a proxy mode firewall when you delete the firewall. You can choose from the following values:

  • FALSE - Network Firewall detaches the NAT gateways from the firewall and keeps them. This is the default.

  • TRUE - Network Firewall also deletes the NAT gateways. The firewall status stays DELETING until they're deleted. You need permission to call the Amazon EC2 DeleteNatGateway action.

You can't specify TRUE for a firewall that isn't a proxy mode firewall.

firewall_arn instance-attribute

firewall_arn: NotRequired[ResourceArn]

The Amazon Resource Name (ARN) of the firewall.

You must specify the ARN or the name, and you can specify both.

firewall_name instance-attribute

firewall_name: NotRequired[ResourceName]

The descriptive name of the firewall. You can't change the name of a firewall after you create it.

You must specify the ARN or the name, and you can specify both.

firewall_type instance-attribute

firewall_type: NotRequired[FirewallType]

The type of firewall that the request targets. Network Firewall supports the following firewall types:

  • IGW_FIREWALL - An internet gateway firewall, which Amazon Web Services Network Security Manager creates and manages for a VPC.

  • FIREWALL - A standard Network Firewall firewall.

If you specify the firewall ARN, the type must match the resource type in the ARN. If you specify only the firewall name, Network Firewall uses this value to identify the firewall. If you don't specify a type, the default is FIREWALL.