FileCodeOptions Struct
Options when reading the function's code from an external file.
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 fileCodeOptions: cloudfront.FileCodeOptions = {
filePath: 'filePath',
};
Properties
The path of the file to read the code from.