Class CfnWebFunctionRevision.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnWebFunctionRevision.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionRevision>
- Enclosing class:
CfnWebFunctionRevision
@Stability(Stable)
public static final class CfnWebFunctionRevision.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionRevision>
A fluent builder for
CfnWebFunctionRevision.-
Method Summary
Modifier and TypeMethodDescriptionbuild()buildConfig(IResolvable buildConfig) The build configuration for the revision.buildConfig(CfnWebFunctionRevision.BuildConfigProperty buildConfig) The build configuration for the revision.description(String description) A description of the revision.functionName(String functionName) The name of the web function this revision belongs to.The ARN of the KMS key used to encrypt the revision.serviceConfig(IResolvable serviceConfig) The service configuration for the revision.serviceConfig(CfnWebFunctionRevision.ServiceConfigProperty serviceConfig) The service configuration for the revision.
-
Method Details
-
create
@Stability(Stable) public static CfnWebFunctionRevision.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
CfnWebFunctionRevision.Builder.
-
buildConfig
The build configuration for the revision.- Parameters:
buildConfig- The build configuration for the revision. This parameter is required.- Returns:
this- See Also:
-
buildConfig
@Stability(Stable) public CfnWebFunctionRevision.Builder buildConfig(CfnWebFunctionRevision.BuildConfigProperty buildConfig) The build configuration for the revision.- Parameters:
buildConfig- The build configuration for the revision. This parameter is required.- Returns:
this- See Also:
-
functionName
The name of the web function this revision belongs to.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 revision belongs to. This parameter is required.- Returns:
this- See Also:
-
serviceConfig
The service configuration for the revision.- Parameters:
serviceConfig- The service configuration for the revision. This parameter is required.- Returns:
this- See Also:
-
serviceConfig
@Stability(Stable) public CfnWebFunctionRevision.Builder serviceConfig(CfnWebFunctionRevision.ServiceConfigProperty serviceConfig) The service configuration for the revision.- Parameters:
serviceConfig- The service configuration for the revision. This parameter is required.- Returns:
this- See Also:
-
description
A description of the revision.- Parameters:
description- A description of the revision. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The ARN of the KMS key used to encrypt the revision.- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the revision. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionRevision>- Returns:
- a newly built instance of
CfnWebFunctionRevision.
-