Skip to content
v2.273.0

EndpointType Enum ​

Example ​

ts
declare const acmCertificateForExampleCom: any;

new apigateway.DomainName(this, 'custom-domain', {
  domainName: 'example.com',
  certificate: acmCertificateForExampleCom,
  endpointType: apigateway.EndpointType.EDGE, // default is REGIONAL
  securityPolicy: apigateway.SecurityPolicy.TLS_1_2
});

Members ​

MemberDescription
EDGEFor an edge-optimized API and its custom domain name.
REGIONALFor a regional API and its custom domain name.
PRIVATEFor a private API and its custom domain name.

Referenced by ​