aws.proto

Package: aws.options.gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/aws/aws.proto

UpstreamSpec

Upstream Spec for AWS Lambda Upstreams AWS Upstreams represent a collection of Lambda Functions for a particular AWS Account (IAM Role or User account) in a particular region

"region": string
"secretRef": .core.solo.io.ResourceRef
"lambdaFunctions": []aws.options.gloo.solo.io.LambdaFunctionSpec
"roleArn": string

Field Type Description Default
region string The AWS Region where the desired Lambda Functions exist.
secretRef .core.solo.io.ResourceRef A Gloo Secret Ref to an AWS Secret AWS Secrets can be created with glooctl secret create aws ... If the secret is created manually, it must conform to the following structure: access_key: <aws access key> secret_key: <aws secret key> session_token: <(optional) aws session token>.
lambdaFunctions []aws.options.gloo.solo.io.LambdaFunctionSpec The list of Lambda Functions contained within this region. This list will be automatically populated by Gloo if discovery is enabled for AWS Lambda Functions.
roleArn string (Optional): role_arn to use when assuming a role for a given request via STS. If set this role_arn will override the value found in AWS_ROLE_ARN This option will only be respected if STS credentials are enabled. To enable STS credential fetching see Settings.Gloo.AwsOptions in settings.proto.

LambdaFunctionSpec

Each Lambda Function Spec contains data necessary for Gloo to invoke Lambda functions:

"logicalName": string
"lambdaFunctionName": string
"qualifier": string

Field Type Description Default
logicalName string the logical name gloo should associate with this function. if left empty, it will default to lambda_function_name+qualifier.
lambdaFunctionName string The Name of the Lambda Function as it appears in the AWS Lambda Portal.
qualifier string The Qualifier for the Lambda Function. Qualifiers act as a kind of version for Lambda Functions. See https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html for more info.

DestinationSpec

Each Lambda Function Spec contains data necessary for Gloo to invoke Lambda functions

"logicalName": string
"invocationStyle": .aws.options.gloo.solo.io.DestinationSpec.InvocationStyle
"responseTransformation": bool

Field Type Description Default
logicalName string The Logical Name of the LambdaFunctionSpec to be invoked.
invocationStyle .aws.options.gloo.solo.io.DestinationSpec.InvocationStyle Can be either Sync or Async.
responseTransformation bool de-jsonify response bodies returned from aws lambda.

InvocationStyle

Name Description
SYNC
ASYNC