CloudProviderOptions

Proto: cloud_provider_options.proto

Package: common.gloo.solo.io

Types:

AWSFilterOptions

Field Description
accountIds (repeated string)

Optional: filter out route tables that use an AWS account ID which does not match the selector, if provided.
iamRoles (repeated string)

Optional: filter out route tables that use IAM invoke roles which do not match the selector, if provided. Regex supported.
regions (repeated string)

Optional: filter out route tables that use regions which do not match the selector, if provided.
lambdaFunctions (repeated string)

Optional: filter out route tables that use backend Lambda functions that do no match the selector, if provided. Regex supported.

CloudProviderFilterOptions

Field Description
aws (AWSFilterOptions)

Optional: filter out route tables that use AWS functionality, if provided. Each evaluated route must match at at least one of every repeated field provided, if not empty.

FunctionDestinationSpec

FunctionDestinationSpec specifies the name and options to use when calling a serverless function.

Field Description
logicalName (string)

The logical name used to call the specified Cloud Provider.
awsLambda (LambdaOptions)

LambdaOptions

Field Description
requestTransformation (LambdaOptions.RequestTransformation)

responseTransformation (LambdaOptions.ResponseTransformation)

invocationStyle (LambdaOptions.InvocationStyle)

Can be either Sync or Async. See AWS Invoke for more details.

LambdaOptions.InvocationStyle

Name Number Description
SYNC 0
ASYNC 1

LambdaOptions.RequestTransformation

Name Number Description
REQUEST_DEFAULT 0 Default value. include headers, querystring, request path, and request method in the event payload sent to aws lambda.
REQUEST_DISABLE 1 Disable all transformations for the request to AWS Lambda.
WRAP_AS_API_GATEWAY 2 Wrap the request into AWS API Gateway event format. Intended to ease migration when previously using API Gateway to invoke Lambdas.

LambdaOptions.ResponseTransformation

Name Number Description
RESPONSE_DEFAULT 0 Default value. de-jsonify response bodies returned from aws lambda
RESPONSE_DISABLE 1 Disable all transformations for the response from AWS Lambda.
UNWRAP_AS_API_GATEWAY 2 Unwrap the response as if the proxy was an AWS API Gateway. Intended to ease migration when previously using API Gateway to invoke Lambdas.
UNWRAP_AS_ALB 3 Unwrap the response as if the proxy was an ALB. Intended to ease migration when previously using alb to invoke Lambdas. For further information see below link for the expected format when true. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html