github.com/Foodji/aws-lambda-go@v1.20.2/events/testdata/apigw-custom-auth-response.json (about)

     1  {
     2      "principalId": "yyyyyyyy",
     3      "policyDocument": {
     4        "Version": "2012-10-17",
     5        "Statement": [
     6          {
     7            "Action": ["execute-api:Invoke"],
     8            "Effect": "Allow|Deny",
     9            "Resource": ["arn:aws:execute-api:{regionId}:{accountId}:{appId}/{stage}/{httpVerb}/[{resource}/[child-resources]]"]
    10          }
    11        ]
    12      },
    13      "context": {
    14        "stringKey": "value",
    15        "numberKey": "1",
    16        "booleanKey": "true"
    17      },
    18      "usageIdentifierKey": "{api-key}"
    19  }