Proto: cloud_provider.proto

Package: infrastructure.gloo.solo.io

Types:

AWSProvider

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.

FieldDescription
accountId(string)

AWS account ID
region(string)

AWS region
stsEndpoint(string)

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

Lambda configuration

AWSProvider.LambdaOptions

LambdaOptions specifies options for configuring invocation and filtering of lambda functions

FieldDescription
invokeRoleName(string)

Optional. The 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 gloo.solo.io/defaultInvokeRole annotation.
discovery(AWSProvider.LambdaOptions.LambdaDiscovery)

Discovery of lambda functions

AWSProvider.LambdaOptions.LambdaDiscovery

LambdaDiscovery specifies options for discovering lambda functions

FieldDescription
enabled(bool)

Enable discovery of lambda functions.
roleName(string)

Optional. The 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 the $AWS_ROLE_ARN environment variable on the mgmt-server pod.
filter(AWSProvider.LambdaOptions.LambdaDiscovery.LambdaFilter)

Lambda function configuration specifies how lambda functions will be discovered.

AWSProvider.LambdaOptions.LambdaDiscovery.LambdaFilter

FieldDescription
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.

CloudProviderReport

reflects the report of the Cloud Provider

FieldDescription
report(common.gloo.solo.io.Report)

appliedRoutableFunctions(repeated CloudProviderReport.AppliedRoutableFunctionsEntry)

A map of CloudResources to the number of routable functions provided by that CloudResource.
childCloudResources(repeated common.gloo.solo.io.ObjectReference)

A list of CloudResources that back this CloudProvider.

CloudProviderReport.AppliedRoutableFunctionsEntry

FieldDescription
key(string)

value(CloudProviderReport.LambdaFunctions)

CloudProviderReport.LambdaFunctions

FieldDescription
functions(repeated string)

CloudProviderSpec

A CloudProvider is a representation of a cloud/infrastructure 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.

FieldDescription
aws(AWSProvider)

AWS cloud provider configuration.

CloudProviderStatus

reflects the status of the Cloud Provider

FieldDescription
common(common.gloo.solo.io.Status)

numAppliedRoutableFunctions(repeated CloudProviderStatus.NumAppliedRoutableFunctionsEntry)

A map of CloudResources to the number of routable functions provided by that CloudResource.
numChildCloudResources(uint32)

The number of CloudResources that back this CloudProvider.

CloudProviderStatus.NumAppliedRoutableFunctionsEntry

FieldDescription
key(string)

value(uint32)