Class CfnWebFunctionEndpoint.ScalingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnWebFunctionEndpoint.ScalingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpoint.ScalingConfigProperty>
- Enclosing interface:
CfnWebFunctionEndpoint.ScalingConfigProperty
@Stability(Stable)
public static final class CfnWebFunctionEndpoint.ScalingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionEndpoint.ScalingConfigProperty>
A builder for
CfnWebFunctionEndpoint.ScalingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxEnvironments(Number maxEnvironments) Sets the value ofCfnWebFunctionEndpoint.ScalingConfigProperty.getMaxEnvironments()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxEnvironments
@Stability(Stable) public CfnWebFunctionEndpoint.ScalingConfigProperty.Builder maxEnvironments(Number maxEnvironments) Sets the value ofCfnWebFunctionEndpoint.ScalingConfigProperty.getMaxEnvironments()- Parameters:
maxEnvironments- The maximum number of concurrent execution environments for the endpoint. This optional limit further constrains the endpoint's scaling. When omitted, the endpoint's scaling is limited only by your account's vCPU quota.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionEndpoint.ScalingConfigProperty>- Returns:
- a new instance of
CfnWebFunctionEndpoint.ScalingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-