CmdID / aws / aws cloudformation
aws cloudformation update-stack
Updates a stack as specified in the template. AWS CLI reference
20 options Its page in the AWS CLI reference
Options
--capabilitiesIn some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack.--client-request-tokenA unique identifier for this UpdateStack request.--deployment-configThe deployment configuration for this stack operation, including the deployment mode.--disable-rollbackPreserve the state of previously provisioned resources when an operation fails.--disable-validationSet to true to disable pre-deployment validations in changeset or stack operations.--notification-arnsAmazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation associates with the stack.--parametersA list of Parameter structures that specify input parameters for the stack.--resource-typesSpecifies which resource types you can work with, such as AWS::EC2::Instance or Custom::MyCustomInstance.--retain-except-on-createWhen set to true, newly created resources are deleted when the operation rolls back.--role-arnThe Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack.--rollback-configurationThe rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.--stack-nameThe name or unique stack ID of the stack to update.--stack-policy-bodyStructure that contains a new stack policy body.--stack-policy-during-update-bodyStructure that contains the temporary overriding stack policy body.--stack-policy-during-update-urlLocation of a file that contains the temporary overriding stack policy.--stack-policy-urlLocation of a file that contains the updated stack policy.--tagsKey-value pairs to associate with this stack.--template-bodyStructure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.--template-urlThe URL of a file that contains the template body.--use-previous-templateReuse the existing template that is associated with the stack that you are updating.