enum EndpointType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGateway.EndpointType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#EndpointType |
Java | software.amazon.awscdk.services.apigateway.EndpointType |
Python | aws_cdk.aws_apigateway.EndpointType |
TypeScript (source) | aws-cdk-lib » aws_apigateway » EndpointType |
Example
declare const apiDefinition: apigateway.ApiDefinition;
const api = new apigateway.SpecRestApi(this, 'ExampleRestApi', {
apiDefinition,
endpointTypes: [apigateway.EndpointType.PRIVATE]
});
Members
Name | Description |
---|---|
EDGE | For an edge-optimized API and its custom domain name. |
REGIONAL | For a regional API and its custom domain name. |
PRIVATE | For a private API and its custom domain name. |
EDGE
For an edge-optimized API and its custom domain name.
REGIONAL
For a regional API and its custom domain name.
PRIVATE
For a private API and its custom domain name.