FunctionReference

class aws_cdk.aws_lambda.FunctionReference(*, function_arn, function_name)

Bases: object

A reference to a Function resource.

Parameters:
  • function_arn (str) – The ARN of the Function resource.

  • function_name (str) – The FunctionName of the Function 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_

function_reference = lambda.FunctionReference(
    function_arn="functionArn",
    function_name="functionName"
)

Attributes

function_arn

The ARN of the Function resource.

function_name

The FunctionName of the Function resource.