aws-cdk-lib.aws_cloudfront.CfnFunction.FunctionConfigProperty

interface FunctionConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnFunction.FunctionConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnFunction_FunctionConfigProperty
Javasoftware.amazon.awscdk.services.cloudfront.CfnFunction.FunctionConfigProperty
Pythonaws_cdk.aws_cloudfront.CfnFunction.FunctionConfigProperty
TypeScript 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

NameTypeDescription
commentstringA comment to describe the function.
runtimestringThe 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 .