CfnWebFunctionProps
- class aws_cdk.aws_lambda.CfnWebFunctionProps(*, function_name, tags=None)
Bases:
objectProperties for defining a
CfnWebFunction.- Parameters:
function_name (
str) – 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 (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tags to apply to the function.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lambda as lambda_ cfn_web_function_props = lambda.CfnWebFunctionProps( function_name="functionName", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- function_name
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
A list of tags to apply to the function.