Amazon AWS Lambda
aws lambda is a serverless compute service that runs code in response to events and automatically manages the underlying compute resources amazon aws lambda is a serverless compute service that lets you run code without provisioning or managing servers this connector allows swimlane turbine users to automate the invocation of aws lambda functions, either synchronously or asynchronously, enhancing security workflows with seamless integration by leveraging aws lambda, users can execute code in response to triggers such as changes in data or system state, enabling rapid and scalable automation within their security operations the integration with swimlane turbine empowers users to streamline processes, reduce manual intervention, and improve response times to security incidents prerequisites before you can use the aws lambda connector for turbine, you'll need access to aws credentials this requires the following aws authentication using the following parameters access key id a unique identifier associated with your aws account secret key a secret key used in conjunction with the access key id to authenticate requests region name the aws region where your lambda function is deployed arn role the amazon resource name (arn) of the role that grants permissions to invoke the lambda function getting started before you begin, ensure you meet the following prerequisites you must have a valid aws account aws access key and secret access key are required you must have the correct role arn which lambda function can assume your aws account should have the necessary permissions to invoke lambda functions these permissions include lambda\ invokefunction aws region should be specified where the lambda function is deployed key features the aws lambda connector offers a powerful set of capabilities aimed at simplifying your operations invoke function this feature allows you to call your lambda functions synchronously you only need to provide the name of the lambda function you want to invoke, along with any input parameters your function requires please note that your ability to use these features effectively may depend on the permissions and access rights tied to your aws account always ensure that your account has sufficient privileges for the operations you wish to carry out additional documentation https //docs swimlane com/connectors/amazon aws lambda https //docs aws amazon com/lambda/latest/api/welcome html https //docs swimlane com/authentication guides/amazon aws lambda configurations aws sqs authenticates using aws credentials configuration parameters parameter description type required aws access key id a specific aws access key id string required aws secret access key a specific aws secret access key string required region name the aws region where you want to create new connections string required role arn arn role string required actions invoke function invoke an aws lambda function either synchronously or asynchronously requires the functionname parameter endpoint method get input argument name type required description functionname string required name of the resource invocationtype string optional type of the resource logtype string optional type of the resource clientcontext string optional parameter for invoke function payload string optional parameter for invoke function qualifier string optional parameter for invoke function input example {"functionname" "example name","invocationtype" "string","logtype" "string","clientcontext" "string","payload" "string","qualifier" "string"} output parameter type description responsemetadata object response data responsemetadata requestid string response data responsemetadata httpstatuscode number response data responsemetadata httpheaders object response data responsemetadata httpheaders date string response data responsemetadata httpheaders content type string response data responsemetadata httpheaders content length string response data responsemetadata httpheaders connection string response data responsemetadata httpheaders x amzn requestid string response data responsemetadata httpheaders x amzn remapped content length string response data responsemetadata httpheaders x amz executed version string response data responsemetadata httpheaders x amzn trace id string response data responsemetadata retryattempts number response data statuscode number status value executedversion string output field executedversion payload string output field payload output example {"responsemetadata" {"requestid" "ebbf575c 86fc 487d 89ee 1cd9c9d38079","httpstatuscode" 200,"httpheaders" {"date" "thu, 01 jun 2023 20 02 35 gmt","content type" "application/json","content length" "4","connection" "keep alive","x amzn requestid" "ebbf575c 86fc 487d 89ee 1cd9c9d38079","x amzn remapped content length" "0","x amz executed version" "$latest","x amzn trace id" "root=1 6478f95b 68f01d673227806e48f25f6b;sampled=0"},"retryattempts" 0},"statuscode" 200,"executedversion" "$latest","paylo response headers header description example content type the media type of the resource application/json date the date and time at which the message was originated thu, 01 jan 2024 00 00 00 gmt