AWS Core Scripting

This topic demonstrates the Script Canvas nodes that the AWS Core Gem defines.

Amazon S3

GetObject

Input data pins:

  • Bucket Resource KeyName
  • Object KeyName
  • Outfile Name

If the function is successful, you will get a success message from the OnGetObjectSuccess event handler on the AWSS3BehaviorNotificationBus bus. The file downloads to the location specified as the Outfile Name.

If the function results in an error, you will get an error message from the OnGetObjectError event handler on the AWSS3BehaviorNotificationBus bus.

Scripting AWS S3 GetObject node

HeadObject

Input data pins:

  • Bucket Resource KeyName
  • Object KeyName

If the function is successful, you will get a success message from the OnHeadObjectSuccess event handler on the AWSS3BehaviorNotificationBus bus.

If the function results in an error, you will get an error message from the OnHeadObjectError event handler on the AWSS3BehaviorNotificationBus bus.

Scripting AWS S3 HeadObject node

Amazon DynamoDB

GetItem

Input data pins:

  • Table Resource KeyName
  • Key Map

Key map variable format:

GetItem - Key variable properties

Refer to AttributeValue in the Amazon DynamoDB API Reference.

If the function is successful, you will get a result in the AttributeValue string map from the OnGetItemSuccess event handler on the AWSDynamoDBBehaviorNotificationBus bus.

If the function results in an error, you will get an error message from the OnGetItemError event handler on the AWSDynamoDBBehaviorNotificationBus bus.

Scripting AWS DynamoDB GetItem node

AWS Lambda

Invoke

Input data pins:

  • Function Resource KeyName
  • Payload

If the function is successful, you will get the return value from the OnInvokeSuccess event handler on the AWSLambdaBehaviorNotificationBus bus.

If the function results in an error, you will get an error message from the OnInvokeError event handler on the AWSLambdaBehaviorNotificationBus bus.

Scripting AWS Lambda Invoke node


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.