AWS Lambda policy

An AWS Lambda policy contains the connection details that are used by an AWS Lambda Request node when you connect it to an AWS Lambda application.

You can use an AWS Lambda Request node in a message flow to connect IBM® App Connect Enterprise to AWS Lambda applications and issue requests to create, retrieve, update, delete, or invoke functions. The AWS Lambda policy controls, at run time, access to the AWS Lambda application.

The AWS Lambda policy is created when you configure a connection between an AWS Lambda Request node and AWS Lambda by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in the AWS Lambda policy. The policy is created with a type of AWS Lambda, and the name of the policy is returned to the AWS Lambda Request node and specified in the Connection tab of the node, in the format {policyProjectName}:policyName.

You can also create, update, or delete an AWS Lambda policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy an AWS Lambda policy, all message flows that are using the policy are stopped and restarted.

For more information about using AWS Lambda policies, see Using AWS Lambda with IBM App Connect Enterprise.

Table 1. Properties of the AWS Lambda policy
Property Property name in .policyxml file Description of properties
AWS Lambda Application Type applicationType This property is reserved for future use and must be set to the value online.
AWS Lambda Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
AWS Lambda Authentication method authenticationMethod This property specifies the type of authentication that is used for the connection between IBM App Connect Enterprise and AWS Lambda. This value is reserved for future use and must be set to BASIC.
Region region The region of your AWS Lambda instance. For example, us-east-1.
Credential Name credentialName This property specifies the name of the credential that is used for the connection to AWS Lambda.

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.

Proxy name proxyId This property specifies the name of the HTTP Proxy policy that contains details of the HTTP Proxy server URL and the HTTPProxy credential used to make the connection.