Condition policy examples
In IAM policies, you can specify multiple values for both single-valued and multivalued context keys for comparison against the request context. The following set of policy examples demonstrates policy conditions with multiple context keys and values.
Note
If you would like to submit a policy to be included in this reference guide, use the Feedback button at the bottom of this page. For IAM identity-based policy examples, see Example IAM identity-based policies.