We are excited to announce our new API Documentation.
The input for GetPolicyCommand.
The name of the Lambda function, version, or alias.
Function name –
my-function:v1 (with alias).
Function ARN –
Partial ARN –
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.
Specify a version or alias to get the policy for that resource.