Skip to content

Commit

Permalink
rename function property (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthenw authored Dec 18, 2017
1 parent 3af70a1 commit 16e6c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 16e6c79

Please sign in to comment.