Class CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty>
- Enclosing interface:
CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty
@Stability(Stable)
public static final class CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty>
A builder for
CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxEnvironments(Number maxEnvironments)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxEnvironments
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty.Builder maxEnvironments(Number maxEnvironments) - 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<CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty>- Returns:
- a new instance of
CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-