CmdID / aws / aws cloudformation
aws cloudformation delete-stack
Deletes a specified stack. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--client-request-tokenA unique identifier for this DeleteStack request.--deletion-modeSpecifies the deletion mode for the stack.--deployment-configThe deployment configuration for this stack operation, including the deployment mode.--retain-resourcesFor stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain.--role-arnThe Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack.--stack-nameThe name or the unique stack ID that's associated with the stack.