CmdID

CmdID / aws / aws lambda

aws lambda add-permission

Grants a principal permission to use a function. AWS CLI reference

12 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

12 in the AWS CLI reference
--actionThe action that the principal can use on the function.
--event-source-tokenFor Alexa Smart Home functions, a token that the invoker must supply.
--function-nameThe name or ARN of the Lambda function, version, or alias.
--function-url-auth-typeThe type of authentication that your function URL uses.
--invoked-via-function-urlIndicates whether the permission applies when the function is invoked through a function URL.
--principal-org-idThe identifier for your organization in Organizations.
--principalThe Amazon Web Services service, Amazon Web Services account, IAM user, or IAM role that invokes the function.
--qualifierSpecify a version or alias to add permissions to a published version of the function.
--revision-idUpdate the policy only if the revision ID matches the ID that's specified.
--source-accountFor Amazon Web Services service, the ID of the Amazon Web Services account that owns the resource.
--source-arnFor Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function.
--statement-idA statement identifier that differentiates the statement from others in the same policy.