FunctionReference

class aws_cdk.aws_cloudfront.FunctionReference(*, function_arn)

Bases: object

A reference to a Function resource.

Parameters:

function_arn (str) – The FunctionARN 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_cloudfront as cloudfront

function_reference = cloudfront.FunctionReference(
    function_arn="functionArn"
)

Attributes

function_arn

The FunctionARN of the Function resource.