pulumi-azure-native 2.87.0a1739193742__py3-none-any.whl → 2.87.0a1739200739__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

Files changed (36) hide show
  1. pulumi_azure_native/__init__.py +5 -0
  2. pulumi_azure_native/authorization/__init__.py +2 -0
  3. pulumi_azure_native/authorization/_enums.py +88 -0
  4. pulumi_azure_native/authorization/_inputs.py +1431 -43
  5. pulumi_azure_native/authorization/get_role_management_policy.py +247 -0
  6. pulumi_azure_native/authorization/outputs.py +312 -0
  7. pulumi_azure_native/authorization/role_management_policy.py +332 -0
  8. pulumi_azure_native/authorization/v20201001/__init__.py +4 -0
  9. pulumi_azure_native/authorization/v20201001/_enums.py +78 -0
  10. pulumi_azure_native/authorization/v20201001/_inputs.py +1134 -0
  11. pulumi_azure_native/authorization/v20201001/get_role_management_policy.py +241 -0
  12. pulumi_azure_native/authorization/v20201001/outputs.py +89 -0
  13. pulumi_azure_native/authorization/v20201001/role_management_policy.py +326 -0
  14. pulumi_azure_native/authorization/v20201001preview/__init__.py +4 -0
  15. pulumi_azure_native/authorization/v20201001preview/_enums.py +78 -0
  16. pulumi_azure_native/authorization/v20201001preview/_inputs.py +1134 -0
  17. pulumi_azure_native/authorization/v20201001preview/get_role_management_policy.py +241 -0
  18. pulumi_azure_native/authorization/v20201001preview/outputs.py +959 -0
  19. pulumi_azure_native/authorization/v20201001preview/role_management_policy.py +326 -0
  20. pulumi_azure_native/authorization/v20240201preview/__init__.py +4 -0
  21. pulumi_azure_native/authorization/v20240201preview/_enums.py +96 -0
  22. pulumi_azure_native/authorization/v20240201preview/_inputs.py +1390 -0
  23. pulumi_azure_native/authorization/v20240201preview/get_role_management_policy.py +241 -0
  24. pulumi_azure_native/authorization/v20240201preview/outputs.py +89 -0
  25. pulumi_azure_native/authorization/v20240201preview/role_management_policy.py +326 -0
  26. pulumi_azure_native/authorization/v20240901preview/__init__.py +4 -0
  27. pulumi_azure_native/authorization/v20240901preview/_enums.py +96 -0
  28. pulumi_azure_native/authorization/v20240901preview/_inputs.py +1410 -0
  29. pulumi_azure_native/authorization/v20240901preview/get_role_management_policy.py +241 -0
  30. pulumi_azure_native/authorization/v20240901preview/outputs.py +89 -0
  31. pulumi_azure_native/authorization/v20240901preview/role_management_policy.py +326 -0
  32. pulumi_azure_native/pulumi-plugin.json +1 -1
  33. {pulumi_azure_native-2.87.0a1739193742.dist-info → pulumi_azure_native-2.87.0a1739200739.dist-info}/METADATA +1 -1
  34. {pulumi_azure_native-2.87.0a1739193742.dist-info → pulumi_azure_native-2.87.0a1739200739.dist-info}/RECORD +36 -18
  35. {pulumi_azure_native-2.87.0a1739193742.dist-info → pulumi_azure_native-2.87.0a1739200739.dist-info}/WHEEL +0 -0
  36. {pulumi_azure_native-2.87.0a1739193742.dist-info → pulumi_azure_native-2.87.0a1739200739.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,326 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from ... import _utilities
16
+ from . import outputs
17
+ from ._enums import *
18
+ from ._inputs import *
19
+
20
+ __all__ = ['RoleManagementPolicyArgs', 'RoleManagementPolicy']
21
+
22
+ @pulumi.input_type
23
+ class RoleManagementPolicyArgs:
24
+ def __init__(__self__, *,
25
+ scope: pulumi.Input[str],
26
+ description: Optional[pulumi.Input[str]] = None,
27
+ display_name: Optional[pulumi.Input[str]] = None,
28
+ is_organization_default: Optional[pulumi.Input[bool]] = None,
29
+ role_management_policy_name: Optional[pulumi.Input[str]] = None,
30
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]]] = None):
31
+ """
32
+ The set of arguments for constructing a RoleManagementPolicy resource.
33
+ :param pulumi.Input[str] scope: The role management policy scope.
34
+ :param pulumi.Input[str] description: The role management policy description.
35
+ :param pulumi.Input[str] display_name: The role management policy display name.
36
+ :param pulumi.Input[bool] is_organization_default: The role management policy is default policy.
37
+ :param pulumi.Input[str] role_management_policy_name: The name (guid) of the role management policy to upsert.
38
+ :param pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]] rules: The rule applied to the policy.
39
+ """
40
+ pulumi.set(__self__, "scope", scope)
41
+ if description is not None:
42
+ pulumi.set(__self__, "description", description)
43
+ if display_name is not None:
44
+ pulumi.set(__self__, "display_name", display_name)
45
+ if is_organization_default is not None:
46
+ pulumi.set(__self__, "is_organization_default", is_organization_default)
47
+ if role_management_policy_name is not None:
48
+ pulumi.set(__self__, "role_management_policy_name", role_management_policy_name)
49
+ if rules is not None:
50
+ pulumi.set(__self__, "rules", rules)
51
+
52
+ @property
53
+ @pulumi.getter
54
+ def scope(self) -> pulumi.Input[str]:
55
+ """
56
+ The role management policy scope.
57
+ """
58
+ return pulumi.get(self, "scope")
59
+
60
+ @scope.setter
61
+ def scope(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "scope", value)
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def description(self) -> Optional[pulumi.Input[str]]:
67
+ """
68
+ The role management policy description.
69
+ """
70
+ return pulumi.get(self, "description")
71
+
72
+ @description.setter
73
+ def description(self, value: Optional[pulumi.Input[str]]):
74
+ pulumi.set(self, "description", value)
75
+
76
+ @property
77
+ @pulumi.getter(name="displayName")
78
+ def display_name(self) -> Optional[pulumi.Input[str]]:
79
+ """
80
+ The role management policy display name.
81
+ """
82
+ return pulumi.get(self, "display_name")
83
+
84
+ @display_name.setter
85
+ def display_name(self, value: Optional[pulumi.Input[str]]):
86
+ pulumi.set(self, "display_name", value)
87
+
88
+ @property
89
+ @pulumi.getter(name="isOrganizationDefault")
90
+ def is_organization_default(self) -> Optional[pulumi.Input[bool]]:
91
+ """
92
+ The role management policy is default policy.
93
+ """
94
+ return pulumi.get(self, "is_organization_default")
95
+
96
+ @is_organization_default.setter
97
+ def is_organization_default(self, value: Optional[pulumi.Input[bool]]):
98
+ pulumi.set(self, "is_organization_default", value)
99
+
100
+ @property
101
+ @pulumi.getter(name="roleManagementPolicyName")
102
+ def role_management_policy_name(self) -> Optional[pulumi.Input[str]]:
103
+ """
104
+ The name (guid) of the role management policy to upsert.
105
+ """
106
+ return pulumi.get(self, "role_management_policy_name")
107
+
108
+ @role_management_policy_name.setter
109
+ def role_management_policy_name(self, value: Optional[pulumi.Input[str]]):
110
+ pulumi.set(self, "role_management_policy_name", value)
111
+
112
+ @property
113
+ @pulumi.getter
114
+ def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]]]:
115
+ """
116
+ The rule applied to the policy.
117
+ """
118
+ return pulumi.get(self, "rules")
119
+
120
+ @rules.setter
121
+ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]]]):
122
+ pulumi.set(self, "rules", value)
123
+
124
+
125
+ class RoleManagementPolicy(pulumi.CustomResource):
126
+ @overload
127
+ def __init__(__self__,
128
+ resource_name: str,
129
+ opts: Optional[pulumi.ResourceOptions] = None,
130
+ description: Optional[pulumi.Input[str]] = None,
131
+ display_name: Optional[pulumi.Input[str]] = None,
132
+ is_organization_default: Optional[pulumi.Input[bool]] = None,
133
+ role_management_policy_name: Optional[pulumi.Input[str]] = None,
134
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyApprovalRuleArgsDict'], Union['RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgsDict'], Union['RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyEnablementRuleArgsDict'], Union['RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyExpirationRuleArgsDict'], Union['RoleManagementPolicyNotificationRuleArgs', 'RoleManagementPolicyNotificationRuleArgsDict']]]]]] = None,
135
+ scope: Optional[pulumi.Input[str]] = None,
136
+ __props__=None):
137
+ """
138
+ Role management policy
139
+
140
+ :param str resource_name: The name of the resource.
141
+ :param pulumi.ResourceOptions opts: Options for the resource.
142
+ :param pulumi.Input[str] description: The role management policy description.
143
+ :param pulumi.Input[str] display_name: The role management policy display name.
144
+ :param pulumi.Input[bool] is_organization_default: The role management policy is default policy.
145
+ :param pulumi.Input[str] role_management_policy_name: The name (guid) of the role management policy to upsert.
146
+ :param pulumi.Input[Sequence[pulumi.Input[Union[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyApprovalRuleArgsDict'], Union['RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgsDict'], Union['RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyEnablementRuleArgsDict'], Union['RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyExpirationRuleArgsDict'], Union['RoleManagementPolicyNotificationRuleArgs', 'RoleManagementPolicyNotificationRuleArgsDict']]]]] rules: The rule applied to the policy.
147
+ :param pulumi.Input[str] scope: The role management policy scope.
148
+ """
149
+ ...
150
+ @overload
151
+ def __init__(__self__,
152
+ resource_name: str,
153
+ args: RoleManagementPolicyArgs,
154
+ opts: Optional[pulumi.ResourceOptions] = None):
155
+ """
156
+ Role management policy
157
+
158
+ :param str resource_name: The name of the resource.
159
+ :param RoleManagementPolicyArgs args: The arguments to use to populate this resource's properties.
160
+ :param pulumi.ResourceOptions opts: Options for the resource.
161
+ """
162
+ ...
163
+ def __init__(__self__, resource_name: str, *args, **kwargs):
164
+ resource_args, opts = _utilities.get_resource_args_opts(RoleManagementPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
165
+ if resource_args is not None:
166
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
167
+ else:
168
+ __self__._internal_init(resource_name, *args, **kwargs)
169
+
170
+ def _internal_init(__self__,
171
+ resource_name: str,
172
+ opts: Optional[pulumi.ResourceOptions] = None,
173
+ description: Optional[pulumi.Input[str]] = None,
174
+ display_name: Optional[pulumi.Input[str]] = None,
175
+ is_organization_default: Optional[pulumi.Input[bool]] = None,
176
+ role_management_policy_name: Optional[pulumi.Input[str]] = None,
177
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyApprovalRuleArgsDict'], Union['RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgsDict'], Union['RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyEnablementRuleArgsDict'], Union['RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyExpirationRuleArgsDict'], Union['RoleManagementPolicyNotificationRuleArgs', 'RoleManagementPolicyNotificationRuleArgsDict']]]]]] = None,
178
+ scope: Optional[pulumi.Input[str]] = None,
179
+ __props__=None):
180
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
181
+ if not isinstance(opts, pulumi.ResourceOptions):
182
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
183
+ if opts.id is None:
184
+ if __props__ is not None:
185
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
186
+ __props__ = RoleManagementPolicyArgs.__new__(RoleManagementPolicyArgs)
187
+
188
+ __props__.__dict__["description"] = description
189
+ __props__.__dict__["display_name"] = display_name
190
+ __props__.__dict__["is_organization_default"] = is_organization_default
191
+ __props__.__dict__["role_management_policy_name"] = role_management_policy_name
192
+ __props__.__dict__["rules"] = rules
193
+ if scope is None and not opts.urn:
194
+ raise TypeError("Missing required property 'scope'")
195
+ __props__.__dict__["scope"] = scope
196
+ __props__.__dict__["effective_rules"] = None
197
+ __props__.__dict__["last_modified_by"] = None
198
+ __props__.__dict__["last_modified_date_time"] = None
199
+ __props__.__dict__["name"] = None
200
+ __props__.__dict__["policy_properties"] = None
201
+ __props__.__dict__["type"] = None
202
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:authorization/v20201001:RoleManagementPolicy"), pulumi.Alias(type_="azure-native:authorization/v20240201preview:RoleManagementPolicy"), pulumi.Alias(type_="azure-native:authorization/v20240901preview:RoleManagementPolicy"), pulumi.Alias(type_="azure-native:authorization:RoleManagementPolicy")])
203
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
204
+ super(RoleManagementPolicy, __self__).__init__(
205
+ 'azure-native:authorization/v20201001preview:RoleManagementPolicy',
206
+ resource_name,
207
+ __props__,
208
+ opts)
209
+
210
+ @staticmethod
211
+ def get(resource_name: str,
212
+ id: pulumi.Input[str],
213
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'RoleManagementPolicy':
214
+ """
215
+ Get an existing RoleManagementPolicy resource's state with the given name, id, and optional extra
216
+ properties used to qualify the lookup.
217
+
218
+ :param str resource_name: The unique name of the resulting resource.
219
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
220
+ :param pulumi.ResourceOptions opts: Options for the resource.
221
+ """
222
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
223
+
224
+ __props__ = RoleManagementPolicyArgs.__new__(RoleManagementPolicyArgs)
225
+
226
+ __props__.__dict__["description"] = None
227
+ __props__.__dict__["display_name"] = None
228
+ __props__.__dict__["effective_rules"] = None
229
+ __props__.__dict__["is_organization_default"] = None
230
+ __props__.__dict__["last_modified_by"] = None
231
+ __props__.__dict__["last_modified_date_time"] = None
232
+ __props__.__dict__["name"] = None
233
+ __props__.__dict__["policy_properties"] = None
234
+ __props__.__dict__["rules"] = None
235
+ __props__.__dict__["scope"] = None
236
+ __props__.__dict__["type"] = None
237
+ return RoleManagementPolicy(resource_name, opts=opts, __props__=__props__)
238
+
239
+ @property
240
+ @pulumi.getter
241
+ def description(self) -> pulumi.Output[Optional[str]]:
242
+ """
243
+ The role management policy description.
244
+ """
245
+ return pulumi.get(self, "description")
246
+
247
+ @property
248
+ @pulumi.getter(name="displayName")
249
+ def display_name(self) -> pulumi.Output[Optional[str]]:
250
+ """
251
+ The role management policy display name.
252
+ """
253
+ return pulumi.get(self, "display_name")
254
+
255
+ @property
256
+ @pulumi.getter(name="effectiveRules")
257
+ def effective_rules(self) -> pulumi.Output[Sequence[Any]]:
258
+ """
259
+ The readonly computed rule applied to the policy.
260
+ """
261
+ return pulumi.get(self, "effective_rules")
262
+
263
+ @property
264
+ @pulumi.getter(name="isOrganizationDefault")
265
+ def is_organization_default(self) -> pulumi.Output[Optional[bool]]:
266
+ """
267
+ The role management policy is default policy.
268
+ """
269
+ return pulumi.get(self, "is_organization_default")
270
+
271
+ @property
272
+ @pulumi.getter(name="lastModifiedBy")
273
+ def last_modified_by(self) -> pulumi.Output['outputs.PrincipalResponse']:
274
+ """
275
+ The name of the entity last modified it
276
+ """
277
+ return pulumi.get(self, "last_modified_by")
278
+
279
+ @property
280
+ @pulumi.getter(name="lastModifiedDateTime")
281
+ def last_modified_date_time(self) -> pulumi.Output[str]:
282
+ """
283
+ The last modified date time.
284
+ """
285
+ return pulumi.get(self, "last_modified_date_time")
286
+
287
+ @property
288
+ @pulumi.getter
289
+ def name(self) -> pulumi.Output[str]:
290
+ """
291
+ The role management policy name.
292
+ """
293
+ return pulumi.get(self, "name")
294
+
295
+ @property
296
+ @pulumi.getter(name="policyProperties")
297
+ def policy_properties(self) -> pulumi.Output['outputs.PolicyPropertiesResponse']:
298
+ """
299
+ Additional properties of scope
300
+ """
301
+ return pulumi.get(self, "policy_properties")
302
+
303
+ @property
304
+ @pulumi.getter
305
+ def rules(self) -> pulumi.Output[Optional[Sequence[Any]]]:
306
+ """
307
+ The rule applied to the policy.
308
+ """
309
+ return pulumi.get(self, "rules")
310
+
311
+ @property
312
+ @pulumi.getter
313
+ def scope(self) -> pulumi.Output[Optional[str]]:
314
+ """
315
+ The role management policy scope.
316
+ """
317
+ return pulumi.get(self, "scope")
318
+
319
+ @property
320
+ @pulumi.getter
321
+ def type(self) -> pulumi.Output[str]:
322
+ """
323
+ The role management policy type.
324
+ """
325
+ return pulumi.get(self, "type")
326
+
@@ -5,6 +5,10 @@
5
5
  from ... import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from ._enums import *
9
+ from .get_role_management_policy import *
8
10
  from .get_role_management_policy_assignment import *
11
+ from .role_management_policy import *
9
12
  from .role_management_policy_assignment import *
13
+ from ._inputs import *
10
14
  from . import outputs
@@ -0,0 +1,96 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from enum import Enum
6
+
7
+ __all__ = [
8
+ 'ApprovalMode',
9
+ 'EnablementRules',
10
+ 'ExcludedPrincipalTypes',
11
+ 'NotificationDeliveryMechanism',
12
+ 'NotificationLevel',
13
+ 'PIMOnlyMode',
14
+ 'RecipientType',
15
+ 'RoleManagementPolicyRuleType',
16
+ 'UserType',
17
+ ]
18
+
19
+
20
+ class ApprovalMode(str, Enum):
21
+ """
22
+ The type of rule
23
+ """
24
+ SINGLE_STAGE = "SingleStage"
25
+ SERIAL = "Serial"
26
+ PARALLEL = "Parallel"
27
+ NO_APPROVAL = "NoApproval"
28
+
29
+
30
+ class EnablementRules(str, Enum):
31
+ """
32
+ The type of enablement rule
33
+ """
34
+ MULTI_FACTOR_AUTHENTICATION = "MultiFactorAuthentication"
35
+ JUSTIFICATION = "Justification"
36
+ TICKETING = "Ticketing"
37
+
38
+
39
+ class ExcludedPrincipalTypes(str, Enum):
40
+ SERVICE_PRINCIPALS_AS_TARGET = "ServicePrincipalsAsTarget"
41
+ SERVICE_PRINCIPALS_AS_REQUESTOR = "ServicePrincipalsAsRequestor"
42
+
43
+
44
+ class NotificationDeliveryMechanism(str, Enum):
45
+ """
46
+ The type of notification.
47
+ """
48
+ EMAIL = "Email"
49
+
50
+
51
+ class NotificationLevel(str, Enum):
52
+ """
53
+ The notification level.
54
+ """
55
+ NONE = "None"
56
+ CRITICAL = "Critical"
57
+ ALL = "All"
58
+
59
+
60
+ class PIMOnlyMode(str, Enum):
61
+ """
62
+ Determines whether the setting is enabled, disabled or report only.
63
+ """
64
+ DISABLED = "Disabled"
65
+ ENABLED = "Enabled"
66
+ REPORT_ONLY = "ReportOnly"
67
+
68
+
69
+ class RecipientType(str, Enum):
70
+ """
71
+ The recipient type.
72
+ """
73
+ REQUESTOR = "Requestor"
74
+ APPROVER = "Approver"
75
+ ADMIN = "Admin"
76
+
77
+
78
+ class RoleManagementPolicyRuleType(str, Enum):
79
+ """
80
+ The type of rule
81
+ """
82
+ ROLE_MANAGEMENT_POLICY_APPROVAL_RULE = "RoleManagementPolicyApprovalRule"
83
+ ROLE_MANAGEMENT_POLICY_AUTHENTICATION_CONTEXT_RULE = "RoleManagementPolicyAuthenticationContextRule"
84
+ ROLE_MANAGEMENT_POLICY_ENABLEMENT_RULE = "RoleManagementPolicyEnablementRule"
85
+ ROLE_MANAGEMENT_POLICY_EXPIRATION_RULE = "RoleManagementPolicyExpirationRule"
86
+ ROLE_MANAGEMENT_POLICY_NOTIFICATION_RULE = "RoleManagementPolicyNotificationRule"
87
+ ROLE_MANAGEMENT_POLICY_PIM_ONLY_MODE_RULE = "RoleManagementPolicyPimOnlyModeRule"
88
+
89
+
90
+ class UserType(str, Enum):
91
+ """
92
+ The type of user.
93
+ """
94
+ USER = "User"
95
+ GROUP = "Group"
96
+ SERVICE_PRINCIPAL = "ServicePrincipal"