Class CfnWebFunctionEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpoint>
- Enclosing class:
CfnWebFunctionEndpoint
CfnWebFunctionEndpoint.-
Method Summary
Modifier and TypeMethodDescriptionThe authentication type for the endpoint.build()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.scalingConfig(IResolvable scalingConfig) The scaling configuration for the endpoint.scalingConfig(CfnWebFunctionEndpoint.ScalingConfigProperty scalingConfig) The scaling configuration for the endpoint.throttleConfig(IResolvable throttleConfig) The throttling configuration for the endpoint.throttleConfig(CfnWebFunctionEndpoint.ThrottleConfigProperty throttleConfig) The throttling configuration for the endpoint.
-
Method Details
-
create
@Stability(Stable) public static CfnWebFunctionEndpoint.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
CfnWebFunctionEndpoint.Builder.
-
authType
The authentication type for the endpoint.- Parameters:
authType- The authentication type for the endpoint. This parameter is required.- Returns:
this- See Also:
-
endpointName
The name of the endpoint.- Parameters:
endpointName- The name of the endpoint. This parameter is required.- Returns:
this- See Also:
-
endpointType
The type of the endpoint.- Parameters:
endpointType- The type of the endpoint. This parameter is required.- Returns:
this- See Also:
-
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:
-
description
A description of the endpoint.- Parameters:
description- A description of the endpoint. 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 CfnWebFunctionEndpoint.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 CfnWebFunctionEndpoint.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
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 CfnWebFunctionEndpoint.Builder scalingConfig(CfnWebFunctionEndpoint.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
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 CfnWebFunctionEndpoint.Builder throttleConfig(CfnWebFunctionEndpoint.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<CfnWebFunctionEndpoint>- Returns:
- a newly built instance of
CfnWebFunctionEndpoint.
-