iot:DetachSecurityProfile is a Write access-level action in the iot service. Grants permission to disassociate a Device Defender security profile from a thing group or from this account
ARNs that iot:DetachSecurityProfile can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants iot:DetachSecurityProfile.
Filters access by a tag key component of a tag associated to the IoT resource in the request
A minimal policy that allows iot:DetachSecurityProfile. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotDetachSecurityProfile",
"Effect": "Allow",
"Action": "iot:DetachSecurityProfile",
"Resource": "*"
}
]
}