one:DeleteDeviceInstance

Write

one:DeleteDeviceInstance is a Write access-level action in the one service. Grants permission to delete a Device Instance

Resource types

ARNs that one:DeleteDeviceInstance can be scoped to in an IAM policy.

arn:${Partition}:one:${Region}:${Account}:device-instance/${DeviceInstanceId}
device-instance

Condition keys

Keys you can use in the Condition block of a policy that grants one:DeleteDeviceInstance.

aws:ResourceTag/${TagKey} String

Filters access by using tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOneDeleteDeviceInstance",
      "Effect": "Allow",
      "Action": "one:DeleteDeviceInstance",
      "Resource": "*"
    }
  ]
}

Related actions in one

View all one actions →