Skip to main content

permissions

Retrieves a list of permissions in a region

Overview

Namepermissions
TypeResource
Descriptionpermissions
Idawscc.lambda.permissions

Fields

NameDatatypeDescription
function_namestringThe 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.
idstring
regionstringAWS 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