VersionReference

class aws_cdk.aws_lambda.VersionReference(*, function_arn)

Bases: object

A reference to a Version resource.

Parameters:

function_arn (str) – The FunctionArn of the Version 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_

version_reference = lambda.VersionReference(
    function_arn="functionArn"
)

Attributes

function_arn

The FunctionArn of the Version resource.