EndpointType

class aws_cdk.aws_apigateway.EndpointType(*values)

Bases: Enum

ExampleMetadata:

infused

Example:

# acm_certificate_for_example_com: Any


apigateway.DomainName(self, "custom-domain",
    domain_name="example.com",
    certificate=acm_certificate_for_example_com,
    endpoint_type=apigateway.EndpointType.EDGE,  # default is REGIONAL
    security_policy=apigateway.SecurityPolicy.TLS_1_2
)

Attributes

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.