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