Class CfnWebFunction.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnWebFunction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunction>
- Enclosing class:
CfnWebFunction
@Stability(Stable)
public static final class CfnWebFunction.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunction>
A fluent builder for
CfnWebFunction.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnWebFunction.BuilderfunctionName(String functionName) The name of the web function.A list of tags to apply to the function.
-
Method Details
-
create
@Stability(Stable) public static CfnWebFunction.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWebFunction.Builder.
-
functionName
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.
- Parameters:
functionName- The name of the web function. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to apply to the function.- Parameters:
tags- A list of tags to apply to the function. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunction>- Returns:
- a newly built instance of
CfnWebFunction.
-