cdktf-cdktf-provider-pagerduty 13.8.2__py3-none-any.whl → 13.9.0__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 +5 -3
- cdktf_cdktf_provider_pagerduty/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.9.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty/addon/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/automation_actions_action/__init__.py +52 -52
- cdktf_cdktf_provider_pagerduty/automation_actions_action_service_association/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/automation_actions_action_team_association/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/automation_actions_runner/__init__.py +25 -25
- cdktf_cdktf_provider_pagerduty/automation_actions_runner_team_association/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/business_service/__init__.py +19 -19
- cdktf_cdktf_provider_pagerduty/business_service_subscriber/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/data_pagerduty_automation_actions_action/__init__.py +28 -28
- cdktf_cdktf_provider_pagerduty/data_pagerduty_automation_actions_runner/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/data_pagerduty_business_service/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_escalation_policy/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration_global_cache_variable/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration_integration/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestration_service_cache_variable/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/data_pagerduty_event_orchestrations/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_extension_schema/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_incident_custom_field/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_incident_workflow/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_license/__init__.py +37 -37
- cdktf_cdktf_provider_pagerduty/data_pagerduty_licenses/__init__.py +32 -32
- cdktf_cdktf_provider_pagerduty/data_pagerduty_priority/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_ruleset/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_schedule/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_service/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_service_integration/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/data_pagerduty_standards/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_standards_resource_scores/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_standards_resources_scores/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_tag/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_team/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/data_pagerduty_team_members/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_user/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_user_contact_method/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/data_pagerduty_users/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_vendor/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/escalation_policy/__init__.py +35 -35
- cdktf_cdktf_provider_pagerduty/event_orchestration/__init__.py +19 -19
- cdktf_cdktf_provider_pagerduty/event_orchestration_global/__init__.py +191 -191
- cdktf_cdktf_provider_pagerduty/event_orchestration_global_cache_variable/__init__.py +33 -33
- cdktf_cdktf_provider_pagerduty/event_orchestration_integration/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/event_orchestration_router/__init__.py +41 -41
- cdktf_cdktf_provider_pagerduty/event_orchestration_service/__init__.py +200 -200
- cdktf_cdktf_provider_pagerduty/event_orchestration_service_cache_variable/__init__.py +33 -33
- cdktf_cdktf_provider_pagerduty/event_orchestration_unrouted/__init__.py +92 -92
- cdktf_cdktf_provider_pagerduty/event_rule/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/extension/__init__.py +22 -22
- cdktf_cdktf_provider_pagerduty/extension_servicenow/__init__.py +40 -40
- cdktf_cdktf_provider_pagerduty/incident_custom_field/__init__.py +25 -25
- cdktf_cdktf_provider_pagerduty/incident_custom_field_option/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/incident_workflow/__init__.py +45 -45
- cdktf_cdktf_provider_pagerduty/incident_workflow_trigger/__init__.py +31 -31
- cdktf_cdktf_provider_pagerduty/maintenance_window/__init__.py +19 -19
- cdktf_cdktf_provider_pagerduty/provider/__init__.py +31 -31
- cdktf_cdktf_provider_pagerduty/response_play/__init__.py +55 -55
- cdktf_cdktf_provider_pagerduty/ruleset/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/ruleset_rule/__init__.py +125 -125
- cdktf_cdktf_provider_pagerduty/schedule/__init__.py +47 -47
- cdktf_cdktf_provider_pagerduty/service/__init__.py +122 -122
- cdktf_cdktf_provider_pagerduty/service_dependency/__init__.py +27 -27
- cdktf_cdktf_provider_pagerduty/service_event_rule/__init__.py +117 -117
- cdktf_cdktf_provider_pagerduty/service_integration/__init__.py +90 -90
- cdktf_cdktf_provider_pagerduty/slack_connection/__init__.py +31 -31
- cdktf_cdktf_provider_pagerduty/tag/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/tag_assignment/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/team/__init__.py +19 -19
- cdktf_cdktf_provider_pagerduty/team_membership/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/user/__init__.py +34 -34
- cdktf_cdktf_provider_pagerduty/user_contact_method/__init__.py +25 -25
- cdktf_cdktf_provider_pagerduty/user_handoff_notification_rule/__init__.py +785 -0
- cdktf_cdktf_provider_pagerduty/user_notification_rule/__init__.py +19 -19
- cdktf_cdktf_provider_pagerduty/webhook_subscription/__init__.py +41 -41
- {cdktf_cdktf_provider_pagerduty-13.8.2.dist-info → cdktf_cdktf_provider_pagerduty-13.9.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_pagerduty-13.9.0.dist-info/RECORD +82 -0
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.8.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty-13.8.2.dist-info/RECORD +0 -81
- {cdktf_cdktf_provider_pagerduty-13.8.2.dist-info → cdktf_cdktf_provider_pagerduty-13.9.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_pagerduty-13.8.2.dist-info → cdktf_cdktf_provider_pagerduty-13.9.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_pagerduty-13.8.2.dist-info → cdktf_cdktf_provider_pagerduty-13.9.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,785 @@
|
|
1
|
+
'''
|
2
|
+
# `pagerduty_user_handoff_notification_rule`
|
3
|
+
|
4
|
+
Refer to the Terraform Registry for docs: [`pagerduty_user_handoff_notification_rule`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule).
|
5
|
+
'''
|
6
|
+
from pkgutil import extend_path
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
8
|
+
|
9
|
+
import abc
|
10
|
+
import builtins
|
11
|
+
import datetime
|
12
|
+
import enum
|
13
|
+
import typing
|
14
|
+
|
15
|
+
import jsii
|
16
|
+
import publication
|
17
|
+
import typing_extensions
|
18
|
+
|
19
|
+
from typeguard import check_type
|
20
|
+
|
21
|
+
from .._jsii import *
|
22
|
+
|
23
|
+
import cdktf as _cdktf_9a9027ec
|
24
|
+
import constructs as _constructs_77d1e7e8
|
25
|
+
|
26
|
+
|
27
|
+
class UserHandoffNotificationRule(
|
28
|
+
_cdktf_9a9027ec.TerraformResource,
|
29
|
+
metaclass=jsii.JSIIMeta,
|
30
|
+
jsii_type="@cdktf/provider-pagerduty.userHandoffNotificationRule.UserHandoffNotificationRule",
|
31
|
+
):
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule pagerduty_user_handoff_notification_rule}.'''
|
33
|
+
|
34
|
+
def __init__(
|
35
|
+
self,
|
36
|
+
scope: _constructs_77d1e7e8.Construct,
|
37
|
+
id: builtins.str,
|
38
|
+
*,
|
39
|
+
notify_advance_in_minutes: jsii.Number,
|
40
|
+
user_id: builtins.str,
|
41
|
+
contact_method: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["UserHandoffNotificationRuleContactMethod", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
42
|
+
handoff_type: typing.Optional[builtins.str] = None,
|
43
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
44
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
45
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
46
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
47
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
48
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
49
|
+
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
|
+
) -> None:
|
51
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule pagerduty_user_handoff_notification_rule} Resource.
|
52
|
+
|
53
|
+
:param scope: The scope in which to define this construct.
|
54
|
+
: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.13.1/docs/resources/user_handoff_notification_rule#notify_advance_in_minutes UserHandoffNotificationRule#notify_advance_in_minutes}
|
56
|
+
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#user_id UserHandoffNotificationRule#user_id}.
|
57
|
+
:param contact_method: contact_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#contact_method UserHandoffNotificationRule#contact_method}
|
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.13.1/docs/resources/user_handoff_notification_rule#handoff_type UserHandoffNotificationRule#handoff_type}
|
59
|
+
:param connection:
|
60
|
+
:param count:
|
61
|
+
:param depends_on:
|
62
|
+
:param for_each:
|
63
|
+
:param lifecycle:
|
64
|
+
:param provider:
|
65
|
+
:param provisioners:
|
66
|
+
'''
|
67
|
+
if __debug__:
|
68
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be9acd4a984e42a30c25cdd5055a79e999fb4f793aa08a819c51f1d42809afe6)
|
69
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
70
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
71
|
+
config = UserHandoffNotificationRuleConfig(
|
72
|
+
notify_advance_in_minutes=notify_advance_in_minutes,
|
73
|
+
user_id=user_id,
|
74
|
+
contact_method=contact_method,
|
75
|
+
handoff_type=handoff_type,
|
76
|
+
connection=connection,
|
77
|
+
count=count,
|
78
|
+
depends_on=depends_on,
|
79
|
+
for_each=for_each,
|
80
|
+
lifecycle=lifecycle,
|
81
|
+
provider=provider,
|
82
|
+
provisioners=provisioners,
|
83
|
+
)
|
84
|
+
|
85
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
86
|
+
|
87
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
88
|
+
@builtins.classmethod
|
89
|
+
def generate_config_for_import(
|
90
|
+
cls,
|
91
|
+
scope: _constructs_77d1e7e8.Construct,
|
92
|
+
import_to_id: builtins.str,
|
93
|
+
import_from_id: builtins.str,
|
94
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
95
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
96
|
+
'''Generates CDKTF code for importing a UserHandoffNotificationRule resource upon running "cdktf plan ".
|
97
|
+
|
98
|
+
:param scope: The scope in which to define this construct.
|
99
|
+
: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.13.1/docs/resources/user_handoff_notification_rule#import import section} in the documentation of this resource for the id to use
|
101
|
+
:param provider: ? Optional instance of the provider where the UserHandoffNotificationRule to import is found.
|
102
|
+
'''
|
103
|
+
if __debug__:
|
104
|
+
type_hints = typing.get_type_hints(_typecheckingstub__39b0d37f39fb73652cf0aeb9ddeb18edafc9c99d6049eb722086ffdae7567526)
|
105
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
106
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
107
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
108
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
109
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
110
|
+
|
111
|
+
@jsii.member(jsii_name="putContactMethod")
|
112
|
+
def put_contact_method(
|
113
|
+
self,
|
114
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["UserHandoffNotificationRuleContactMethod", typing.Dict[builtins.str, typing.Any]]]],
|
115
|
+
) -> None:
|
116
|
+
'''
|
117
|
+
:param value: -
|
118
|
+
'''
|
119
|
+
if __debug__:
|
120
|
+
type_hints = typing.get_type_hints(_typecheckingstub__49e949bd3b71b3b794588cfd6b6a299c2d970ed7655d23c8efabc847a2949c85)
|
121
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
122
|
+
return typing.cast(None, jsii.invoke(self, "putContactMethod", [value]))
|
123
|
+
|
124
|
+
@jsii.member(jsii_name="resetContactMethod")
|
125
|
+
def reset_contact_method(self) -> None:
|
126
|
+
return typing.cast(None, jsii.invoke(self, "resetContactMethod", []))
|
127
|
+
|
128
|
+
@jsii.member(jsii_name="resetHandoffType")
|
129
|
+
def reset_handoff_type(self) -> None:
|
130
|
+
return typing.cast(None, jsii.invoke(self, "resetHandoffType", []))
|
131
|
+
|
132
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
133
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
134
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
135
|
+
|
136
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
137
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
138
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
139
|
+
|
140
|
+
@jsii.python.classproperty
|
141
|
+
@jsii.member(jsii_name="tfResourceType")
|
142
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
143
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
144
|
+
|
145
|
+
@builtins.property
|
146
|
+
@jsii.member(jsii_name="contactMethod")
|
147
|
+
def contact_method(self) -> "UserHandoffNotificationRuleContactMethodList":
|
148
|
+
return typing.cast("UserHandoffNotificationRuleContactMethodList", jsii.get(self, "contactMethod"))
|
149
|
+
|
150
|
+
@builtins.property
|
151
|
+
@jsii.member(jsii_name="id")
|
152
|
+
def id(self) -> builtins.str:
|
153
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
154
|
+
|
155
|
+
@builtins.property
|
156
|
+
@jsii.member(jsii_name="contactMethodInput")
|
157
|
+
def contact_method_input(
|
158
|
+
self,
|
159
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["UserHandoffNotificationRuleContactMethod"]]]:
|
160
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["UserHandoffNotificationRuleContactMethod"]]], jsii.get(self, "contactMethodInput"))
|
161
|
+
|
162
|
+
@builtins.property
|
163
|
+
@jsii.member(jsii_name="handoffTypeInput")
|
164
|
+
def handoff_type_input(self) -> typing.Optional[builtins.str]:
|
165
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "handoffTypeInput"))
|
166
|
+
|
167
|
+
@builtins.property
|
168
|
+
@jsii.member(jsii_name="notifyAdvanceInMinutesInput")
|
169
|
+
def notify_advance_in_minutes_input(self) -> typing.Optional[jsii.Number]:
|
170
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "notifyAdvanceInMinutesInput"))
|
171
|
+
|
172
|
+
@builtins.property
|
173
|
+
@jsii.member(jsii_name="userIdInput")
|
174
|
+
def user_id_input(self) -> typing.Optional[builtins.str]:
|
175
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "userIdInput"))
|
176
|
+
|
177
|
+
@builtins.property
|
178
|
+
@jsii.member(jsii_name="handoffType")
|
179
|
+
def handoff_type(self) -> builtins.str:
|
180
|
+
return typing.cast(builtins.str, jsii.get(self, "handoffType"))
|
181
|
+
|
182
|
+
@handoff_type.setter
|
183
|
+
def handoff_type(self, value: builtins.str) -> None:
|
184
|
+
if __debug__:
|
185
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f3ec3c84ae7dd7ff7d4cca10e5dae208610ad74d7454591eabd0dfadfc17f130)
|
186
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
187
|
+
jsii.set(self, "handoffType", value)
|
188
|
+
|
189
|
+
@builtins.property
|
190
|
+
@jsii.member(jsii_name="notifyAdvanceInMinutes")
|
191
|
+
def notify_advance_in_minutes(self) -> jsii.Number:
|
192
|
+
return typing.cast(jsii.Number, jsii.get(self, "notifyAdvanceInMinutes"))
|
193
|
+
|
194
|
+
@notify_advance_in_minutes.setter
|
195
|
+
def notify_advance_in_minutes(self, value: jsii.Number) -> None:
|
196
|
+
if __debug__:
|
197
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e20e10a8292a6699876390c0f40c82e2527eb97b34eb441f3bfa9798e495ffe7)
|
198
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
199
|
+
jsii.set(self, "notifyAdvanceInMinutes", value)
|
200
|
+
|
201
|
+
@builtins.property
|
202
|
+
@jsii.member(jsii_name="userId")
|
203
|
+
def user_id(self) -> builtins.str:
|
204
|
+
return typing.cast(builtins.str, jsii.get(self, "userId"))
|
205
|
+
|
206
|
+
@user_id.setter
|
207
|
+
def user_id(self, value: builtins.str) -> None:
|
208
|
+
if __debug__:
|
209
|
+
type_hints = typing.get_type_hints(_typecheckingstub__917c697e12d1b43b4dd1f61ecf48bb24f2534a62d533956a0394406476cca618)
|
210
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
211
|
+
jsii.set(self, "userId", value)
|
212
|
+
|
213
|
+
|
214
|
+
@jsii.data_type(
|
215
|
+
jsii_type="@cdktf/provider-pagerduty.userHandoffNotificationRule.UserHandoffNotificationRuleConfig",
|
216
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
217
|
+
name_mapping={
|
218
|
+
"connection": "connection",
|
219
|
+
"count": "count",
|
220
|
+
"depends_on": "dependsOn",
|
221
|
+
"for_each": "forEach",
|
222
|
+
"lifecycle": "lifecycle",
|
223
|
+
"provider": "provider",
|
224
|
+
"provisioners": "provisioners",
|
225
|
+
"notify_advance_in_minutes": "notifyAdvanceInMinutes",
|
226
|
+
"user_id": "userId",
|
227
|
+
"contact_method": "contactMethod",
|
228
|
+
"handoff_type": "handoffType",
|
229
|
+
},
|
230
|
+
)
|
231
|
+
class UserHandoffNotificationRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
232
|
+
def __init__(
|
233
|
+
self,
|
234
|
+
*,
|
235
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
236
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
237
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
238
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
239
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
240
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
241
|
+
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,
|
242
|
+
notify_advance_in_minutes: jsii.Number,
|
243
|
+
user_id: builtins.str,
|
244
|
+
contact_method: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["UserHandoffNotificationRuleContactMethod", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
245
|
+
handoff_type: typing.Optional[builtins.str] = None,
|
246
|
+
) -> None:
|
247
|
+
'''
|
248
|
+
:param connection:
|
249
|
+
:param count:
|
250
|
+
:param depends_on:
|
251
|
+
:param for_each:
|
252
|
+
:param lifecycle:
|
253
|
+
:param provider:
|
254
|
+
: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.13.1/docs/resources/user_handoff_notification_rule#notify_advance_in_minutes UserHandoffNotificationRule#notify_advance_in_minutes}
|
256
|
+
:param user_id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#user_id UserHandoffNotificationRule#user_id}.
|
257
|
+
:param contact_method: contact_method block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#contact_method UserHandoffNotificationRule#contact_method}
|
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.13.1/docs/resources/user_handoff_notification_rule#handoff_type UserHandoffNotificationRule#handoff_type}
|
259
|
+
'''
|
260
|
+
if isinstance(lifecycle, dict):
|
261
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
262
|
+
if __debug__:
|
263
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1bbe373c32f6cbdffe57eb37b36993d10e59b22df145b4a039c917de7e499889)
|
264
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
265
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
266
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
267
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
268
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
269
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
270
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
271
|
+
check_type(argname="argument notify_advance_in_minutes", value=notify_advance_in_minutes, expected_type=type_hints["notify_advance_in_minutes"])
|
272
|
+
check_type(argname="argument user_id", value=user_id, expected_type=type_hints["user_id"])
|
273
|
+
check_type(argname="argument contact_method", value=contact_method, expected_type=type_hints["contact_method"])
|
274
|
+
check_type(argname="argument handoff_type", value=handoff_type, expected_type=type_hints["handoff_type"])
|
275
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
276
|
+
"notify_advance_in_minutes": notify_advance_in_minutes,
|
277
|
+
"user_id": user_id,
|
278
|
+
}
|
279
|
+
if connection is not None:
|
280
|
+
self._values["connection"] = connection
|
281
|
+
if count is not None:
|
282
|
+
self._values["count"] = count
|
283
|
+
if depends_on is not None:
|
284
|
+
self._values["depends_on"] = depends_on
|
285
|
+
if for_each is not None:
|
286
|
+
self._values["for_each"] = for_each
|
287
|
+
if lifecycle is not None:
|
288
|
+
self._values["lifecycle"] = lifecycle
|
289
|
+
if provider is not None:
|
290
|
+
self._values["provider"] = provider
|
291
|
+
if provisioners is not None:
|
292
|
+
self._values["provisioners"] = provisioners
|
293
|
+
if contact_method is not None:
|
294
|
+
self._values["contact_method"] = contact_method
|
295
|
+
if handoff_type is not None:
|
296
|
+
self._values["handoff_type"] = handoff_type
|
297
|
+
|
298
|
+
@builtins.property
|
299
|
+
def connection(
|
300
|
+
self,
|
301
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
302
|
+
'''
|
303
|
+
:stability: experimental
|
304
|
+
'''
|
305
|
+
result = self._values.get("connection")
|
306
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
307
|
+
|
308
|
+
@builtins.property
|
309
|
+
def count(
|
310
|
+
self,
|
311
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
312
|
+
'''
|
313
|
+
:stability: experimental
|
314
|
+
'''
|
315
|
+
result = self._values.get("count")
|
316
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
317
|
+
|
318
|
+
@builtins.property
|
319
|
+
def depends_on(
|
320
|
+
self,
|
321
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
322
|
+
'''
|
323
|
+
:stability: experimental
|
324
|
+
'''
|
325
|
+
result = self._values.get("depends_on")
|
326
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
327
|
+
|
328
|
+
@builtins.property
|
329
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
330
|
+
'''
|
331
|
+
:stability: experimental
|
332
|
+
'''
|
333
|
+
result = self._values.get("for_each")
|
334
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
335
|
+
|
336
|
+
@builtins.property
|
337
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
338
|
+
'''
|
339
|
+
:stability: experimental
|
340
|
+
'''
|
341
|
+
result = self._values.get("lifecycle")
|
342
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
343
|
+
|
344
|
+
@builtins.property
|
345
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
346
|
+
'''
|
347
|
+
:stability: experimental
|
348
|
+
'''
|
349
|
+
result = self._values.get("provider")
|
350
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
351
|
+
|
352
|
+
@builtins.property
|
353
|
+
def provisioners(
|
354
|
+
self,
|
355
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
356
|
+
'''
|
357
|
+
:stability: experimental
|
358
|
+
'''
|
359
|
+
result = self._values.get("provisioners")
|
360
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
361
|
+
|
362
|
+
@builtins.property
|
363
|
+
def notify_advance_in_minutes(self) -> jsii.Number:
|
364
|
+
'''The number of minutes before the handoff to notify the user. Must be greater than or equal to 0.
|
365
|
+
|
366
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#notify_advance_in_minutes UserHandoffNotificationRule#notify_advance_in_minutes}
|
367
|
+
'''
|
368
|
+
result = self._values.get("notify_advance_in_minutes")
|
369
|
+
assert result is not None, "Required property 'notify_advance_in_minutes' is missing"
|
370
|
+
return typing.cast(jsii.Number, result)
|
371
|
+
|
372
|
+
@builtins.property
|
373
|
+
def user_id(self) -> builtins.str:
|
374
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#user_id UserHandoffNotificationRule#user_id}.'''
|
375
|
+
result = self._values.get("user_id")
|
376
|
+
assert result is not None, "Required property 'user_id' is missing"
|
377
|
+
return typing.cast(builtins.str, result)
|
378
|
+
|
379
|
+
@builtins.property
|
380
|
+
def contact_method(
|
381
|
+
self,
|
382
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["UserHandoffNotificationRuleContactMethod"]]]:
|
383
|
+
'''contact_method block.
|
384
|
+
|
385
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#contact_method UserHandoffNotificationRule#contact_method}
|
386
|
+
'''
|
387
|
+
result = self._values.get("contact_method")
|
388
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["UserHandoffNotificationRuleContactMethod"]]], result)
|
389
|
+
|
390
|
+
@builtins.property
|
391
|
+
def handoff_type(self) -> typing.Optional[builtins.str]:
|
392
|
+
'''The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'.
|
393
|
+
|
394
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#handoff_type UserHandoffNotificationRule#handoff_type}
|
395
|
+
'''
|
396
|
+
result = self._values.get("handoff_type")
|
397
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
398
|
+
|
399
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
400
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
401
|
+
|
402
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
403
|
+
return not (rhs == self)
|
404
|
+
|
405
|
+
def __repr__(self) -> str:
|
406
|
+
return "UserHandoffNotificationRuleConfig(%s)" % ", ".join(
|
407
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
408
|
+
)
|
409
|
+
|
410
|
+
|
411
|
+
@jsii.data_type(
|
412
|
+
jsii_type="@cdktf/provider-pagerduty.userHandoffNotificationRule.UserHandoffNotificationRuleContactMethod",
|
413
|
+
jsii_struct_bases=[],
|
414
|
+
name_mapping={"id": "id", "type": "type"},
|
415
|
+
)
|
416
|
+
class UserHandoffNotificationRuleContactMethod:
|
417
|
+
def __init__(self, *, id: builtins.str, type: builtins.str) -> None:
|
418
|
+
'''
|
419
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/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.
|
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.13.1/docs/resources/user_handoff_notification_rule#type UserHandoffNotificationRule#type}
|
421
|
+
'''
|
422
|
+
if __debug__:
|
423
|
+
type_hints = typing.get_type_hints(_typecheckingstub__81f45730d10d147bf610802d9b207c8dee3709fd964cc69a6f239033cf5f4b94)
|
424
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
425
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
426
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
427
|
+
"id": id,
|
428
|
+
"type": type,
|
429
|
+
}
|
430
|
+
|
431
|
+
@builtins.property
|
432
|
+
def id(self) -> builtins.str:
|
433
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#id UserHandoffNotificationRule#id}.
|
434
|
+
|
435
|
+
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
|
+
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.
|
437
|
+
'''
|
438
|
+
result = self._values.get("id")
|
439
|
+
assert result is not None, "Required property 'id' is missing"
|
440
|
+
return typing.cast(builtins.str, result)
|
441
|
+
|
442
|
+
@builtins.property
|
443
|
+
def type(self) -> builtins.str:
|
444
|
+
'''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
|
+
|
446
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.13.1/docs/resources/user_handoff_notification_rule#type UserHandoffNotificationRule#type}
|
447
|
+
'''
|
448
|
+
result = self._values.get("type")
|
449
|
+
assert result is not None, "Required property 'type' is missing"
|
450
|
+
return typing.cast(builtins.str, result)
|
451
|
+
|
452
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
453
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
454
|
+
|
455
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
456
|
+
return not (rhs == self)
|
457
|
+
|
458
|
+
def __repr__(self) -> str:
|
459
|
+
return "UserHandoffNotificationRuleContactMethod(%s)" % ", ".join(
|
460
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
461
|
+
)
|
462
|
+
|
463
|
+
|
464
|
+
class UserHandoffNotificationRuleContactMethodList(
|
465
|
+
_cdktf_9a9027ec.ComplexList,
|
466
|
+
metaclass=jsii.JSIIMeta,
|
467
|
+
jsii_type="@cdktf/provider-pagerduty.userHandoffNotificationRule.UserHandoffNotificationRuleContactMethodList",
|
468
|
+
):
|
469
|
+
def __init__(
|
470
|
+
self,
|
471
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
472
|
+
terraform_attribute: builtins.str,
|
473
|
+
wraps_set: builtins.bool,
|
474
|
+
) -> None:
|
475
|
+
'''
|
476
|
+
:param terraform_resource: The parent resource.
|
477
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
478
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
479
|
+
'''
|
480
|
+
if __debug__:
|
481
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4811b94bbd68dad081282eb73d7db8a815690201b6977cf5453b6000c11097a4)
|
482
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
483
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
484
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
485
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
486
|
+
|
487
|
+
@jsii.member(jsii_name="get")
|
488
|
+
def get(
|
489
|
+
self,
|
490
|
+
index: jsii.Number,
|
491
|
+
) -> "UserHandoffNotificationRuleContactMethodOutputReference":
|
492
|
+
'''
|
493
|
+
:param index: the index of the item to return.
|
494
|
+
'''
|
495
|
+
if __debug__:
|
496
|
+
type_hints = typing.get_type_hints(_typecheckingstub__46f6efd518eedd846d92aba1f941a00a93aa8fd8ebdf412ff81dce72fda692b8)
|
497
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
498
|
+
return typing.cast("UserHandoffNotificationRuleContactMethodOutputReference", jsii.invoke(self, "get", [index]))
|
499
|
+
|
500
|
+
@builtins.property
|
501
|
+
@jsii.member(jsii_name="terraformAttribute")
|
502
|
+
def _terraform_attribute(self) -> builtins.str:
|
503
|
+
'''The attribute on the parent resource this class is referencing.'''
|
504
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
505
|
+
|
506
|
+
@_terraform_attribute.setter
|
507
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
508
|
+
if __debug__:
|
509
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d1f26c60a6eeda94350f8be26a5e8f7445aee4edc7a2e73dc187f4b4230623f)
|
510
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
511
|
+
jsii.set(self, "terraformAttribute", value)
|
512
|
+
|
513
|
+
@builtins.property
|
514
|
+
@jsii.member(jsii_name="terraformResource")
|
515
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
516
|
+
'''The parent resource.'''
|
517
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
518
|
+
|
519
|
+
@_terraform_resource.setter
|
520
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
521
|
+
if __debug__:
|
522
|
+
type_hints = typing.get_type_hints(_typecheckingstub__142ba1a23c7b87dcc7e11521a0557c970d63c24e34328ebc7ebfc07c52b830ea)
|
523
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
524
|
+
jsii.set(self, "terraformResource", value)
|
525
|
+
|
526
|
+
@builtins.property
|
527
|
+
@jsii.member(jsii_name="wrapsSet")
|
528
|
+
def _wraps_set(self) -> builtins.bool:
|
529
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
530
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
531
|
+
|
532
|
+
@_wraps_set.setter
|
533
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
534
|
+
if __debug__:
|
535
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e3ba3e8c0f5bbbd6de0b24b08db51e7512e25f6b75a0b9d1b9f4665413eee51a)
|
536
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
537
|
+
jsii.set(self, "wrapsSet", value)
|
538
|
+
|
539
|
+
@builtins.property
|
540
|
+
@jsii.member(jsii_name="internalValue")
|
541
|
+
def internal_value(
|
542
|
+
self,
|
543
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[UserHandoffNotificationRuleContactMethod]]]:
|
544
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[UserHandoffNotificationRuleContactMethod]]], jsii.get(self, "internalValue"))
|
545
|
+
|
546
|
+
@internal_value.setter
|
547
|
+
def internal_value(
|
548
|
+
self,
|
549
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[UserHandoffNotificationRuleContactMethod]]],
|
550
|
+
) -> None:
|
551
|
+
if __debug__:
|
552
|
+
type_hints = typing.get_type_hints(_typecheckingstub__93420676e84948a63d57f975487f4a460e17a01cea890be6b12905451eb8805d)
|
553
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
554
|
+
jsii.set(self, "internalValue", value)
|
555
|
+
|
556
|
+
|
557
|
+
class UserHandoffNotificationRuleContactMethodOutputReference(
|
558
|
+
_cdktf_9a9027ec.ComplexObject,
|
559
|
+
metaclass=jsii.JSIIMeta,
|
560
|
+
jsii_type="@cdktf/provider-pagerduty.userHandoffNotificationRule.UserHandoffNotificationRuleContactMethodOutputReference",
|
561
|
+
):
|
562
|
+
def __init__(
|
563
|
+
self,
|
564
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
565
|
+
terraform_attribute: builtins.str,
|
566
|
+
complex_object_index: jsii.Number,
|
567
|
+
complex_object_is_from_set: builtins.bool,
|
568
|
+
) -> None:
|
569
|
+
'''
|
570
|
+
:param terraform_resource: The parent resource.
|
571
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
572
|
+
:param complex_object_index: the index of this item in the list.
|
573
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
574
|
+
'''
|
575
|
+
if __debug__:
|
576
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b6bb51d1279cb5c60cccc4a9219d4bed443d90cb56b66de88fe481d8c312935)
|
577
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
578
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
579
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
580
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
581
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
582
|
+
|
583
|
+
@builtins.property
|
584
|
+
@jsii.member(jsii_name="idInput")
|
585
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
586
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
587
|
+
|
588
|
+
@builtins.property
|
589
|
+
@jsii.member(jsii_name="typeInput")
|
590
|
+
def type_input(self) -> typing.Optional[builtins.str]:
|
591
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "typeInput"))
|
592
|
+
|
593
|
+
@builtins.property
|
594
|
+
@jsii.member(jsii_name="id")
|
595
|
+
def id(self) -> builtins.str:
|
596
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
597
|
+
|
598
|
+
@id.setter
|
599
|
+
def id(self, value: builtins.str) -> None:
|
600
|
+
if __debug__:
|
601
|
+
type_hints = typing.get_type_hints(_typecheckingstub__644eecdd727407bebee3e24945b9753f43139b1af1bf7783263cb133de3c653f)
|
602
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
603
|
+
jsii.set(self, "id", value)
|
604
|
+
|
605
|
+
@builtins.property
|
606
|
+
@jsii.member(jsii_name="type")
|
607
|
+
def type(self) -> builtins.str:
|
608
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
609
|
+
|
610
|
+
@type.setter
|
611
|
+
def type(self, value: builtins.str) -> None:
|
612
|
+
if __debug__:
|
613
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d40db1d3d4363a0c1c5de7f6499b554edb787c7fd9f2329dbcfa914e9f11859d)
|
614
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
615
|
+
jsii.set(self, "type", value)
|
616
|
+
|
617
|
+
@builtins.property
|
618
|
+
@jsii.member(jsii_name="internalValue")
|
619
|
+
def internal_value(
|
620
|
+
self,
|
621
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, UserHandoffNotificationRuleContactMethod]]:
|
622
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, UserHandoffNotificationRuleContactMethod]], jsii.get(self, "internalValue"))
|
623
|
+
|
624
|
+
@internal_value.setter
|
625
|
+
def internal_value(
|
626
|
+
self,
|
627
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, UserHandoffNotificationRuleContactMethod]],
|
628
|
+
) -> None:
|
629
|
+
if __debug__:
|
630
|
+
type_hints = typing.get_type_hints(_typecheckingstub__442eb9f24397853d6af24d4e85501fc83549c4ed5144b41b5d8b26d10c0e0775)
|
631
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
632
|
+
jsii.set(self, "internalValue", value)
|
633
|
+
|
634
|
+
|
635
|
+
__all__ = [
|
636
|
+
"UserHandoffNotificationRule",
|
637
|
+
"UserHandoffNotificationRuleConfig",
|
638
|
+
"UserHandoffNotificationRuleContactMethod",
|
639
|
+
"UserHandoffNotificationRuleContactMethodList",
|
640
|
+
"UserHandoffNotificationRuleContactMethodOutputReference",
|
641
|
+
]
|
642
|
+
|
643
|
+
publication.publish()
|
644
|
+
|
645
|
+
def _typecheckingstub__be9acd4a984e42a30c25cdd5055a79e999fb4f793aa08a819c51f1d42809afe6(
|
646
|
+
scope: _constructs_77d1e7e8.Construct,
|
647
|
+
id: builtins.str,
|
648
|
+
*,
|
649
|
+
notify_advance_in_minutes: jsii.Number,
|
650
|
+
user_id: builtins.str,
|
651
|
+
contact_method: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[UserHandoffNotificationRuleContactMethod, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
652
|
+
handoff_type: typing.Optional[builtins.str] = None,
|
653
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
654
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
655
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
656
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
657
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
658
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
659
|
+
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,
|
660
|
+
) -> None:
|
661
|
+
"""Type checking stubs"""
|
662
|
+
pass
|
663
|
+
|
664
|
+
def _typecheckingstub__39b0d37f39fb73652cf0aeb9ddeb18edafc9c99d6049eb722086ffdae7567526(
|
665
|
+
scope: _constructs_77d1e7e8.Construct,
|
666
|
+
import_to_id: builtins.str,
|
667
|
+
import_from_id: builtins.str,
|
668
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
669
|
+
) -> None:
|
670
|
+
"""Type checking stubs"""
|
671
|
+
pass
|
672
|
+
|
673
|
+
def _typecheckingstub__49e949bd3b71b3b794588cfd6b6a299c2d970ed7655d23c8efabc847a2949c85(
|
674
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[UserHandoffNotificationRuleContactMethod, typing.Dict[builtins.str, typing.Any]]]],
|
675
|
+
) -> None:
|
676
|
+
"""Type checking stubs"""
|
677
|
+
pass
|
678
|
+
|
679
|
+
def _typecheckingstub__f3ec3c84ae7dd7ff7d4cca10e5dae208610ad74d7454591eabd0dfadfc17f130(
|
680
|
+
value: builtins.str,
|
681
|
+
) -> None:
|
682
|
+
"""Type checking stubs"""
|
683
|
+
pass
|
684
|
+
|
685
|
+
def _typecheckingstub__e20e10a8292a6699876390c0f40c82e2527eb97b34eb441f3bfa9798e495ffe7(
|
686
|
+
value: jsii.Number,
|
687
|
+
) -> None:
|
688
|
+
"""Type checking stubs"""
|
689
|
+
pass
|
690
|
+
|
691
|
+
def _typecheckingstub__917c697e12d1b43b4dd1f61ecf48bb24f2534a62d533956a0394406476cca618(
|
692
|
+
value: builtins.str,
|
693
|
+
) -> None:
|
694
|
+
"""Type checking stubs"""
|
695
|
+
pass
|
696
|
+
|
697
|
+
def _typecheckingstub__1bbe373c32f6cbdffe57eb37b36993d10e59b22df145b4a039c917de7e499889(
|
698
|
+
*,
|
699
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
700
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
701
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
702
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
703
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
704
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
705
|
+
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,
|
706
|
+
notify_advance_in_minutes: jsii.Number,
|
707
|
+
user_id: builtins.str,
|
708
|
+
contact_method: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[UserHandoffNotificationRuleContactMethod, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
709
|
+
handoff_type: typing.Optional[builtins.str] = None,
|
710
|
+
) -> None:
|
711
|
+
"""Type checking stubs"""
|
712
|
+
pass
|
713
|
+
|
714
|
+
def _typecheckingstub__81f45730d10d147bf610802d9b207c8dee3709fd964cc69a6f239033cf5f4b94(
|
715
|
+
*,
|
716
|
+
id: builtins.str,
|
717
|
+
type: builtins.str,
|
718
|
+
) -> None:
|
719
|
+
"""Type checking stubs"""
|
720
|
+
pass
|
721
|
+
|
722
|
+
def _typecheckingstub__4811b94bbd68dad081282eb73d7db8a815690201b6977cf5453b6000c11097a4(
|
723
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
724
|
+
terraform_attribute: builtins.str,
|
725
|
+
wraps_set: builtins.bool,
|
726
|
+
) -> None:
|
727
|
+
"""Type checking stubs"""
|
728
|
+
pass
|
729
|
+
|
730
|
+
def _typecheckingstub__46f6efd518eedd846d92aba1f941a00a93aa8fd8ebdf412ff81dce72fda692b8(
|
731
|
+
index: jsii.Number,
|
732
|
+
) -> None:
|
733
|
+
"""Type checking stubs"""
|
734
|
+
pass
|
735
|
+
|
736
|
+
def _typecheckingstub__0d1f26c60a6eeda94350f8be26a5e8f7445aee4edc7a2e73dc187f4b4230623f(
|
737
|
+
value: builtins.str,
|
738
|
+
) -> None:
|
739
|
+
"""Type checking stubs"""
|
740
|
+
pass
|
741
|
+
|
742
|
+
def _typecheckingstub__142ba1a23c7b87dcc7e11521a0557c970d63c24e34328ebc7ebfc07c52b830ea(
|
743
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
744
|
+
) -> None:
|
745
|
+
"""Type checking stubs"""
|
746
|
+
pass
|
747
|
+
|
748
|
+
def _typecheckingstub__e3ba3e8c0f5bbbd6de0b24b08db51e7512e25f6b75a0b9d1b9f4665413eee51a(
|
749
|
+
value: builtins.bool,
|
750
|
+
) -> None:
|
751
|
+
"""Type checking stubs"""
|
752
|
+
pass
|
753
|
+
|
754
|
+
def _typecheckingstub__93420676e84948a63d57f975487f4a460e17a01cea890be6b12905451eb8805d(
|
755
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[UserHandoffNotificationRuleContactMethod]]],
|
756
|
+
) -> None:
|
757
|
+
"""Type checking stubs"""
|
758
|
+
pass
|
759
|
+
|
760
|
+
def _typecheckingstub__7b6bb51d1279cb5c60cccc4a9219d4bed443d90cb56b66de88fe481d8c312935(
|
761
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
762
|
+
terraform_attribute: builtins.str,
|
763
|
+
complex_object_index: jsii.Number,
|
764
|
+
complex_object_is_from_set: builtins.bool,
|
765
|
+
) -> None:
|
766
|
+
"""Type checking stubs"""
|
767
|
+
pass
|
768
|
+
|
769
|
+
def _typecheckingstub__644eecdd727407bebee3e24945b9753f43139b1af1bf7783263cb133de3c653f(
|
770
|
+
value: builtins.str,
|
771
|
+
) -> None:
|
772
|
+
"""Type checking stubs"""
|
773
|
+
pass
|
774
|
+
|
775
|
+
def _typecheckingstub__d40db1d3d4363a0c1c5de7f6499b554edb787c7fd9f2329dbcfa914e9f11859d(
|
776
|
+
value: builtins.str,
|
777
|
+
) -> None:
|
778
|
+
"""Type checking stubs"""
|
779
|
+
pass
|
780
|
+
|
781
|
+
def _typecheckingstub__442eb9f24397853d6af24d4e85501fc83549c4ed5144b41b5d8b26d10c0e0775(
|
782
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, UserHandoffNotificationRuleContactMethod]],
|
783
|
+
) -> None:
|
784
|
+
"""Type checking stubs"""
|
785
|
+
pass
|