iot:UpdatePackageVersion

Write

iot:UpdatePackageVersion is a Write access-level action in the iot service. Grants permission to update the version of the specified package

Resource types

ARNs that iot:UpdatePackageVersion can be scoped to in an IAM policy.

arn:${Partition}:iot:${Region}:${Account}:package/${PackageName}
package
arn:${Partition}:iot:${Region}:${Account}:package/${PackageName}/version/${VersionName}
packageversion

Condition keys

Keys you can use in the Condition block of a policy that grants iot:UpdatePackageVersion.

aws:ResourceTag/${TagKey} String

Filters access by a tag key component of a tag associated to the IoT resource in the request

Dependent actions

To use iot:UpdatePackageVersion you may also need to grant:

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIotUpdatePackageVersion",
      "Effect": "Allow",
      "Action": "iot:UpdatePackageVersion",
      "Resource": "*"
    }
  ]
}

Related actions in iot

View all iot actions →