Get Started with Lambda
Step 1. Generate Token
Generate a Spot API Token.
Step 2. Create and Manage Templates with AWS Lambda
For each custom resource created by the Lambda function, the following steps need to be configured:
-
Resource type –
Custom::elasticgroup
. For other Spot services, check the Resource Type in the resources section. -
Service Token – Use Spot Lambda.
For example:
Arn:aws:lambda:REGION:178579023202:function:spotinst-cloudformation
For other regions, only change the region name as indicated in the above example.
- Access Token – Use your Spot API access token.
- Account ID – Your Spot account ID. If you have only one account in your organization, this is not mandatory.