You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add --express/--no-express flag to sam delete (#9115)
* Include express in delete help formatter options
* Support DeploymentConfig in CfnUtils.delete_stack
* Add unit tests for express flag plumbing in sam delete
* Add unit tests for delete_stack DeploymentConfig
* test: add integration test for delete --express and regenerate schema
- Add test_delete_express_mode: deploys a stack, deletes with --express,
verifies express mode message and stack deletion
- Add express parameter to get_delete_command_list helper
- Regenerate schema/samcli.json to include express option for delete command
---------
Co-authored-by: Roger Zhang <ruojiazh@amazon.com>
Copy file name to clipboardExpand all lines: schema/samcli.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1514,7 +1514,7 @@
1514
1514
"properties": {
1515
1515
"parameters": {
1516
1516
"title": "Parameters for the delete command",
1517
-
"description": "Available parameters for the delete command:\n* stack_name:\nThe name of the AWS CloudFormation stack you want to delete.\n* no_prompts:\nSpecify this flag to allow SAM CLI to skip through the guided prompts.\n* s3_bucket:\nThe S3 bucket path you want to delete.\n* s3_prefix:\nThe S3 prefix you want to delete\n* profile:\nSelect a specific profile from your credential file to get AWS credentials.\n* region:\nSet the AWS Region of the service. (e.g. us-east-1)\n* beta_features:\nEnable/Disable beta features.\n* debug:\nTurn on debug logging to print debug message generated by AWS SAM CLI and display timestamps.\n* save_params:\nSave the parameters provided via the command line to the configuration file.",
1517
+
"description": "Available parameters for the delete command:\n* stack_name:\nThe name of the AWS CloudFormation stack you want to delete.\n* no_prompts:\nSpecify this flag to allow SAM CLI to skip through the guided prompts.\n* s3_bucket:\nThe S3 bucket path you want to delete.\n* s3_prefix:\nThe S3 prefix you want to delete\n* express:\nUse CloudFormation Express mode to speed up stack deletion by completing once resource deletion is initiated, without waiting for full cleanup.\n* profile:\nSelect a specific profile from your credential file to get AWS credentials.\n* region:\nSet the AWS Region of the service. (e.g. us-east-1)\n* beta_features:\nEnable/Disable beta features.\n* debug:\nTurn on debug logging to print debug message generated by AWS SAM CLI and display timestamps.\n* save_params:\nSave the parameters provided via the command line to the configuration file.",
1518
1518
"type": "object",
1519
1519
"properties": {
1520
1520
"stack_name": {
@@ -1537,6 +1537,11 @@
1537
1537
"type": "string",
1538
1538
"description": "The S3 prefix you want to delete"
1539
1539
},
1540
+
"express": {
1541
+
"title": "express",
1542
+
"type": "boolean",
1543
+
"description": "Use CloudFormation Express mode to speed up stack deletion by completing once resource deletion is initiated, without waiting for full cleanup."
0 commit comments