AWS-UpdateCloudFormationStack - Amazon Systems Manager Automation runbook reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).



Update an Amazon CloudFormation stack by using an Amazon CloudFormation template stored in an Amazon S3 bucket.

Run this Automation (console)

Document type





Linux, macOS, Windows


  • AutomationAssumeRole

    Type: String

    Description: (Optional) The Amazon Resource Name (ARN) of the Amazon Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf. If no role is specified, Systems Manager Automation uses the permissions of the user that starts this runbook.

  • LambdaAssumeRole

    Type: String

    Description: (Required) The ARN of the role assumed by Lambda

  • StackNameOrId

    Type: String

    Description: (Required) Name or Unique ID of the Amazon CloudFormation stack to be updated

  • TemplateUrl

    Type: String

    Description: (Required) S3 bucket location that contains the updated CloudFormation template (e.g.