Class EndpointType
Inheritance
System.Object
EndpointType
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public sealed class EndpointType : Enum
Syntax (vb)
Public NotInheritable Class EndpointType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
ApiDefinition apiDefinition;
var api = new SpecRestApi(this, "ExampleRestApi", new SpecRestApiProps {
ApiDefinition = apiDefinition,
EndpointTypes = new [] { EndpointType.PRIVATE }
});
Synopsis
Fields
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. |
value__ |
Fields
EDGE
For an edge-optimized API and its custom domain name.
public const EndpointType EDGE
Field Value
Type | Description |
---|---|
EndpointType |
PRIVATE
For a private API and its custom domain name.
public const EndpointType PRIVATE
Field Value
Type | Description |
---|---|
EndpointType |
REGIONAL
For a regional API and its custom domain name.
public const EndpointType REGIONAL
Field Value
Type | Description |
---|---|
EndpointType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |