interface CfnWebFunctionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnWebFunctionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnWebFunctionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnWebFunctionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » CfnWebFunctionMixinProps |
Properties for CfnWebFunctionPropsMixin.
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/cfn-property-mixins';
const cfnWebFunctionMixinProps: lambda.CfnWebFunctionMixinProps = {
functionName: 'functionName',
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
(optional)
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