WebFunctionEndpointType Enum Added in v2.276.0
The endpoint type for a WebFunction endpoint.
Choose it with WebFunctionEndpointLocation when defining an endpoint.
Example
ts
const endpoint = lambda.WebFunctionEndpoint.fromWebFunctionEndpointAttributes(this, 'Endpoint', {
endpointArn: 'arn:aws:lambda:us-west-2:123456789012:web-function/my-function/endpoint/prod',
domainName: 'abcd1234.lambda-web.us-west-2.on.aws',
endpointType: lambda.WebFunctionEndpointType.HOME_REGION,
authType: lambda.WebFunctionAuthType.IAM_AUTH,
});
Members
| Member | Description |
|---|---|
HOME_REGION | Single-region endpoint deployed in the stack's region only. |
MULTI_REGION | Multi-region endpoint with managed latency-based routing. |
PER_REGION | Per-region endpoint: a separate regional endpoint is exposed for each replica region (no managed cross-region routing). |
Referenced by
IWebFunctionEndpoint.endpointTypeendpoint_typeendpointTypeEndpointTypeEndpointTypeWebFunctionEndpoint.endpointTypeendpoint_typeendpointTypeEndpointTypeEndpointTypeWebFunctionEndpointAttributes.endpointTypeendpoint_typeendpointTypeEndpointTypeEndpointTypeWebFunctionEndpointBase.endpointTypeendpoint_typeendpointTypeEndpointTypeEndpointTypeWebFunctionEndpointLocation.endpointTypeendpoint_typeendpointTypeEndpointTypeEndpointType