FunctionAttributes Struct
Attributes of an existing CloudFront Function to import it.
Example
ts
// 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',
// the properties below are optional
functionRuntime: 'functionRuntime',
};
Properties
The ARN of the function.
The name of the function.
functionRuntimeoptionalstringfunction_runtimeoptionalstrfunctionRuntimeoptionalStringFunctionRuntimeoptionalstringFunctionRuntimeoptional*string= FunctionRuntime.JS_1_0#The Runtime of the function.