eventbridge_create_endpoint function

Creates a global endpoint