def do_delete_stack(self,args):
parser = CommandArgumentParser("<STR_LIT>")<EOL>parser.add_argument(dest='<STR_LIT>',help='<STR_LIT>');<EOL>args = vars(parser.parse_args(args))<EOL>try:<EOL><INDENT>index = int(args['<STR_LIT>'])<EOL>if self.stackList == None:<EOL><INDENT>self.do_stacks('<STR_LIT>')<EOL><DEDENT>stack = AwsConnectionFactory.instance.getCfResource().Stack(self.stackList[index]['<STR_LIT>'])<EOL><DEDENT>except ValueError:<EOL><INDENT>stack = AwsConnectionFactory.instance.getCfResource().Stack(args['<STR_LIT>'])<EOL><DEDENT>print("<STR_LIT>")<EOL>print("<STR_LIT>".format(stack.name))<EOL>print("<STR_LIT>".format(stack.stack_id))<EOL>print("<STR_LIT>".format(stack.creation_time))<EOL>confirmation = input("<STR_LIT>")<EOL>if stack.name == confirmation:<EOL><INDENT>stack.delete()<EOL>print("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>".format(stack.name,confirmation))<EOL><DEDENT>
Delete specified stack. delete_stack -h for detailed help.