condition key

A value AWS attaches to every request, such as whether multi-factor authentication was used, that a policy Condition can test.

In more detail

Conditions narrow a permission along lines actions and resources cannot express: the caller’s network, a second factor, matching tags, or whether an upload is encrypted. If a request has no value for the tested key, most conditions on it evaluate to false: an Allow that needs it does not apply, so the request falls to an implicit deny, and a Deny that needs it never fires.

Example

"Condition": {"Bool": {"aws:MultiFactorAuthPresent": "true"}}

Related terms

Taught in

References

Certification courses