PermissionReference
- class aws_cdk.aws_lambda.PermissionReference(*, function_name, permission_id)
Bases:
object
A reference to a Permission resource.
- Parameters:
function_name (
str
) – The FunctionName of the Permission resource.permission_id (
str
) – The Id of the Permission resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lambda as lambda_ permission_reference = lambda.PermissionReference( function_name="functionName", permission_id="permissionId" )
Attributes
- function_name
The FunctionName of the Permission resource.
- permission_id
The Id of the Permission resource.