The following macros are not currently supported in the header:
  • unmigrated-wiki-markup

Documentation for Automation with AWS AWS 1.1 – other releases are available in the Automation with AWS Documentation Directory.
View

Unknown macro: {spacejump}

or visit the current documentation home.

Invoke Lambda Function

This parameters template demonstrates the Invoke Lambda Function action:

JSON escaping requirements

If a parameter within the JSON formatted parameters template is a JSON structure in itself, it needs to be escaped before adding it as a value - this has two implications:

  • (tick) custom content needs to be escaped, which can be achieved with one of the many offline and online tools for this purpose, for example Code Beautify's Javascript Escape/Unescape
  • (error) variables with conflicting content (notably multi line variables like JIRA's $issue.description or Bamboo's $notification.textEmailContent) can not currently be used in this context (while all variables are escaped by default, they need to be escaped again when used within an already nested JSON structure) - this will be addressed in a near future release

{
  "FunctionName": "arn:aws:sns:ap-southeast-2:123456789012:sample-AutomationWithAWSQuickstartLamb-1RRX37PWXZXLS",
  "Payload": "{\n \"Event\":\"$event.simpleName\",\n \"Timestamp\": \"$event.timestamp\",\n  \"TraceID\": \"$event.traceId\"\n}"
}

Atlassian®, Atlassian Bamboo®, Bitbucket®, Atlassian Crowd®, Confluence®, Jira®, Jira Service Management™, Opsgenie®, and Statuspage™ are registered trademarks of Atlassian.
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.

Utoolity® is a registered trademark of Utoolity GmbH.
© 2024 Utoolity GmbH. All rights reserved.