FunctionAttributes

class aws_cdk.aws_cloudfront.FunctionAttributes(*, function_arn, function_name)

Bases: object

Attributes of an existing CloudFront Function to import it.

Parameters
  • function_arn (str) – The ARN of the function.

  • function_name (str) – The name of the function.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cloudfront as cloudfront

function_attributes = cloudfront.FunctionAttributes(
    function_arn="functionArn",
    function_name="functionName"
)

Attributes

function_arn

The ARN of the function.

Return type

str

function_name

The name of the function.

Return type

str