Difference between revisions of "Aws:RequestedRegion"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/es/blogs/security/easier-way-to-control-access-to-aws-regions-using-iam-policies/
(Created page with "* <code>aws:RequestedRegion</code> (April 2018) <ref>https://aws.amazon.com/es/blogs/security/easier-way-to-control-access-to-aws-regions-using-iam-policies/</ref> == R...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* <code>[[aws:RequestedRegion]]</code> (April 2018) <ref>https://aws.amazon.com/es/blogs/security/easier-way-to-control-access-to-aws-regions-using-iam-policies/</ref> | * <code>[[aws:RequestedRegion]]</code> (April 2018) <ref>https://aws.amazon.com/es/blogs/security/easier-way-to-control-access-to-aws-regions-using-iam-policies/</ref> | ||
+ | * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_aws_deny-requested-region.html | ||
+ | |||
+ | == [[AWS: Denies access to AWS based on the requested Region]] == | ||
+ | |||
+ | {{DenyAllOutsideRequestedRegions}} | ||
+ | |||
+ | |||
+ | Restrict to a [[region]]: | ||
+ | <pre> | ||
+ | { | ||
+ | "Version": "2012-10-17", | ||
+ | "Statement": [{ | ||
+ | "Effect": "Deny", | ||
+ | "Action": "*", | ||
+ | "Resource": "*", | ||
+ | "Condition": { | ||
+ | "StringNotEquals": { | ||
+ | "aws:RequestedRegion": [ | ||
+ | "eu-central-1", | ||
+ | "eu-west-1" | ||
+ | ] | ||
+ | } | ||
+ | } | ||
+ | }] | ||
+ | } | ||
+ | </pre> | ||
Latest revision as of 14:38, 19 February 2024
aws:RequestedRegion
(April 2018) [1]- https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_aws_deny-requested-region.html
AWS: Denies access to AWS based on the requested Region[edit]
{ "Version": "2012-10-17", "Statement": [ { "Sid": "DenyAllOutsideRequestedRegions", "Effect": "Deny", "Action": "*", "Resource": "*", "Condition": { "StringNotEquals": { "aws:RequestedRegion": [ "us-east-1", ] } } } ] }
Restrict to a region:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "*", "Resource": "*", "Condition": { "StringNotEquals": { "aws:RequestedRegion": [ "eu-central-1", "eu-west-1" ] } } }] }
Related terms[edit]
See also[edit]
- AWS, Amazon Managed Services, AWS Management & Governance, computing, security, networking, AWS compliance, AWS Outposts AWS Free Tier, AWS certifications, AWS Trusted Advisor, AWS Systems Manager, AWS Config, IAM Access Analyzer, AWS Cost Explorer, AWS Cost Management, AWS Budgets, AWS Organizations, AWS dev: (CodeStar, Cloud9), AWS Partner Network (APN), AWS Resource Access Manager, AWS Quick Starts, AWS Global Accelerator, AWS Elemental MediaStore, AWS Enterprise support, AWS support, AWS Professional Services Consultants, AWS Cloud Map, AWS Marketplace, AWS CLI, AWS Management Console, AWS acceptable use policy, amazonaws.com, Quotas, AWS Support plans, AWS Resource Explorer, AWS Managed Services (AMS), AWS savings, AWS Nitro System, AWS Activate, Serverless, AWS timeline
Advertising: