AWS Lambda Spoke

  • Release version: Yokohama
  • Updated January 30, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of AWS Lambda Spoke

    The AWS Lambda Spoke for ServiceNow enables customers to manage AWS Lambda functions and aliases directly from their ServiceNow instance. This integration allows automation of AWS Lambda tasks triggered by ServiceNow events, streamlining cloud function management within the ServiceNow platform.

    Show full answer Show less

    This spoke requires an Integration Hub subscription and depends on several ServiceNow plugins for full functionality. It is designed primarily for AWS Lambda API version 2010-05-08 but may support later versions if API version updates are applied accordingly.

    Key Features

    • Alias Management: Create, delete, retrieve details, list, and update function aliases in AWS Lambda.
    • Function Management: Add permissions, create, delete, retrieve details, invoke, list, and update AWS Lambda functions and their configurations and code.
    • Connection and Credential Management: Utilizes Integration Hub aliases to manage AWS connection and credential information efficiently across multiple environments without needing to update each action individually.

    Requirements and Dependencies

    • Integration Hub Subscription: Mandatory to use the spoke.
    • Dependent Plugins: Includes ServiceNow IntegrationHub Action Template - Data Stream, Complex Object, IntegrationHub Runtime, Flow Designer - Dynamic Inputs, IntegrationHub Action Step - REST, and AWS IAM Spoke.
    • Permissions: The AWS user must have full access to Lambda, specifically the AWSLambdaFullAccess IAM policy.
    • Credentials: Access Key ID and Secret Access Key from AWS IAM are required for configuration.

    Practical Benefits for ServiceNow Customers

    By integrating AWS Lambda management into ServiceNow, customers can:

    • Automate AWS Lambda function lifecycle operations directly from ServiceNow workflows and incidents.
    • Reduce manual management of AWS Lambda functions and aliases, improving operational efficiency.
    • Manage AWS credentials and connections centrally using Integration Hub aliases, simplifying administration across environments.
    • Ensure compliance and security by leveraging IAM policies and controlled access within AWS.

    Next Steps

    To implement the AWS Lambda spoke:

    • Verify and install all dependent plugins and obtain the necessary licenses.
    • Assign the required IAM policies to AWS users and generate access credentials.
    • Configure the spoke in ServiceNow by setting up connection and credential aliases.
    • Begin automating AWS Lambda operations through ServiceNow workflows using the provided spoke actions.

    Manage alias and function in AWS Lambda from your ServiceNow instance.

    Request apps on the Store

    Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

    Integration Hub subscription

    This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

    Spoke version

    AWS Lambda spoke v1.1.3 is the latest version.

    Spoke dependencies

    If you’re having trouble installing the app, ensure that these dependent plugins are installed:

    • ServiceNow IntegrationHub Action Template - Data Stream (com.glide.hub.action_type.datastream)
    • Complex Object (com.glide.cobject)
    • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
    • ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
    • ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
    • AWS IAM Spoke (sn_aws_iam_spoke)
    Note:
    Some of these plugins are licensable features and require an appropriate license if used outside the spoke implementation. For information on licenses, contact your account manager.

    Supported version

    This spoke was built for API version 2010-05-08, but may be compatible with later versions.
    Note:
    If you use different API version, ensure that you change the API version in all spoke actions.

    Spoke requirements

    • User with full access to Lambda.
      Note:
      The AWSLambdaFullAccess IAM policy must be assigned to the user. See Identity-based IAM policies for AWS Lambda for more information about the IAM policy.
    • Access Key ID and Secret Access Key of the user as obtained in the IAM Console. Record these values for later use.
    For more information about creating user in IAM and providing the required access, see Understanding and Getting Your Security Credentials page on the AWS Documentation site.

    Spoke actions

    The AWS Lambda spoke provides actions to automate AWS Lambda tasks when events occur in ServiceNow. Available actions include:

    Category Action Description
    Alias Management Create Function Alias Creates an alias for the specified function.
    Delete Function Alias Deletes the specified alias of the function.
    Get Function Alias Details Retrieves the details of the specified function alias.
    List Function Aliases Retrieves the list of all aliases for the specified function.
    Update Function Alias Updates settings of the specified alias.
    Function Management Add Permission Grants an AWS service or another account permission to use the specified AWS Lambda function.
    Create Function Creates a function in AWS Lambda.
    Delete Function Deletes the specified AWS Lambda function or function version.
    Get Function Details Retrieves details of the specified AWS Lambda function or function version.
    Invoke Function Invokes the specified AWS Lambda function.
    List Functions Retrieves list of all AWS Lambda functions in a region
    Update Function Code Updates code of the specified AWS Lambda function.
    Update Function Configuration Updates configuration of the specified AWS Lambda function.

    Connection and credential alias requirements

    Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.

    For information about setting up the spoke, see Set up the AWS Lambda spoke.