AWS iotevents documentation change
Summary
Added JSON formatting markers, updated resource ARNs with concrete account IDs/regions, and fixed a typo in schedule naming
Security assessment
Provides concrete IAM policy examples for cross-service integrations. The typo fix ('schdule' to 'schedule') prevents potential operational errors but isn't security-related.
Diff
diff --git a/iotevents/latest/developerguide/eos-procedure-detector-models.md b/iotevents/latest/developerguide/eos-procedure-detector-models.md index f33bab119..52b92a3d5 100644 --- a//iotevents/latest/developerguide/eos-procedure-detector-models.md +++ b//iotevents/latest/developerguide/eos-procedure-detector-models.md @@ -86,0 +87,6 @@ Create an IAM role to provide permissions to replicate the functionality of AWS +JSON + + +**** + + @@ -101 +107 @@ Create an IAM role to provide permissions to replicate the functionality of AWS - "Resource": "arn:aws:dynamodb:your-region:your-account-id:table/EventsStateTable" + "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/EventsStateTable" @@ -110 +116 @@ Create an IAM role to provide permissions to replicate the functionality of AWS - "Resource": "arn:aws:scheduler:your-region:your-account-id:schedule/*" + "Resource": "arn:aws:scheduler:us-east-1:123456789012:schedule/*" @@ -121 +127 @@ Create an IAM role to provide permissions to replicate the functionality of AWS - "Resource": "arn:aws:kinesis:your-region:your-account-id:stream/*" + "Resource": "arn:aws:kinesis:us-east-1:123456789012:stream/*" @@ -127 +133 @@ Create an IAM role to provide permissions to replicate the functionality of AWS - "Resource": "arn:aws:iot:your-region:your-account-id:topic/*" + "Resource": "arn:aws:iot:us-east-1:123456789012:topic/*" @@ -132 +138 @@ Create an IAM role to provide permissions to replicate the functionality of AWS - "Resource": "arn:aws:logs:your-region:your-account-id:*" + "Resource": "arn:aws:logs:us-east-1:123456789012:*" @@ -141 +147 @@ Create an IAM role to provide permissions to replicate the functionality of AWS - "arn:aws:logs::your-account-id:log-group:/aws/lambda/your-lambda:*" + "arn:aws:logs:us-east-1:123456789012:log-group:/aws/lambda/your-lambda:*" @@ -148,0 +156,6 @@ Create an IAM role to provide permissions to replicate the functionality of AWS +JSON + + +**** + + @@ -512 +526 @@ Create a Lambda function with NodeJS runtime. Use the following code snippet, re - const scheduleName = `your-schedule-name-${instanceId}-schdule`; + const scheduleName = `your-schedule-name-${instanceId}-schedule`;