Class CfnWebFunctionEndpointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin>
- Enclosing class:
CfnWebFunctionEndpointPropsMixin
CfnWebFunctionEndpointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe authentication type for the endpoint.build()create()create(CfnPropertyMixinOptions options) description(String description) A description of the endpoint.endpointName(String endpointName) The name of the endpoint.endpointType(String endpointType) The type of the endpoint.functionName(String functionName) The name of the web function this endpoint belongs to.The list of AWS Regions for the endpoint.revisionWeights(List<? extends Object> revisionWeights) List of revision routing entries.revisionWeights(IResolvable revisionWeights) List of revision routing entries.The scaling configuration for the endpoint.scalingConfig(IResolvable scalingConfig) The scaling configuration for the endpoint.The throttling configuration for the endpoint.throttleConfig(IResolvable throttleConfig) The throttling configuration for the endpoint.
-
Method Details
-
create
@Stability(Stable) public static CfnWebFunctionEndpointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnWebFunctionEndpointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnWebFunctionEndpointPropsMixin.Builder.
-
authType
The authentication type for the endpoint.- Parameters:
authType- The authentication type for the endpoint. This parameter is required.- Returns:
this- See Also:
-
description
A description of the endpoint.- Parameters:
description- A description of the endpoint. This parameter is required.- Returns:
this- See Also:
-
endpointName
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder endpointName(String endpointName) The name of the endpoint.- Parameters:
endpointName- The name of the endpoint. This parameter is required.- Returns:
this- See Also:
-
endpointType
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder endpointType(String endpointType) The type of the endpoint.- Parameters:
endpointType- The type of the endpoint. This parameter is required.- Returns:
this- See Also:
-
functionName
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder functionName(String functionName) The name of the web function this endpoint 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 endpoint belongs to. This parameter is required.- Returns:
this- See Also:
-
regions
The list of AWS Regions for the endpoint.- Parameters:
regions- The list of AWS Regions for the endpoint. This parameter is required.- Returns:
this- See Also:
-
revisionWeights
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder revisionWeights(IResolvable revisionWeights) List of revision routing entries.1 or 2 entries. With 1 entry, weight must be 100. With 2 entries, weights must sum to 100.
- Parameters:
revisionWeights- List of revision routing entries. This parameter is required.- Returns:
this- See Also:
-
revisionWeights
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder revisionWeights(List<? extends Object> revisionWeights) List of revision routing entries.1 or 2 entries. With 1 entry, weight must be 100. With 2 entries, weights must sum to 100.
- Parameters:
revisionWeights- List of revision routing entries. This parameter is required.- Returns:
this- See Also:
-
scalingConfig
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder scalingConfig(IResolvable scalingConfig) The scaling configuration for the endpoint.Optionally constrains how many concurrent execution environments the endpoint can use, in addition to your account's vCPU quota.
- Parameters:
scalingConfig- The scaling configuration for the endpoint. This parameter is required.- Returns:
this- See Also:
-
scalingConfig
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder scalingConfig(CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty scalingConfig) The scaling configuration for the endpoint.Optionally constrains how many concurrent execution environments the endpoint can use, in addition to your account's vCPU quota.
- Parameters:
scalingConfig- The scaling configuration for the endpoint. This parameter is required.- Returns:
this- See Also:
-
throttleConfig
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder throttleConfig(IResolvable throttleConfig) The throttling configuration for the endpoint.Optionally constrains the request rate that the endpoint accepts, in addition to your account's rate limit quota.
- Parameters:
throttleConfig- The throttling configuration for the endpoint. This parameter is required.- Returns:
this- See Also:
-
throttleConfig
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.Builder throttleConfig(CfnWebFunctionEndpointPropsMixin.ThrottleConfigProperty throttleConfig) The throttling configuration for the endpoint.Optionally constrains the request rate that the endpoint accepts, in addition to your account's rate limit quota.
- Parameters:
throttleConfig- The throttling configuration for the endpoint. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin>- Returns:
- a newly built instance of
CfnWebFunctionEndpointPropsMixin.
-