cdktf-cdktf-provider-pagerduty 13.11.5__py3-none-any.whl → 13.11.7__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- cdktf_cdktf_provider_pagerduty/__init__.py +19 -4
- cdktf_cdktf_provider_pagerduty/_jsii/__init__.py +18 -3
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.11.7.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty/addon/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/automation_actions_action/__init__.py +68 -53
- cdktf_cdktf_provider_pagerduty/automation_actions_action_service_association/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/automation_actions_action_team_association/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/automation_actions_runner/__init__.py +41 -26
- cdktf_cdktf_provider_pagerduty/automation_actions_runner_team_association/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/business_service/__init__.py +35 -20
- cdktf_cdktf_provider_pagerduty/business_service_subscriber/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/data_pagerduty_automation_actions_action/__init__.py +44 -29
- cdktf_cdktf_provider_pagerduty/data_pagerduty_automation_actions_runner/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/data_pagerduty_business_service/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_escalation_policy/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration_global_cache_variable/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration_integration/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration_service_cache_variable/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestrations/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_extension_schema/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_incident_custom_field/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_incident_workflow/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_license/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/data_pagerduty_licenses/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_priority/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_ruleset/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_schedule/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_service/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_service_integration/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_standards/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_standards_resource_scores/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_standards_resources_scores/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_tag/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/data_pagerduty_team/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/data_pagerduty_team_members/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_user/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_user_contact_method/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/data_pagerduty_users/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/data_pagerduty_vendor/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/escalation_policy/__init__.py +51 -36
- cdktf_cdktf_provider_pagerduty/event_orchestration/__init__.py +35 -20
- cdktf_cdktf_provider_pagerduty/event_orchestration_global/__init__.py +213 -198
- cdktf_cdktf_provider_pagerduty/event_orchestration_global_cache_variable/__init__.py +49 -34
- cdktf_cdktf_provider_pagerduty/event_orchestration_integration/__init__.py +26 -11
- cdktf_cdktf_provider_pagerduty/event_orchestration_router/__init__.py +66 -51
- cdktf_cdktf_provider_pagerduty/event_orchestration_service/__init__.py +222 -207
- cdktf_cdktf_provider_pagerduty/event_orchestration_service_cache_variable/__init__.py +49 -34
- cdktf_cdktf_provider_pagerduty/event_orchestration_unrouted/__init__.py +108 -93
- cdktf_cdktf_provider_pagerduty/event_rule/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/extension/__init__.py +38 -23
- cdktf_cdktf_provider_pagerduty/extension_servicenow/__init__.py +56 -41
- cdktf_cdktf_provider_pagerduty/incident_custom_field/__init__.py +41 -26
- cdktf_cdktf_provider_pagerduty/incident_custom_field_option/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/incident_workflow/__init__.py +61 -46
- cdktf_cdktf_provider_pagerduty/incident_workflow_trigger/__init__.py +47 -32
- cdktf_cdktf_provider_pagerduty/maintenance_window/__init__.py +35 -20
- cdktf_cdktf_provider_pagerduty/provider/__init__.py +50 -35
- cdktf_cdktf_provider_pagerduty/response_play/__init__.py +71 -56
- cdktf_cdktf_provider_pagerduty/ruleset/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/ruleset_rule/__init__.py +141 -126
- cdktf_cdktf_provider_pagerduty/schedule/__init__.py +63 -48
- cdktf_cdktf_provider_pagerduty/service/__init__.py +138 -123
- cdktf_cdktf_provider_pagerduty/service_dependency/__init__.py +37 -22
- cdktf_cdktf_provider_pagerduty/service_event_rule/__init__.py +133 -118
- cdktf_cdktf_provider_pagerduty/service_integration/__init__.py +106 -91
- cdktf_cdktf_provider_pagerduty/slack_connection/__init__.py +47 -32
- cdktf_cdktf_provider_pagerduty/tag/__init__.py +23 -8
- cdktf_cdktf_provider_pagerduty/tag_assignment/__init__.py +29 -14
- cdktf_cdktf_provider_pagerduty/team/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/team_membership/__init__.py +32 -17
- cdktf_cdktf_provider_pagerduty/user/__init__.py +50 -35
- cdktf_cdktf_provider_pagerduty/user_contact_method/__init__.py +41 -26
- cdktf_cdktf_provider_pagerduty/user_handoff_notification_rule/__init__.py +36 -21
- cdktf_cdktf_provider_pagerduty/user_notification_rule/__init__.py +35 -20
- cdktf_cdktf_provider_pagerduty/webhook_subscription/__init__.py +57 -42
- {cdktf_cdktf_provider_pagerduty-13.11.5.dist-info → cdktf_cdktf_provider_pagerduty-13.11.7.dist-info}/METADATA +6 -6
- cdktf_cdktf_provider_pagerduty-13.11.7.dist-info/RECORD +82 -0
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.11.5.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty-13.11.5.dist-info/RECORD +0 -82
- {cdktf_cdktf_provider_pagerduty-13.11.5.dist-info → cdktf_cdktf_provider_pagerduty-13.11.7.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_pagerduty-13.11.5.dist-info → cdktf_cdktf_provider_pagerduty-13.11.7.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_pagerduty-13.11.5.dist-info → cdktf_cdktf_provider_pagerduty-13.11.7.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `pagerduty_user_handoff_notification_rule`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`pagerduty_user_handoff_notification_rule`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
4
|
+
Refer to the Terraform Registry for docs: [`pagerduty_user_handoff_notification_rule`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -16,7 +16,22 @@ import jsii
|
|
16
16
|
import publication
|
17
17
|
import typing_extensions
|
18
18
|
|
19
|
-
|
19
|
+
import typeguard
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
22
|
+
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
26
|
+
else:
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
28
|
+
pass
|
29
|
+
else:
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
33
|
+
else:
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
20
35
|
|
21
36
|
from .._jsii import *
|
22
37
|
|
@@ -29,7 +44,7 @@ class UserHandoffNotificationRule(
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
30
45
|
jsii_type="@cdktf/provider-pagerduty.userHandoffNotificationRule.UserHandoffNotificationRule",
|
31
46
|
):
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule pagerduty_user_handoff_notification_rule}.'''
|
33
48
|
|
34
49
|
def __init__(
|
35
50
|
self,
|
@@ -48,14 +63,14 @@ class UserHandoffNotificationRule(
|
|
48
63
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
49
64
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
50
65
|
) -> None:
|
51
|
-
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
66
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule pagerduty_user_handoff_notification_rule} Resource.
|
52
67
|
|
53
68
|
:param scope: The scope in which to define this construct.
|
54
69
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
55
|
-
:param notify_advance_in_minutes: The number of minutes before the handoff to notify the user. Must be greater than or equal to 0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
56
|
-
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
57
|
-
:param contact_method: contact_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
58
|
-
:param handoff_type: The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
70
|
+
:param notify_advance_in_minutes: The number of minutes before the handoff to notify the user. Must be greater than or equal to 0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#notify_advance_in_minutes UserHandoffNotificationRule#notify_advance_in_minutes}
|
71
|
+
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#user_id UserHandoffNotificationRule#user_id}.
|
72
|
+
:param contact_method: contact_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#contact_method UserHandoffNotificationRule#contact_method}
|
73
|
+
:param handoff_type: The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#handoff_type UserHandoffNotificationRule#handoff_type}
|
59
74
|
:param connection:
|
60
75
|
:param count:
|
61
76
|
:param depends_on:
|
@@ -97,7 +112,7 @@ class UserHandoffNotificationRule(
|
|
97
112
|
|
98
113
|
:param scope: The scope in which to define this construct.
|
99
114
|
:param import_to_id: The construct id used in the generated config for the UserHandoffNotificationRule to import.
|
100
|
-
:param import_from_id: The id of the existing UserHandoffNotificationRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
115
|
+
:param import_from_id: The id of the existing UserHandoffNotificationRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#import import section} in the documentation of this resource for the id to use
|
101
116
|
:param provider: ? Optional instance of the provider where the UserHandoffNotificationRule to import is found.
|
102
117
|
'''
|
103
118
|
if __debug__:
|
@@ -252,10 +267,10 @@ class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
252
267
|
:param lifecycle:
|
253
268
|
:param provider:
|
254
269
|
:param provisioners:
|
255
|
-
:param notify_advance_in_minutes: The number of minutes before the handoff to notify the user. Must be greater than or equal to 0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
256
|
-
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
257
|
-
:param contact_method: contact_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
258
|
-
:param handoff_type: The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
270
|
+
:param notify_advance_in_minutes: The number of minutes before the handoff to notify the user. Must be greater than or equal to 0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#notify_advance_in_minutes UserHandoffNotificationRule#notify_advance_in_minutes}
|
271
|
+
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#user_id UserHandoffNotificationRule#user_id}.
|
272
|
+
:param contact_method: contact_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#contact_method UserHandoffNotificationRule#contact_method}
|
273
|
+
:param handoff_type: The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#handoff_type UserHandoffNotificationRule#handoff_type}
|
259
274
|
'''
|
260
275
|
if isinstance(lifecycle, dict):
|
261
276
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -363,7 +378,7 @@ class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
363
378
|
def notify_advance_in_minutes(self) -> jsii.Number:
|
364
379
|
'''The number of minutes before the handoff to notify the user. Must be greater than or equal to 0.
|
365
380
|
|
366
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
381
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#notify_advance_in_minutes UserHandoffNotificationRule#notify_advance_in_minutes}
|
367
382
|
'''
|
368
383
|
result = self._values.get("notify_advance_in_minutes")
|
369
384
|
assert result is not None, "Required property 'notify_advance_in_minutes' is missing"
|
@@ -371,7 +386,7 @@ class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
371
386
|
|
372
387
|
@builtins.property
|
373
388
|
def user_id(self) -> builtins.str:
|
374
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
389
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#user_id UserHandoffNotificationRule#user_id}.'''
|
375
390
|
result = self._values.get("user_id")
|
376
391
|
assert result is not None, "Required property 'user_id' is missing"
|
377
392
|
return typing.cast(builtins.str, result)
|
@@ -382,7 +397,7 @@ class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
382
397
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["UserHandoffNotificationRuleContactMethod"]]]:
|
383
398
|
'''contact_method block.
|
384
399
|
|
385
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
400
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#contact_method UserHandoffNotificationRule#contact_method}
|
386
401
|
'''
|
387
402
|
result = self._values.get("contact_method")
|
388
403
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["UserHandoffNotificationRuleContactMethod"]]], result)
|
@@ -391,7 +406,7 @@ class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
391
406
|
def handoff_type(self) -> typing.Optional[builtins.str]:
|
392
407
|
'''The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'.
|
393
408
|
|
394
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
409
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#handoff_type UserHandoffNotificationRule#handoff_type}
|
395
410
|
'''
|
396
411
|
result = self._values.get("handoff_type")
|
397
412
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -416,8 +431,8 @@ class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
416
431
|
class UserHandoffNotificationRuleContactMethod:
|
417
432
|
def __init__(self, *, id: builtins.str, type: builtins.str) -> None:
|
418
433
|
'''
|
419
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
420
|
-
:param type: The type of contact method to notify for. Possible values are 'email_contact_method', 'email_contact_method_reference', 'phone_contact_method', 'phone_contact_method_reference', 'push_notification_contact_method', 'push_notification_contact_method_reference', 'sms_contact_method', 'sms_contact_method_reference'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
434
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#id UserHandoffNotificationRule#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
435
|
+
:param type: The type of contact method to notify for. Possible values are 'email_contact_method', 'email_contact_method_reference', 'phone_contact_method', 'phone_contact_method_reference', 'push_notification_contact_method', 'push_notification_contact_method_reference', 'sms_contact_method', 'sms_contact_method_reference'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#type UserHandoffNotificationRule#type}
|
421
436
|
'''
|
422
437
|
if __debug__:
|
423
438
|
type_hints = typing.get_type_hints(_typecheckingstub__81f45730d10d147bf610802d9b207c8dee3709fd964cc69a6f239033cf5f4b94)
|
@@ -430,7 +445,7 @@ class UserHandoffNotificationRuleContactMethod:
|
|
430
445
|
|
431
446
|
@builtins.property
|
432
447
|
def id(self) -> builtins.str:
|
433
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
448
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#id UserHandoffNotificationRule#id}.
|
434
449
|
|
435
450
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
436
451
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
@@ -443,7 +458,7 @@ class UserHandoffNotificationRuleContactMethod:
|
|
443
458
|
def type(self) -> builtins.str:
|
444
459
|
'''The type of contact method to notify for. Possible values are 'email_contact_method', 'email_contact_method_reference', 'phone_contact_method', 'phone_contact_method_reference', 'push_notification_contact_method', 'push_notification_contact_method_reference', 'sms_contact_method', 'sms_contact_method_reference'.
|
445
460
|
|
446
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
461
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_handoff_notification_rule#type UserHandoffNotificationRule#type}
|
447
462
|
'''
|
448
463
|
result = self._values.get("type")
|
449
464
|
assert result is not None, "Required property 'type' is missing"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `pagerduty_user_notification_rule`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`pagerduty_user_notification_rule`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
4
|
+
Refer to the Terraform Registry for docs: [`pagerduty_user_notification_rule`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -16,7 +16,22 @@ import jsii
|
|
16
16
|
import publication
|
17
17
|
import typing_extensions
|
18
18
|
|
19
|
-
|
19
|
+
import typeguard
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
22
|
+
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
26
|
+
else:
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
28
|
+
pass
|
29
|
+
else:
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
33
|
+
else:
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
20
35
|
|
21
36
|
from .._jsii import *
|
22
37
|
|
@@ -29,7 +44,7 @@ class UserNotificationRule(
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
30
45
|
jsii_type="@cdktf/provider-pagerduty.userNotificationRule.UserNotificationRule",
|
31
46
|
):
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule pagerduty_user_notification_rule}.'''
|
33
48
|
|
34
49
|
def __init__(
|
35
50
|
self,
|
@@ -49,15 +64,15 @@ class UserNotificationRule(
|
|
49
64
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
50
65
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
51
66
|
) -> None:
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule pagerduty_user_notification_rule} Resource.
|
53
68
|
|
54
69
|
:param scope: The scope in which to define this construct.
|
55
70
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
56
|
-
:param contact_method: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
57
|
-
:param start_delay_in_minutes: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
58
|
-
:param urgency: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
59
|
-
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
60
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
71
|
+
:param contact_method: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#contact_method UserNotificationRule#contact_method}.
|
72
|
+
:param start_delay_in_minutes: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#start_delay_in_minutes UserNotificationRule#start_delay_in_minutes}.
|
73
|
+
:param urgency: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#urgency UserNotificationRule#urgency}.
|
74
|
+
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#user_id UserNotificationRule#user_id}.
|
75
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#id UserNotificationRule#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
61
76
|
:param connection:
|
62
77
|
:param count:
|
63
78
|
:param depends_on:
|
@@ -100,7 +115,7 @@ class UserNotificationRule(
|
|
100
115
|
|
101
116
|
:param scope: The scope in which to define this construct.
|
102
117
|
:param import_to_id: The construct id used in the generated config for the UserNotificationRule to import.
|
103
|
-
:param import_from_id: The id of the existing UserNotificationRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
118
|
+
:param import_from_id: The id of the existing UserNotificationRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#import import section} in the documentation of this resource for the id to use
|
104
119
|
:param provider: ? Optional instance of the provider where the UserNotificationRule to import is found.
|
105
120
|
'''
|
106
121
|
if __debug__:
|
@@ -259,11 +274,11 @@ class UserNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
259
274
|
:param lifecycle:
|
260
275
|
:param provider:
|
261
276
|
:param provisioners:
|
262
|
-
:param contact_method: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
263
|
-
:param start_delay_in_minutes: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
264
|
-
:param urgency: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
265
|
-
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
266
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
277
|
+
:param contact_method: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#contact_method UserNotificationRule#contact_method}.
|
278
|
+
:param start_delay_in_minutes: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#start_delay_in_minutes UserNotificationRule#start_delay_in_minutes}.
|
279
|
+
:param urgency: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#urgency UserNotificationRule#urgency}.
|
280
|
+
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#user_id UserNotificationRule#user_id}.
|
281
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#id UserNotificationRule#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
267
282
|
'''
|
268
283
|
if isinstance(lifecycle, dict):
|
269
284
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -370,35 +385,35 @@ class UserNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
370
385
|
|
371
386
|
@builtins.property
|
372
387
|
def contact_method(self) -> typing.Mapping[builtins.str, builtins.str]:
|
373
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
388
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#contact_method UserNotificationRule#contact_method}.'''
|
374
389
|
result = self._values.get("contact_method")
|
375
390
|
assert result is not None, "Required property 'contact_method' is missing"
|
376
391
|
return typing.cast(typing.Mapping[builtins.str, builtins.str], result)
|
377
392
|
|
378
393
|
@builtins.property
|
379
394
|
def start_delay_in_minutes(self) -> jsii.Number:
|
380
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
395
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#start_delay_in_minutes UserNotificationRule#start_delay_in_minutes}.'''
|
381
396
|
result = self._values.get("start_delay_in_minutes")
|
382
397
|
assert result is not None, "Required property 'start_delay_in_minutes' is missing"
|
383
398
|
return typing.cast(jsii.Number, result)
|
384
399
|
|
385
400
|
@builtins.property
|
386
401
|
def urgency(self) -> builtins.str:
|
387
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
402
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#urgency UserNotificationRule#urgency}.'''
|
388
403
|
result = self._values.get("urgency")
|
389
404
|
assert result is not None, "Required property 'urgency' is missing"
|
390
405
|
return typing.cast(builtins.str, result)
|
391
406
|
|
392
407
|
@builtins.property
|
393
408
|
def user_id(self) -> builtins.str:
|
394
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
409
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#user_id UserNotificationRule#user_id}.'''
|
395
410
|
result = self._values.get("user_id")
|
396
411
|
assert result is not None, "Required property 'user_id' is missing"
|
397
412
|
return typing.cast(builtins.str, result)
|
398
413
|
|
399
414
|
@builtins.property
|
400
415
|
def id(self) -> typing.Optional[builtins.str]:
|
401
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
416
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/user_notification_rule#id UserNotificationRule#id}.
|
402
417
|
|
403
418
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
404
419
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `pagerduty_webhook_subscription`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`pagerduty_webhook_subscription`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
4
|
+
Refer to the Terraform Registry for docs: [`pagerduty_webhook_subscription`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -16,7 +16,22 @@ import jsii
|
|
16
16
|
import publication
|
17
17
|
import typing_extensions
|
18
18
|
|
19
|
-
|
19
|
+
import typeguard
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
22
|
+
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
26
|
+
else:
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
28
|
+
pass
|
29
|
+
else:
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
33
|
+
else:
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
20
35
|
|
21
36
|
from .._jsii import *
|
22
37
|
|
@@ -29,7 +44,7 @@ class WebhookSubscription(
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
30
45
|
jsii_type="@cdktf/provider-pagerduty.webhookSubscription.WebhookSubscription",
|
31
46
|
):
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription pagerduty_webhook_subscription}.'''
|
33
48
|
|
34
49
|
def __init__(
|
35
50
|
self,
|
@@ -51,17 +66,17 @@ class WebhookSubscription(
|
|
51
66
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
52
67
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
53
68
|
) -> None:
|
54
|
-
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
69
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription pagerduty_webhook_subscription} Resource.
|
55
70
|
|
56
71
|
:param scope: The scope in which to define this construct.
|
57
72
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
58
|
-
:param delivery_method: delivery_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
59
|
-
:param events: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
60
|
-
:param filter: filter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
61
|
-
:param active: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
62
|
-
:param description: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
63
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
64
|
-
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
73
|
+
:param delivery_method: delivery_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#delivery_method WebhookSubscription#delivery_method}
|
74
|
+
:param events: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#events WebhookSubscription#events}.
|
75
|
+
:param filter: filter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#filter WebhookSubscription#filter}
|
76
|
+
:param active: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#active WebhookSubscription#active}.
|
77
|
+
:param description: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#description WebhookSubscription#description}.
|
78
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#id WebhookSubscription#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
79
|
+
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.
|
65
80
|
:param connection:
|
66
81
|
:param count:
|
67
82
|
:param depends_on:
|
@@ -106,7 +121,7 @@ class WebhookSubscription(
|
|
106
121
|
|
107
122
|
:param scope: The scope in which to define this construct.
|
108
123
|
:param import_to_id: The construct id used in the generated config for the WebhookSubscription to import.
|
109
|
-
:param import_from_id: The id of the existing WebhookSubscription that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
124
|
+
:param import_from_id: The id of the existing WebhookSubscription that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#import import section} in the documentation of this resource for the id to use
|
110
125
|
:param provider: ? Optional instance of the provider where the WebhookSubscription to import is found.
|
111
126
|
'''
|
112
127
|
if __debug__:
|
@@ -334,13 +349,13 @@ class WebhookSubscriptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
334
349
|
:param lifecycle:
|
335
350
|
:param provider:
|
336
351
|
:param provisioners:
|
337
|
-
:param delivery_method: delivery_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
338
|
-
:param events: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
339
|
-
:param filter: filter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
340
|
-
:param active: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
341
|
-
:param description: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
342
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
343
|
-
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
352
|
+
:param delivery_method: delivery_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#delivery_method WebhookSubscription#delivery_method}
|
353
|
+
:param events: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#events WebhookSubscription#events}.
|
354
|
+
:param filter: filter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#filter WebhookSubscription#filter}
|
355
|
+
:param active: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#active WebhookSubscription#active}.
|
356
|
+
:param description: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#description WebhookSubscription#description}.
|
357
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#id WebhookSubscription#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
358
|
+
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.
|
344
359
|
'''
|
345
360
|
if isinstance(lifecycle, dict):
|
346
361
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -458,7 +473,7 @@ class WebhookSubscriptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
458
473
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["WebhookSubscriptionDeliveryMethod"]]:
|
459
474
|
'''delivery_method block.
|
460
475
|
|
461
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
476
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#delivery_method WebhookSubscription#delivery_method}
|
462
477
|
'''
|
463
478
|
result = self._values.get("delivery_method")
|
464
479
|
assert result is not None, "Required property 'delivery_method' is missing"
|
@@ -466,7 +481,7 @@ class WebhookSubscriptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
466
481
|
|
467
482
|
@builtins.property
|
468
483
|
def events(self) -> typing.List[builtins.str]:
|
469
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
484
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#events WebhookSubscription#events}.'''
|
470
485
|
result = self._values.get("events")
|
471
486
|
assert result is not None, "Required property 'events' is missing"
|
472
487
|
return typing.cast(typing.List[builtins.str], result)
|
@@ -477,7 +492,7 @@ class WebhookSubscriptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
477
492
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["WebhookSubscriptionFilter"]]:
|
478
493
|
'''filter block.
|
479
494
|
|
480
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
495
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#filter WebhookSubscription#filter}
|
481
496
|
'''
|
482
497
|
result = self._values.get("filter")
|
483
498
|
assert result is not None, "Required property 'filter' is missing"
|
@@ -487,19 +502,19 @@ class WebhookSubscriptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
487
502
|
def active(
|
488
503
|
self,
|
489
504
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
490
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
505
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#active WebhookSubscription#active}.'''
|
491
506
|
result = self._values.get("active")
|
492
507
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
493
508
|
|
494
509
|
@builtins.property
|
495
510
|
def description(self) -> typing.Optional[builtins.str]:
|
496
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
511
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#description WebhookSubscription#description}.'''
|
497
512
|
result = self._values.get("description")
|
498
513
|
return typing.cast(typing.Optional[builtins.str], result)
|
499
514
|
|
500
515
|
@builtins.property
|
501
516
|
def id(self) -> typing.Optional[builtins.str]:
|
502
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
517
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#id WebhookSubscription#id}.
|
503
518
|
|
504
519
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
505
520
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
@@ -509,7 +524,7 @@ class WebhookSubscriptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
509
524
|
|
510
525
|
@builtins.property
|
511
526
|
def type(self) -> typing.Optional[builtins.str]:
|
512
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
527
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.'''
|
513
528
|
result = self._values.get("type")
|
514
529
|
return typing.cast(typing.Optional[builtins.str], result)
|
515
530
|
|
@@ -545,10 +560,10 @@ class WebhookSubscriptionDeliveryMethod:
|
|
545
560
|
url: typing.Optional[builtins.str] = None,
|
546
561
|
) -> None:
|
547
562
|
'''
|
548
|
-
:param custom_header: custom_header block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
549
|
-
:param temporarily_disabled: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
550
|
-
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
551
|
-
:param url: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
563
|
+
:param custom_header: custom_header block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#custom_header WebhookSubscription#custom_header}
|
564
|
+
:param temporarily_disabled: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#temporarily_disabled WebhookSubscription#temporarily_disabled}.
|
565
|
+
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.
|
566
|
+
:param url: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#url WebhookSubscription#url}.
|
552
567
|
'''
|
553
568
|
if __debug__:
|
554
569
|
type_hints = typing.get_type_hints(_typecheckingstub__f5e7a45bc42a2805ca32f742ca5e2d518fd3e8aba1e27b34772fe39677792983)
|
@@ -572,7 +587,7 @@ class WebhookSubscriptionDeliveryMethod:
|
|
572
587
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["WebhookSubscriptionDeliveryMethodCustomHeader"]]]:
|
573
588
|
'''custom_header block.
|
574
589
|
|
575
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
590
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#custom_header WebhookSubscription#custom_header}
|
576
591
|
'''
|
577
592
|
result = self._values.get("custom_header")
|
578
593
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["WebhookSubscriptionDeliveryMethodCustomHeader"]]], result)
|
@@ -581,19 +596,19 @@ class WebhookSubscriptionDeliveryMethod:
|
|
581
596
|
def temporarily_disabled(
|
582
597
|
self,
|
583
598
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
584
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
599
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#temporarily_disabled WebhookSubscription#temporarily_disabled}.'''
|
585
600
|
result = self._values.get("temporarily_disabled")
|
586
601
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
587
602
|
|
588
603
|
@builtins.property
|
589
604
|
def type(self) -> typing.Optional[builtins.str]:
|
590
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
605
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.'''
|
591
606
|
result = self._values.get("type")
|
592
607
|
return typing.cast(typing.Optional[builtins.str], result)
|
593
608
|
|
594
609
|
@builtins.property
|
595
610
|
def url(self) -> typing.Optional[builtins.str]:
|
596
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
611
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#url WebhookSubscription#url}.'''
|
597
612
|
result = self._values.get("url")
|
598
613
|
return typing.cast(typing.Optional[builtins.str], result)
|
599
614
|
|
@@ -617,8 +632,8 @@ class WebhookSubscriptionDeliveryMethod:
|
|
617
632
|
class WebhookSubscriptionDeliveryMethodCustomHeader:
|
618
633
|
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
619
634
|
'''
|
620
|
-
:param name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
621
|
-
:param value: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
635
|
+
:param name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#name WebhookSubscription#name}.
|
636
|
+
:param value: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#value WebhookSubscription#value}.
|
622
637
|
'''
|
623
638
|
if __debug__:
|
624
639
|
type_hints = typing.get_type_hints(_typecheckingstub__593368252c0d8b4539f368e5046d6b298c107f7bbcc061679642df6e5b6f7db0)
|
@@ -631,14 +646,14 @@ class WebhookSubscriptionDeliveryMethodCustomHeader:
|
|
631
646
|
|
632
647
|
@builtins.property
|
633
648
|
def name(self) -> builtins.str:
|
634
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
649
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#name WebhookSubscription#name}.'''
|
635
650
|
result = self._values.get("name")
|
636
651
|
assert result is not None, "Required property 'name' is missing"
|
637
652
|
return typing.cast(builtins.str, result)
|
638
653
|
|
639
654
|
@builtins.property
|
640
655
|
def value(self) -> builtins.str:
|
641
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
656
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#value WebhookSubscription#value}.'''
|
642
657
|
result = self._values.get("value")
|
643
658
|
assert result is not None, "Required property 'value' is missing"
|
644
659
|
return typing.cast(builtins.str, result)
|
@@ -1075,8 +1090,8 @@ class WebhookSubscriptionFilter:
|
|
1075
1090
|
id: typing.Optional[builtins.str] = None,
|
1076
1091
|
) -> None:
|
1077
1092
|
'''
|
1078
|
-
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
1079
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
1093
|
+
:param type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.
|
1094
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#id WebhookSubscription#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
1080
1095
|
'''
|
1081
1096
|
if __debug__:
|
1082
1097
|
type_hints = typing.get_type_hints(_typecheckingstub__22ff36254a3c3294ace7139c9ce87b778a5befdf019ec44426a1c95100cb4719)
|
@@ -1090,14 +1105,14 @@ class WebhookSubscriptionFilter:
|
|
1090
1105
|
|
1091
1106
|
@builtins.property
|
1092
1107
|
def type(self) -> builtins.str:
|
1093
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
1108
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#type WebhookSubscription#type}.'''
|
1094
1109
|
result = self._values.get("type")
|
1095
1110
|
assert result is not None, "Required property 'type' is missing"
|
1096
1111
|
return typing.cast(builtins.str, result)
|
1097
1112
|
|
1098
1113
|
@builtins.property
|
1099
1114
|
def id(self) -> typing.Optional[builtins.str]:
|
1100
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.
|
1115
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.15.7/docs/resources/webhook_subscription#id WebhookSubscription#id}.
|
1101
1116
|
|
1102
1117
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
1103
1118
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|