AWS Lambda · Schema
AddPermissionRequest
ServerlessMonitoringObservabilityLoggingTelemetryAWS Lambda
Properties
| Name | Type | Description |
|---|---|---|
| FunctionName | string | The name or ARN of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:funct |
| StatementId | string | A statement identifier that differentiates the statement from others in the same policy. |
| Action | string | The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction. |
| Principal | string | The Amazon Web Services service, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the func |
| SourceArn | string | For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the compariso |
| FunctionUrlAuthType | string | The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a publ |
| InvokedViaFunctionUrl | boolean | Indicates whether the permission applies when the function is invoked through a function URL. |
| SourceAccount | string | For Amazon Web Services service, the ID of the Amazon Web Services account that owns the resource. Use this together with SourceArn to ensure that the specified account owns the resource. It is possib |
| EventSourceToken | string | For Alexa Smart Home functions, a token that the invoker must supply. |
| Qualifier | string | Specify a version or alias to add permissions to a published version of the function. |
| RevisionId | string | Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it. |
| PrincipalOrgID | string | The identifier for your organization in Organizations. Use this to grant permissions to all the Amazon Web Services accounts under this organization. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aws-lambda/json-schema/aws-lambda-add-permission-request-schema.json",
"title": "AddPermissionRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aws-lambda-policy-api-openapi.yml#/components/schemas/AddPermissionRequest",
"type": "object",
"properties": {
"FunctionName": {
"type": "string",
"description": "The name or ARN of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length."
},
"StatementId": {
"type": "string",
"description": "A statement identifier that differentiates the statement from others in the same policy."
},
"Action": {
"type": "string",
"description": "The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction."
},
"Principal": {
"type": "string",
"description": "The Amazon Web Services service, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service."
},
"SourceArn": {
"type": "string",
"description": "For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the StringLike operator."
},
"FunctionUrlAuthType": {
"type": "string",
"enum": [
"NONE",
"AWS_IAM"
],
"description": "The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs."
},
"InvokedViaFunctionUrl": {
"type": "boolean",
"description": "Indicates whether the permission applies when the function is invoked through a function URL."
},
"SourceAccount": {
"type": "string",
"description": "For Amazon Web Services service, the ID of the Amazon Web Services account that owns the resource. Use this together with SourceArn to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account."
},
"EventSourceToken": {
"type": "string",
"description": "For Alexa Smart Home functions, a token that the invoker must supply."
},
"Qualifier": {
"type": "string",
"description": "Specify a version or alias to add permissions to a published version of the function."
},
"RevisionId": {
"type": "string",
"description": "Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it."
},
"PrincipalOrgID": {
"type": "string",
"description": "The identifier for your organization in Organizations. Use this to grant permissions to all the Amazon Web Services accounts under this organization."
}
},
"required": [
"FunctionName",
"StatementId",
"Action",
"Principal"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aws-lambda-add-permission-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.