PermissionReference
- class aws_cdk.interfaces.aws_lambda.PermissionReference(*, function_name, permission_id)
Bases:
objectA 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.interfaces import aws_lambda as interfaces_aws_lambda permission_reference = interfaces_aws_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.