AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
If you are using versioning, the permissions you remove are specific to the Lambda
function version or alias you specify in the AddPermission
request via
the Qualifier
parameter. For more information about versioning, see AWS Lambda
Function Versioning and Aliases.
Note that removal of a permission will cause an active event source to lose permission to the function.
You need permission for the lambda:RemovePermission
action.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class RemovePermissionRequest : AmazonLambdaRequest IRequestEvents
The RemovePermissionRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
RemovePermissionRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
FunctionName | System.String |
Gets and sets the property FunctionName.
Lambda function whose resource policy you want to remove a permission from.
You can specify a function name (for example, |
![]() |
Qualifier | System.String |
Gets and sets the property Qualifier.
You can specify this optional parameter to remove permission associated with a specific function version or function alias. If you don't specify this parameter, the API removes permission associated with the unqualified function ARN. |
![]() |
StatementId | System.String |
Gets and sets the property StatementId.
Statement ID of the permission to remove. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8