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 someEndpoint: ec2.IVpcEndpoint;
const api = new apigateway.RestApi(this, 'api', {
endpointConfiguration: {
types: [ apigateway.EndpointType.PRIVATE ],
vpcEndpoints: [ someEndpoint ]
}
});
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.

.NET
Go
Java
Python
TypeScript (