Proto: cloud_provider.proto




AWSProvider is the implementation for AWS, used for specifying how functionality should be discovered and which credentials should be used, unless otherwise discovered using the aws credentials in the workspace settings.

Field Description
accountId (string)

AWS account ID
region (string)

AWS region
stsEndpoint (string)

STS endpoint to reach out to for AWS credentials
lambda (LambdaOptions)

Lambda configuration


A CloudProvider is a representation of a cloud provider, and allows you to specify the configuration used to communicate with that cloud provider, as well as how to discover the set of backing functionality associated with that CloudProvider.

Field Description
aws (AWSProvider)

AWS cloud provider configuration.


reflects the status of the Cloud Provider

Field Description
global (

workspaces (repeated CloudProviderStatus.WorkspacesEntry)

The status of the resource in each workspace that it exists in.
childCloudResources (repeated

CloudResources that back this CloudProvider
numRoutableFunctions (uint32)

Total number of routable functions provided by the attached CloudResources
ownerWorkspace (

Name of Workspace that owns CloudProvider


Field Description
key (string)

value (


LambdaDiscovery specifies the options for discovering lambda functions

Field Description
enabled (bool)

Enable discovery of lambda functions.
roleName (string)

Optional: name of role to use for discovering CloudResources, associated with the account ID and region specified on the CloudProvider. If set this name will be used to override the value found in AWS_ROLE_ARN.
filter (LambdaFilter)

Lambda function configuration specifies how lambda functions will be discovered.


Field Description
names (repeated string)

filter by the names of the functions. Functions that do not match this selector will not be included. Regex supported.
latestOnly (bool)

select only Lambda functions with the $LATEST version, to reduce the amount of discovered functions. If disabled, the generated resources will contain all versions associated with the functions specified.


LambdaOptions specifies the options for configuring invocation and filtering

Field Description
invokeRoleName (string)

Name of the IAM Role to assume when calling the specified Cloud Function, associated with the account ID and region specified on the CloudProvider. If not specified, the IAM Role specified on the gateway will be used unless referencing an imported CloudProvider. If importing a CloudProvider,this field must be specified. A default invokeRole can be put on the routeTable by using the annotation.
discovery (LambdaDiscovery)

Discovery of lambda functions