aws.lambda.get_policy
Example SQL Queries
SELECT * FROMaws.lambda.get_policyWHERE"function_name" = 'VALUE';Description
Returns the resource-based IAM policy for a function, version, or alias.
Table Definition
| Column Name | Column Data Type |
|---|---|
| function_name Required Input Column The name or ARN of the Lambda function, version, or alias. Name formats
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. | VARCHAR |
| qualifier Input Column Specify a version or alias to get the policy for that resource. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| policy The resource-based policy. | VARCHAR |
| revision_id A unique identifier for the current revision of the policy. | VARCHAR |