FileCodeOptions
- class aws_cdk.aws_cloudfront.FileCodeOptions(*, file_path)
- Bases: - object- Options when reading the function’s code from an external file. - Parameters:
- file_path ( - str) – The path of the file to read the code from.
- 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 file_code_options = cloudfront.FileCodeOptions( file_path="filePath" ) - Attributes - file_path
- The path of the file to read the code from.