interface FileCodeOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.FileCodeOptions |
![]() | software.amazon.awscdk.services.cloudfront.FileCodeOptions |
![]() | aws_cdk.aws_cloudfront.FileCodeOptions |
![]() | @aws-cdk/aws-cloudfront » FileCodeOptions |
Options when reading the function's code from an external file.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudfront from '@aws-cdk/aws-cloudfront';
const fileCodeOptions: cloudfront.FileCodeOptions = {
filePath: 'filePath',
};
Properties
Name | Type | Description |
---|---|---|
file | string | The path of the file to read the code from. |
filePath
Type:
string
The path of the file to read the code from.