Enum EndpointType
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
public enum EndpointType
Fields
EDGE = 0
For an edge-optimized API and its custom domain name.
PRIVATE = 2
For a private API and its custom domain name.
REGIONAL = 1
For a regional API and its custom domain name.
Examples
ApiDefinition apiDefinition;
var api = new SpecRestApi(this, "ExampleRestApi", new SpecRestApiProps {
ApiDefinition = apiDefinition,
EndpointTypes = new [] { EndpointType.PRIVATE }
});
Remarks
ExampleMetadata: infused