Null
Null
Null
checks if a context key is absent in the request. If the policy value is "true", the key must not exist in the request. If the policy value is "false", the key must exist in the request. Yes, it's that not-unconfusing.
You can NOT use policy variables in the value of this operator.
Null in an Allow Statement
Click into any of these polices and change them test how they change the result.
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
Allowed Assuming no explicit Deny elsewhere |
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
Not Allowed Statement does not apply |
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
Not Allowed Statement does not apply |
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
Allowed Assuming no explicit Deny elsewhere |
Null in a Deny Statement
Click into any of these polices and change them test how they change the result.
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
Denied |
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
Not Denied May be allowed by another statement |
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
Not Denied May be allowed by another statement |
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
Denied |