AWS Lambda · Schema
AddLayerVersionPermissionRequest
ServerlessMonitoringObservabilityLoggingTelemetryAWS Lambda
Properties
| Name | Type | Description |
|---|---|---|
| LayerName | string | The name or Amazon Resource Name (ARN) of the layer. |
| VersionNumber | integer | The version number. |
| StatementId | string | An identifier that distinguishes the policy from others on the same layer version. |
| Action | string | The API action that grants access to the layer. For example, lambda:GetLayerVersion. |
| Principal | string | An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you |
| OrganizationId | string | With the principal set to *, grant permission to all accounts in the specified organization. |
| RevisionId | string | Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aws-lambda/json-schema/aws-lambda-add-layer-version-permission-request-schema.json",
"title": "AddLayerVersionPermissionRequest",
"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/AddLayerVersionPermissionRequest",
"type": "object",
"properties": {
"LayerName": {
"type": "string",
"description": "The name or Amazon Resource Name (ARN) of the layer."
},
"VersionNumber": {
"type": "integer",
"description": "The version number."
},
"StatementId": {
"type": "string",
"description": "An identifier that distinguishes the policy from others on the same layer version."
},
"Action": {
"type": "string",
"description": "The API action that grants access to the layer. For example, lambda:GetLayerVersion."
},
"Principal": {
"type": "string",
"description": "An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer."
},
"OrganizationId": {
"type": "string",
"description": "With the principal set to *, grant permission to all accounts in the specified organization."
},
"RevisionId": {
"type": "string",
"description": "Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it."
}
},
"required": [
"LayerName",
"VersionNumber",
"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-layer-version-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.