You can use Action-Based Extensibility actions for use with subscriptions.
Action-Based Extensibility actions are highly customizable, lightweight, and flexible ways to extend application life cycles using user-defined script code and action templates. Action templates contain predefined parameters that help set up the foundation of your extensibility action.
There are two ways to create an ABX action:
Writing user-defined code for an ABX action script.
Importing a deployment package as a ZIP file for an ABX action.
Active and valid project.
Configured AWS role for Labda functions. For example, AWSLambdaBasicExecutionRole.
Cloud administrator role or iam:PassRole permissions enabled.
- Click .
- Enter a name and description for your action.
- Search and select an action template.
If you want to completely customize your ABX action without using an action template, select Custom Script.
New configurable parameters appear.
- Select Write script or Import Package.
If you select Write script, you can write the script code directly in the New Action window. If you select Import package, you must select Import and select a script ZIP file that contains both the action code and its dependencies.
- Select an action Runtime.
- Enter an Entrypoint name for the action's function.
- Define Inpute and Output parameters.
- To define timeout and memory limits, select the Customize timeouts and limits check box.
- Click Save and then Test to test your action.
What to do next
After your extensibility action is created and verified, you can assign it to a subscription.