permissions
Retrieves a list of permissions
in a region
Overview
Name | permissions |
Type | Resource |
Description | permissions |
Id | awscc.lambda.permissions |
Fields
Name | Datatype | Description |
---|---|---|
function_name | string | The name of the Lambda function, version, or alias.<br/> **Name formats**<br/> + *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias).<br/> + *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function``.<br/> + *Partial ARN* – ``123456789012:function:my-function``.<br/> <br/> 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. |
id | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
function_name,
id
FROM awscc.lambda.permissions
WHERE region = 'us-east-1'
Permissions
To operate on the permissions
resource, the following permissions are required:
Create
lambda:AddPermission
List
lambda:GetPolicy