Merge pull request #9007 from steve-jansen/patch-2
Update aws_lambda_permission doc for CloudWatch Events
This commit is contained in:
commit
a8a1f6d166
|
@ -118,6 +118,7 @@ EOF
|
|||
The permission will then apply to the specific qualified ARN.
|
||||
e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
|
||||
* `source_account` - (Optional) The AWS account ID (without a hyphen) of the source owner.
|
||||
* `source_arn` - (Optional) When granting Amazon S3 permission to invoke your function,
|
||||
you should specify this field with the bucket Amazon Resource Name (ARN) as its value.
|
||||
This ensures that only events generated from the specified bucket can invoke the function.
|
||||
* `source_arn` - (Optional) When granting Amazon S3 or CloudWatch Events permission to
|
||||
invoke your function, you should specify this field with the Amazon Resource Name (ARN)
|
||||
for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events
|
||||
generated from the specified bucket or rule can invoke the function.
|
||||
|
|
Loading…
Reference in New Issue