Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

rename function property #352

Merged
merged 1 commit into from
Dec 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ JSON object:
* `type` - `string` - required, provider type: `awslambda`
* `arn` - `string` - required, AWS ARN identifier
* `region` - `string` - required, region name
* `awsAccessKeyID` - `string` - optional, AWS API key ID. By default credentials from the [environment](http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) are used.
* `awsAccessKeyId` - `string` - optional, AWS API key ID. By default credentials from the [environment](http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) are used.
* `awsSecretAccessKey` - `string` - optional, AWS API access key. By default credentials from the [environment](http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) are used.
* `awsSessionToken` - `string` - optional, AWS session token
* for HTTP function:
Expand Down Expand Up @@ -444,7 +444,7 @@ JSON object:
* `type` - `string` - required, provider type: `awslambda`
* `arn` - `string` - required, AWS ARN identifier
* `region` - `string` - required, region name
* `awsAccessKeyID` - `string` - optional, AWS API key ID
* `awsAccessKeyId` - `string` - optional, AWS API key ID
* `awsSecretAccessKey` - `string` - optional, AWS API key
* `awsSessionToken` - `string` - optional, AWS session token
* for HTTP function:
Expand Down
2 changes: 1 addition & 1 deletion functions/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type Provider struct {
// AWS Lambda function
ARN string `json:"arn,omitempty"`
Region string `json:"region,omitempty"`
AWSAccessKeyID string `json:"awsAccessKeyID,omitempty"`
AWSAccessKeyID string `json:"awsAccessKeyId,omitempty"`
AWSSecretAccessKey string `json:"awsSecretAccessKey,omitempty"`
AWSSessionToken string `json:"awsSessionToken,omitempty"`

Expand Down