I would like to possible add IP restrictions for some IAM accounts

0

I looked under IAM Users and Groups, but I cannot find where to do this, if this is even possible.

MrJones
已提问 9 个月前206 查看次数
1 回答
1
已接受的回答

Here is an example: AWS: Denies access to AWS based on the source IP.

{
    "Version": "2012-10-17",
    "Statement": {
        "Effect": "Deny",
        "Action": "*",
        "Resource": "*",
        "Condition": {
            "NotIpAddress": {
                "aws:SourceIp": [
                    "192.0.2.0/24",
                    "203.0.113.0/24"
                ]
            },
            "Bool": {"aws:ViaAWSService": "false"}
        }
    }
}
profile pictureAWS
专家
kentrad
已回答 9 个月前
profile picture
专家
已审核 9 个月前
profile picture
专家
已审核 9 个月前
profile pictureAWS
专家
已审核 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则