All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
schemas.schema-form.json Maven / Gradle / Ivy
{
"type" : "object",
"id" : "urn:jsonschema:io:gravitee:policy:aws:lambda:configuration:AwsLambdaPolicyConfiguration",
"properties" : {
"scope" : {
"title": "Scope",
"description": "Execute policy on request (HEAD) phase, response (HEAD) phase, request_content (includes payload) phase, response content (includes payload) phase.",
"type" : "string",
"default": "REQUEST",
"enum" : [ "REQUEST", "RESPONSE", "REQUEST_CONTENT", "RESPONSE_CONTENT" ]
},
"region": {
"title": "AWS Region",
"description": "AWS Region",
"default": "us-east-1",
"type" : "string"
},
"accessKey": {
"title": "AWS Access Key",
"description": "AWS Access Key",
"type" : "string"
},
"secretKey": {
"title": "AWS Secret Key",
"description": "AWS Secret Key",
"type" : "string"
},
"function": {
"title": "AWS Lambda Function",
"description": "AWS Lambda function to call",
"type" : "string"
},
"payload" : {
"title": "Lambda request payload",
"type" : "string",
"x-schema-form": {
"type": "codemirror",
"codemirrorOptions": {
"placeholder": "Put payload here",
"lineWrapping": true,
"lineNumbers": true,
"allowDropFileTypes": true,
"autoCloseTags": true
}
}
},
"variables" : {
"type" : "array",
"title": "Context variables",
"items" : {
"type" : "object",
"id" : "urn:jsonschema:io:gravitee:policy:aws:lambda:configuration:Variable",
"title": "Variable",
"properties" : {
"name" : {
"title": "Name",
"type" : "string"
},
"value" : {
"title": "Value",
"type" : "string",
"default": "{#jsonPath(#lambdaResponse.content, '$.field')}"
}
}
},
"required": [
"name",
"value"
]
},
"sendToConsumer": {
"title": "Send lambda function result to consumer",
"description": "Check this option if you want to send the response of the lambda to the initial consumer without going to the final upstream (endpoints) selected by the gateway.",
"type" : "boolean",
"default": false
}
},
"required": [
"scope",
"region",
"function"
]
}