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
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
|
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
|
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
|
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
|
Null in a Deny Statement
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
|
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "true" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
|
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: null |
Then the result is: |
|
Given the Policy Condition: |
"Null": { "aws:TokenIssueTime": "false" } |
When the Request Context has: |
aws:TokenIssueTime: |
Then the result is: |
|