def METHOD_NAME(region, api_with_default_settings):
    """Test that creating the API Infrastructure stack with the defaults correctly sets up the Lambda and APIGateway API
    :param region: the region where the stack is run
    :api_server_factory: factory for deploying API servers on-demand to each region
    """
    parallelcluster_lambda_name = api_with_default_settings.cfn_resources["ParallelClusterFunction"]
    parallelcluster_lambda_arn = api_with_default_settings.cfn_outputs["ParallelClusterLambdaArn"]
    parallelcluster_api_id = api_with_default_settings.cfn_resources["ApiGatewayApiWithoutCustomDomain"]
    parallelcluster_api_url = api_with_default_settings.cfn_outputs["ParallelClusterApiInvokeUrl"]
    parallelcluster_user_role = api_with_default_settings.cfn_outputs["ParallelClusterApiUserRole"]
    _assert_parallelcluster_lambda(lambda_name=parallelcluster_lambda_name, lambda_arn=parallelcluster_lambda_arn)
    _assert_parallelcluster_api(api_id=parallelcluster_api_id, api_url=parallelcluster_api_url)
    _test_auth(region, parallelcluster_user_role, parallelcluster_api_url)
    _test_api_deletion(api_with_default_settings)