Skip to content

[Question] Lambda invocation - Communication security #36

Closed
@triton3

Description

@triton3

Hi,

When a lambda function is invoked from a client application, are the input parameters for the function and the response from the function communicated using HTTPS?

I am confused, and I was wondering if someone could shed some light on this point. The AWS Lambda FAQ mentions that I would need to use API gateway and create Custom APIs to communicate with Lambda functions over HTTPS. However, I noticed that the C++ SDK allows initializing a Lamba client using a client-configuration with HTTPS scheme (see below for example). I also noticed that the default ClientConfiguration() uses HTTPS scheme as well (ClientConfiguration.cpp).

Aws::Client::ClientConfiguration config;
...
config.scheme = Scheme::HTTPS;
auto credentials = Aws::MakeShared<Aws::Auth::CognitoCachingAnonymousCredentialsProvider>("Example", "xxxxx", "ID-POOL");
Aws::Lambda::LambdaClient lambdaClient = Aws::Lambda::LambdaClient(credentials, config);

I would appreciate any information or resource on this. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions