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
posta 9 mesi fa208 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
kentrad
con risposta 9 mesi fa
profile picture
ESPERTO
verificato 9 mesi fa
profile picture
ESPERTO
verificato 9 mesi fa
profile pictureAWS
ESPERTO
verificato 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande