aws-cdk-lib.aws_cloudfront.CfnFunction.FunctionConfigProperty
interface FunctionConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CfnFunction.FunctionConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnFunction_FunctionConfigProperty |
![]() | software.amazon.awscdk.services.cloudfront.CfnFunction.FunctionConfigProperty |
![]() | aws_cdk.aws_cloudfront.CfnFunction.FunctionConfigProperty |
![]() | aws-cdk-lib » aws_cloudfront » CfnFunction » FunctionConfigProperty |
Contains configuration information about a CloudFront function.
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 functionConfigProperty: cloudfront.CfnFunction.FunctionConfigProperty = {
comment: 'comment',
runtime: 'runtime',
};
Properties
Name | Type | Description |
---|---|---|
comment | string | A comment to describe the function. |
runtime | string | The function's runtime environment. |
comment
Type:
string
A comment to describe the function.
runtime
Type:
string
The function's runtime environment.
The only valid value is cloudfront-js-1.0
.