interface FunctionAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.FunctionAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#FunctionAttributes |
![]() | software.amazon.awscdk.services.cloudfront.FunctionAttributes |
![]() | aws_cdk.aws_cloudfront.FunctionAttributes |
![]() | aws-cdk-lib » aws_cloudfront » FunctionAttributes |
Attributes of an existing CloudFront Function to import it.
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 functionAttributes: cloudfront.FunctionAttributes = {
functionArn: 'functionArn',
functionName: 'functionName',
// the properties below are optional
functionRuntime: 'functionRuntime',
};
Properties
Name | Type | Description |
---|---|---|
function | string | The ARN of the function. |
function | string | The name of the function. |
function | string | The Runtime of the function. |
functionArn
Type:
string
The ARN of the function.
functionName
Type:
string
The name of the function.
functionRuntime?
Type:
string
(optional, default: FunctionRuntime.JS_1_0)
The Runtime of the function.