airflow.providers.amazon.aws.auth_manager.avp.entities
¶
Module Contents¶
Classes¶
Enum of Amazon Verified Permissions entities. |
Functions¶
|
Return entity type. |
|
Return action id. |
Attributes¶
- class airflow.providers.amazon.aws.auth_manager.avp.entities.AvpEntities[source]¶
Bases:
enum.Enum
Enum of Amazon Verified Permissions entities.
- airflow.providers.amazon.aws.auth_manager.avp.entities.get_entity_type(resource_type)[source]¶
Return entity type.
- Parameters
resource_type (AvpEntities) – Resource type.
Example: Airflow::Action, Airflow::Role, Airflow::Variable, Airflow::User.
- airflow.providers.amazon.aws.auth_manager.avp.entities.get_action_id(resource_type, method)[source]¶
Return action id.
Convention for action ID is <resource_type>::<method>. Example: Variable::GET.
- Parameters
resource_type (AvpEntities) – Resource type.
method (airflow.auth.managers.base_auth_manager.ResourceMethod) – Resource method.