Add permission
async_boto.validation.lambda_.add_permission
AddPermissionRequest
Bases: BaseModel
Request model for the AddPermission operation.
Grants a principal permission to use a function.
| ATTRIBUTE | DESCRIPTION |
|---|---|
FunctionName |
The name or ARN of the Lambda function, version, or alias.
TYPE:
|
Qualifier |
Specify a version or alias to add permissions to a published version of the function.
TYPE:
|
Action |
The action that the principal can use on the function.
TYPE:
|
EventSourceToken |
For Alexa Smart Home functions, a token that the invoker must supply.
TYPE:
|
FunctionUrlAuthType |
The type of authentication that your function URL uses.
TYPE:
|
Principal |
The AWS service, AWS account, IAM user, or IAM role that invokes the function.
TYPE:
|
PrincipalOrgID |
The identifier for your organization in AWS Organizations.
TYPE:
|
RevisionId |
Update the policy only if the revision ID matches the ID that's specified.
TYPE:
|
SourceAccount |
For AWS service, the ID of the AWS account that owns the resource.
TYPE:
|
SourceArn |
For AWS services, the ARN of the AWS resource that invokes the function.
TYPE:
|
StatementId |
A statement identifier that differentiates the statement from others in the same policy.
TYPE:
|
FunctionName
instance-attribute
FunctionName
Qualifier
class-attribute
instance-attribute
Qualifier = None
Action
instance-attribute
Action
EventSourceToken
class-attribute
instance-attribute
EventSourceToken = None
FunctionUrlAuthType
class-attribute
instance-attribute
FunctionUrlAuthType = None
Principal
instance-attribute
Principal
PrincipalOrgID
class-attribute
instance-attribute
PrincipalOrgID = None
RevisionId
class-attribute
instance-attribute
RevisionId = None
SourceAccount
class-attribute
instance-attribute
SourceAccount = None
SourceArn
class-attribute
instance-attribute
SourceArn = None
StatementId
instance-attribute
StatementId
AddPermissionResponse
Bases: BaseModel
Response model for the AddPermission operation.
| ATTRIBUTE | DESCRIPTION |
|---|---|
Statement |
The permission statement that's added to the function policy.
TYPE:
|
Statement
instance-attribute
Statement