interface CfnWebFunctionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionProps |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionProps |
Python | aws_cdk.aws_lambda.CfnWebFunctionProps |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionProps |
Properties for defining a CfnWebFunction.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const cfnWebFunctionProps: lambda.CfnWebFunctionProps = {
functionName: 'functionName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| function | string | The name of the web function. |
| tags? | Cfn[] | A list of tags to apply to the function. |
functionName
Type:
string
The name of the web function.
The name can contain letters, numbers, hyphens (-), and underscores (_), and cannot begin or end with a hyphen or an underscore. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
tags?
Type:
Cfn[]
(optional)
A list of tags to apply to the function.

.NET
Go
Java
Python
TypeScript