Back to all operators

ForAllValues:StringNotEqualsIgnoreCase

ForAllValues:StringNotEqualsIgnoreCase

compares a list of strings in a request to a list of strings in your policy. The comparison is case insensitive.

To match a request, the context key can be absent, but if it is present, none of the strings in the request can match any string strings in your policy.

You can use policy variables in the value of this operator.

ForAllValues:StringNotEqualsIgnoreCase in an Allow Statement

Simulate in IAM Simulate
Policy ConditionRequest ContextResult
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys: null✓ Allowed Assuming no explicit Deny elsewhere
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - dAtAcLaSs
 - Owner
− Not Allowed Statement does not apply
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - dAtAcLaSs
 - Dept
− Not Allowed Statement does not apply
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - Dept
✓ Allowed Assuming no explicit Deny elsewhere
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - Dept
 - SIC
✓ Allowed Assuming no explicit Deny elsewhere
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - Dept
 - SIC
 - dAtAcLaSs
− Not Allowed Statement does not apply

ForAllValues:StringNotEqualsIgnoreCase in a Deny Statement

Simulate in IAM Simulate
Policy ConditionRequest ContextResult
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys: null✕ Denied
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - dAtAcLaSs
 - Owner
− Not Denied May be allowed by another statement
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - dAtAcLaSs
 - Dept
− Not Denied May be allowed by another statement
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - Dept
✕ Denied
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - Dept
 - SIC
✕ Denied
"ForAllValues:StringNotEqualsIgnoreCase": {
"aws:TagKeys": [
"DataClass",
"Owner"
]
}
aws:TagKeys:
 - Dept
 - SIC
 - dAtAcLaSs
− Not Denied May be allowed by another statement