Skip to content

Invoking Local Lambda via AWS CLI and SDK #12

@sanathkr

Description

@sanathkr

The ability to invoke sam local Lambda functions via the AWS CLI and SDK, by simply setting the endpoint. Today, you have to call sam local invoke to actually Invoke a Lambda function. This means, you can't port your existing integration tests that run both against the local Lambda environment and cloud.

SAM Local can provide a local HTTP endpoint that responds to Lambda Invoke API and invokes Lambda locally. You can simply point AWS CLI or SDK to this endpoint to run tests against it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions