a4b:AssociateDeviceWithRoom

Write

a4b:AssociateDeviceWithRoom is a Write access-level action in the a4b service. Grants permission to associate device with given room

Resource types

ARNs that a4b:AssociateDeviceWithRoom can be scoped to in an IAM policy.

arn:${Partition}:a4b:${Region}:${Account}:device/${ResourceId}
device
arn:${Partition}:a4b:${Region}:${Account}:room/${ResourceId}
room

Condition keys

Keys you can use in the Condition block of a policy that grants a4b:AssociateDeviceWithRoom.

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowA4bAssociateDeviceWithRoom",
      "Effect": "Allow",
      "Action": "a4b:AssociateDeviceWithRoom",
      "Resource": "*"
    }
  ]
}

Related actions in a4b

View all a4b actions →