iot:SetDefaultPolicyVersion is a Permissions management access-level action in the iot service. Grants permission to set the specified version of the specified policy as the policy's default (operative) version
ARNs that iot:SetDefaultPolicyVersion can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants iot:SetDefaultPolicyVersion.
Filters access by a tag key component of a tag associated to the IoT resource in the request
A minimal policy that allows iot:SetDefaultPolicyVersion. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotSetDefaultPolicyVersion",
"Effect": "Allow",
"Action": "iot:SetDefaultPolicyVersion",
"Resource": "*"
}
]
}