iotevents:TagResource

Tagging

iotevents:TagResource is a Tagging access-level action in the iotevents service. Grants permission to adds to or modifies the tags of the given resource.Tags are metadata which can be used to manage a resource

Resource types

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

arn:${Partition}:iotevents:${Region}:${Account}:alarmModel/${AlarmModelName}
alarmModel
arn:${Partition}:iotevents:${Region}:${Account}:detectorModel/${DetectorModelName}
detectorModel
arn:${Partition}:iotevents:${Region}:${Account}:input/${InputName}
input

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to the resource

Example IAM policy

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

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

Related actions in iotevents

View all iotevents actions →