场景: 限制用户名以sso-为前缀的IAM用户访问云解析 DNS服务。策略示例:
sso-
{ "Statement": [ { "Effect": "Allow", "Action": [ "dns:*" ], "Resource": [ "*" ], "Condition":{ "StringEquals":{ "volc:UserName":"sso-*" } } } ] }