Base Path Mapping
    Connects a custom domain name registered via aws.apigateway.DomainName with a deployed API so that its methods can be called via the custom domain name.
Import
For a non-root base_path: Using pulumi import, import aws_api_gateway_base_path_mapping using the domain name and base path. For example: For an empty base_path or, in other words, a root path (/):
$ pulumi import aws:apigateway/basePathMapping:BasePathMapping example example.com/Content copied to clipboard
For a non-root base_path:
$ pulumi import aws:apigateway/basePathMapping:BasePathMapping example example.com/base-pathContent copied to clipboard