Interface CfnWebFunctionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:57.650Z")
@Stability(Stable)
public interface CfnWebFunctionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnWebFunction.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CfnWebFunctionProps cfnWebFunctionProps = CfnWebFunctionProps.builder()
.functionName("functionName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWebFunctionPropsstatic final classAn implementation forCfnWebFunctionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWebFunctionProps.Builderbuilder()The name of the web function.getTags()A list of tags to apply to the function.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionName
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.
- See Also:
-
getTags
A list of tags to apply to the function.- See Also:
-
builder
- Returns:
- a
CfnWebFunctionProps.BuilderofCfnWebFunctionProps
-