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
asked 8 months ago196 views
1 Answer
1
Accepted Answer

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
EXPERT
kentrad
answered 8 months ago
profile picture
EXPERT
reviewed 8 months ago
profile picture
EXPERT
reviewed 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions