EndpointType

class aws_cdk.aws_apigateway.EndpointType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ExampleMetadata:

infused

Example:

# api_definition: apigateway.ApiDefinition


api = apigateway.SpecRestApi(self, "ExampleRestApi",
    api_definition=api_definition,
    endpoint_types=[apigateway.EndpointType.PRIVATE]
)

Attributes

EDGE

For an edge-optimized API and its custom domain name.

PRIVATE

For a private API and its custom domain name.

REGIONAL

For a regional API and its custom domain name.