Skip to content

Commit 5c6f944

Browse files
authored
Merge pull request #177 from Kydybets/patch-2
Update services-iotevents.md
2 parents 66d9c4c + 7a07f42 commit 5c6f944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc_source/services-iotevents.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ You need to grant permission for the AWS IoT Events service to invoke your Lambd
5151

5252
```
5353
$ aws lambda add-permission --function-name my-function \
54-
--statement-id iot-events --action "lambda:InvokeFunction" principal iotevents.amazonaws.com
54+
--statement-id iot-events --action "lambda:InvokeFunction" --principal iotevents.amazonaws.com
5555
{
5656
"Statement": "{\"Sid\":\"iot-events\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"iotevents.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-west-2:123456789012:function:my-function\"}"
5757
}
5858
```
5959

60-
For more information about using Lambda with AWS IoT Events, see [Using AWS IoT Events with Other Services](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-with-others.html)\.
60+
For more information about using Lambda with AWS IoT Events, see [Using AWS IoT Events with Other Services](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-with-others.html)\.

0 commit comments

Comments
 (0)