How to use Location Rule EAttachmentRule Enum ?

Hallo
I am working with ‘attach_to_Actor’ component of the Actor and has a problem. The general form of the API is:

attach_to_actor(parent_actor , socket_name ,location_rule , rotation_rule , scale_rule , weld_simulated_bodies)

When I checked the c++ of it (AActor::K2_AttachToActor | Unreal Engine Documentation) I came to know that location rule should be EAttachmentRule enum. So my question is how can i create a enum in python just like in c++ so that I can use it as an argument in my python API ?

Here is the link to the c++ Eattachment: EAttachmentRule | Unreal Engine Documentation