class_docstr: Interact with AWS CloudFormation.
  
  Provide thin wrapper around
  :external+boto3:py:class:`boto3.client("cloudformation") <CloudFormation.Client>`.
  
  Additional arguments (such as ``aws_conn_id``) may be specified and
  are passed down to the underlying AwsBaseHook.
  
  .. seealso::
      - :class:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
docstr: Delete stack in CloudFormation.
  
  .. seealso::
      - :external+boto3:py:meth:`CloudFormation.Client.delete_stack`
  
  :param stack_name: stack_name.
  :param cloudformation_parameters: parameters to be passed to CloudFormation (optional).
code: def delete_stack(
      self,
      stack_name: str,
      cloudformation_parameters: dict | None = None,
  ) -> None:
      """
      Delete stack in CloudFormation.
  
      .. seealso::
          - :external+boto3:py:meth:`CloudFormation.Client.delete_stack`
  
      :param stack_name: stack_name.
      :param cloudformation_parameters: parameters to be passed to CloudFormation (optional).
      """
      cloudformation_parameters = cloudformation_parameters or {}
      if "StackName" not in cloudformation_parameters:
          cloudformation_parameters["StackName"] = stack_name
      self.get_conn().delete_stack(**cloudformation_parameters)
  
file_path: airflow/airflow/providers/amazon/aws/hooks/cloud_formation.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from botocore.exceptions import ClientError
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
label_desc: Use image node_id 4 for calling the CloudFormationHook obj's underlying member method code with example usage: obj.delete_stack(stack_name, cloudformation_parameters) without return types