CmdID / aws / aws cloudformation
aws cloudformation update-generated-template
Updates a generated template. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--add-resourcesAn optional list of resources to be added to the generated template.--generated-template-nameThe name or Amazon Resource Name (ARN) of a generated template.--new-generated-template-nameAn optional new name to assign to the generated template.--refresh-all-resourcesIf true, update the resource properties in the generated template with their current live state.--remove-resourcesA list of logical ids for resources to remove from the generated template.--template-configurationThe configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy.