Interface CfnWebFunctionEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebFunctionEndpointProps.Jsii$Proxy
CfnWebFunctionEndpoint.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CfnWebFunctionEndpointProps cfnWebFunctionEndpointProps = CfnWebFunctionEndpointProps.builder()
.authType("authType")
.endpointName("endpointName")
.endpointType("endpointType")
.functionName("functionName")
// the properties below are optional
.description("description")
.regions(List.of("regions"))
.revisionWeights(List.of(RevisionWeightProperty.builder()
.revisionId("revisionId")
.weight(123)
.build()))
.scalingConfig(ScalingConfigProperty.builder()
.maxEnvironments(123)
.build())
.throttleConfig(ThrottleConfigProperty.builder()
.rateLimit(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWebFunctionEndpointPropsstatic final classAn implementation forCfnWebFunctionEndpointProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The authentication type for the endpoint.default StringA description of the endpoint.The name of the endpoint.The type of the endpoint.The name of the web function this endpoint belongs to.The list of AWS Regions for the endpoint.default ObjectList of revision routing entries.default ObjectThe scaling configuration for the endpoint.default ObjectThe throttling configuration for the endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthType
The authentication type for the endpoint.- See Also:
-
getEndpointName
The name of the endpoint.- See Also:
-
getEndpointType
The type of the endpoint.- See Also:
-
getFunctionName
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.
- See Also:
-
getDescription
A description of the endpoint.- See Also:
-
getRegions
The list of AWS Regions for the endpoint.- See Also:
-
getRevisionWeights
List of revision routing entries.1 or 2 entries. With 1 entry, weight must be 100. With 2 entries, weights must sum to 100.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWebFunctionEndpoint.RevisionWeightProperty>- See Also:
-
getScalingConfig
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.
Returns union: either
IResolvableorCfnWebFunctionEndpoint.ScalingConfigProperty- See Also:
-
getThrottleConfig
The throttling configuration for the endpoint.Optionally constrains the request rate that the endpoint accepts, in addition to your account's rate limit quota.
Returns union: either
IResolvableorCfnWebFunctionEndpoint.ThrottleConfigProperty- See Also:
-
builder
-