aws-cdk-lib.aws_cloudfront.FunctionAttributes

interface FunctionAttributes

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.FunctionAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#FunctionAttributes
Javasoftware.amazon.awscdk.services.cloudfront.FunctionAttributes
Pythonaws_cdk.aws_cloudfront.FunctionAttributes
TypeScript (source)aws-cdk-lib » aws_cloudfront » FunctionAttributes

Attributes of an existing CloudFront Function to import it.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const functionAttributes: cloudfront.FunctionAttributes = {
  functionArn: 'functionArn',
  functionName: 'functionName',
};

Properties

NameTypeDescription
functionArnstringThe ARN of the function.
functionNamestringThe name of the function.

functionArn

Type: string

The ARN of the function.


functionName

Type: string

The name of the function.