iotevents:CreateDetectorModel

Write

iotevents:CreateDetectorModel is a Write access-level action in the iotevents service. Grants permission to create a detector model to monitor an AWS IoT Events input attribute

Resource types

ARNs that iotevents:CreateDetectorModel can be scoped to in an IAM policy.

arn:${Partition}:iotevents:${Region}:${Account}:detectorModel/${DetectorModelName}
detectorModel

Condition keys

Keys you can use in the Condition block of a policy that grants iotevents:CreateDetectorModel.

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to the resource

Example IAM policy

A minimal policy that allows iotevents:CreateDetectorModel. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIoteventsCreateDetectorModel",
      "Effect": "Allow",
      "Action": "iotevents:CreateDetectorModel",
      "Resource": "*"
    }
  ]
}

Related actions in iotevents

View all iotevents actions →