enum EndpointType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APIGateway.EndpointType |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#EndpointType |
![]() | software.amazon.awscdk.services.apigateway.EndpointType |
![]() | aws_cdk.aws_apigateway.EndpointType |
![]() | 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.