ScalrScriptAction object

Polymorphism

ScalrScriptAction is a type that implements the Action type.

When an object of type Action is expected, you can use one of type ScalrScriptAction (or use any other implementation).

Example JSON representation

{
  "actionType": "ScalrScriptAction",
  "scriptVersion": {
    "script": {
      "id": 1,
      "name": "string"
    },
    "variables": [
      {
        "name": "string",
        "value": "string"
      }
    ],
    "version": "string"
  }
}

Properties

property attributes valid values description filter option
actionType
string
required
"ScalrScriptAction"
scriptVersion
ScriptVersionIdentity object
required

ScriptVersion to execute.