cdktf-cdktf-provider-pagerduty 13.14.2__py3-none-any.whl → 13.15.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 +11 -3
- cdktf_cdktf_provider_pagerduty/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.15.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty/addon/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/alert_grouping_setting/__init__.py +31 -31
- cdktf_cdktf_provider_pagerduty/automation_actions_action/__init__.py +55 -55
- 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_alert_grouping_setting/__init__.py +16 -16
- cdktf_cdktf_provider_pagerduty/data_pagerduty_automation_actions_action/__init__.py +31 -31
- 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_type/__init__.py +378 -0
- cdktf_cdktf_provider_pagerduty/data_pagerduty_incident_type_custom_field/__init__.py +737 -0
- cdktf_cdktf_provider_pagerduty/data_pagerduty_incident_workflow/__init__.py +10 -10
- cdktf_cdktf_provider_pagerduty/data_pagerduty_jira_cloud_account_mapping/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_license/__init__.py +13 -13
- cdktf_cdktf_provider_pagerduty/data_pagerduty_licenses/__init__.py +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_priority/__init__.py +7 -7
- 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 +7 -7
- cdktf_cdktf_provider_pagerduty/data_pagerduty_service_integration/__init__.py +10 -10
- 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 +197 -197
- 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 +50 -50
- cdktf_cdktf_provider_pagerduty/event_orchestration_service/__init__.py +206 -206
- 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_type/__init__.py +533 -0
- cdktf_cdktf_provider_pagerduty/incident_type_custom_field/__init__.py +715 -0
- 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/jira_cloud_account_mapping_rule/__init__.py +99 -99
- cdktf_cdktf_provider_pagerduty/maintenance_window/__init__.py +19 -19
- cdktf_cdktf_provider_pagerduty/provider/__init__.py +34 -34
- 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 +21 -21
- 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 +16 -16
- 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 +20 -20
- 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.14.2.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/LICENSE +1 -1
- {cdktf_cdktf_provider_pagerduty-13.14.2.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_pagerduty-13.15.0.dist-info/RECORD +90 -0
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.14.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty-13.14.2.dist-info/RECORD +0 -86
- {cdktf_cdktf_provider_pagerduty-13.14.2.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_pagerduty-13.14.2.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,378 @@
|
|
1
|
+
r'''
|
2
|
+
# `data_pagerduty_incident_type`
|
3
|
+
|
4
|
+
Refer to the Terraform Registry for docs: [`data_pagerduty_incident_type`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type).
|
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
|
+
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
|
35
|
+
|
36
|
+
from .._jsii import *
|
37
|
+
|
38
|
+
import cdktf as _cdktf_9a9027ec
|
39
|
+
import constructs as _constructs_77d1e7e8
|
40
|
+
|
41
|
+
|
42
|
+
class DataPagerdutyIncidentType(
|
43
|
+
_cdktf_9a9027ec.TerraformDataSource,
|
44
|
+
metaclass=jsii.JSIIMeta,
|
45
|
+
jsii_type="@cdktf/provider-pagerduty.dataPagerdutyIncidentType.DataPagerdutyIncidentType",
|
46
|
+
):
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type pagerduty_incident_type}.'''
|
48
|
+
|
49
|
+
def __init__(
|
50
|
+
self,
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
52
|
+
id: builtins.str,
|
53
|
+
*,
|
54
|
+
display_name: builtins.str,
|
55
|
+
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,
|
56
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
57
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
58
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
59
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
60
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
61
|
+
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,
|
62
|
+
) -> None:
|
63
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type pagerduty_incident_type} Data Source.
|
64
|
+
|
65
|
+
:param scope: The scope in which to define this construct.
|
66
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
67
|
+
:param display_name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type#display_name DataPagerdutyIncidentType#display_name}.
|
68
|
+
:param connection:
|
69
|
+
:param count:
|
70
|
+
:param depends_on:
|
71
|
+
:param for_each:
|
72
|
+
:param lifecycle:
|
73
|
+
:param provider:
|
74
|
+
:param provisioners:
|
75
|
+
'''
|
76
|
+
if __debug__:
|
77
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1e46de4175db7e15efcbc24dc68eb0d15b5ffc26167a81e7d06d027d6626605a)
|
78
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
79
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
80
|
+
config = DataPagerdutyIncidentTypeConfig(
|
81
|
+
display_name=display_name,
|
82
|
+
connection=connection,
|
83
|
+
count=count,
|
84
|
+
depends_on=depends_on,
|
85
|
+
for_each=for_each,
|
86
|
+
lifecycle=lifecycle,
|
87
|
+
provider=provider,
|
88
|
+
provisioners=provisioners,
|
89
|
+
)
|
90
|
+
|
91
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
92
|
+
|
93
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
94
|
+
@builtins.classmethod
|
95
|
+
def generate_config_for_import(
|
96
|
+
cls,
|
97
|
+
scope: _constructs_77d1e7e8.Construct,
|
98
|
+
import_to_id: builtins.str,
|
99
|
+
import_from_id: builtins.str,
|
100
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
101
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
102
|
+
'''Generates CDKTF code for importing a DataPagerdutyIncidentType resource upon running "cdktf plan ".
|
103
|
+
|
104
|
+
:param scope: The scope in which to define this construct.
|
105
|
+
:param import_to_id: The construct id used in the generated config for the DataPagerdutyIncidentType to import.
|
106
|
+
:param import_from_id: The id of the existing DataPagerdutyIncidentType that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type#import import section} in the documentation of this resource for the id to use
|
107
|
+
:param provider: ? Optional instance of the provider where the DataPagerdutyIncidentType to import is found.
|
108
|
+
'''
|
109
|
+
if __debug__:
|
110
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9d56cf607a49013d6c0b583c8b163aa9a8d44e218c8a2ffc69e61cae7347e3a)
|
111
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
112
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
113
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
114
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
115
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
116
|
+
|
117
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
118
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
119
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
120
|
+
|
121
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
122
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
123
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
124
|
+
|
125
|
+
@jsii.python.classproperty
|
126
|
+
@jsii.member(jsii_name="tfResourceType")
|
127
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
128
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
129
|
+
|
130
|
+
@builtins.property
|
131
|
+
@jsii.member(jsii_name="description")
|
132
|
+
def description(self) -> builtins.str:
|
133
|
+
return typing.cast(builtins.str, jsii.get(self, "description"))
|
134
|
+
|
135
|
+
@builtins.property
|
136
|
+
@jsii.member(jsii_name="enabled")
|
137
|
+
def enabled(self) -> _cdktf_9a9027ec.IResolvable:
|
138
|
+
return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "enabled"))
|
139
|
+
|
140
|
+
@builtins.property
|
141
|
+
@jsii.member(jsii_name="id")
|
142
|
+
def id(self) -> builtins.str:
|
143
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
144
|
+
|
145
|
+
@builtins.property
|
146
|
+
@jsii.member(jsii_name="name")
|
147
|
+
def name(self) -> builtins.str:
|
148
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
149
|
+
|
150
|
+
@builtins.property
|
151
|
+
@jsii.member(jsii_name="parentType")
|
152
|
+
def parent_type(self) -> builtins.str:
|
153
|
+
return typing.cast(builtins.str, jsii.get(self, "parentType"))
|
154
|
+
|
155
|
+
@builtins.property
|
156
|
+
@jsii.member(jsii_name="type")
|
157
|
+
def type(self) -> builtins.str:
|
158
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
159
|
+
|
160
|
+
@builtins.property
|
161
|
+
@jsii.member(jsii_name="displayNameInput")
|
162
|
+
def display_name_input(self) -> typing.Optional[builtins.str]:
|
163
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "displayNameInput"))
|
164
|
+
|
165
|
+
@builtins.property
|
166
|
+
@jsii.member(jsii_name="displayName")
|
167
|
+
def display_name(self) -> builtins.str:
|
168
|
+
return typing.cast(builtins.str, jsii.get(self, "displayName"))
|
169
|
+
|
170
|
+
@display_name.setter
|
171
|
+
def display_name(self, value: builtins.str) -> None:
|
172
|
+
if __debug__:
|
173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__149fac4665d2187f2278e9b472bbc7a9b3b29236d0165599aa90c217d2523a1b)
|
174
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
175
|
+
jsii.set(self, "displayName", value) # pyright: ignore[reportArgumentType]
|
176
|
+
|
177
|
+
|
178
|
+
@jsii.data_type(
|
179
|
+
jsii_type="@cdktf/provider-pagerduty.dataPagerdutyIncidentType.DataPagerdutyIncidentTypeConfig",
|
180
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
181
|
+
name_mapping={
|
182
|
+
"connection": "connection",
|
183
|
+
"count": "count",
|
184
|
+
"depends_on": "dependsOn",
|
185
|
+
"for_each": "forEach",
|
186
|
+
"lifecycle": "lifecycle",
|
187
|
+
"provider": "provider",
|
188
|
+
"provisioners": "provisioners",
|
189
|
+
"display_name": "displayName",
|
190
|
+
},
|
191
|
+
)
|
192
|
+
class DataPagerdutyIncidentTypeConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
193
|
+
def __init__(
|
194
|
+
self,
|
195
|
+
*,
|
196
|
+
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,
|
197
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
198
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
199
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
200
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
201
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
202
|
+
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,
|
203
|
+
display_name: builtins.str,
|
204
|
+
) -> None:
|
205
|
+
'''
|
206
|
+
:param connection:
|
207
|
+
:param count:
|
208
|
+
:param depends_on:
|
209
|
+
:param for_each:
|
210
|
+
:param lifecycle:
|
211
|
+
:param provider:
|
212
|
+
:param provisioners:
|
213
|
+
:param display_name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type#display_name DataPagerdutyIncidentType#display_name}.
|
214
|
+
'''
|
215
|
+
if isinstance(lifecycle, dict):
|
216
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
217
|
+
if __debug__:
|
218
|
+
type_hints = typing.get_type_hints(_typecheckingstub__24aed59ae267c30c96358b11d1d67ffa03f4b14bb4949332baaef83ae02ab1a7)
|
219
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
220
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
221
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
222
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
223
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
224
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
225
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
226
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
227
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
228
|
+
"display_name": display_name,
|
229
|
+
}
|
230
|
+
if connection is not None:
|
231
|
+
self._values["connection"] = connection
|
232
|
+
if count is not None:
|
233
|
+
self._values["count"] = count
|
234
|
+
if depends_on is not None:
|
235
|
+
self._values["depends_on"] = depends_on
|
236
|
+
if for_each is not None:
|
237
|
+
self._values["for_each"] = for_each
|
238
|
+
if lifecycle is not None:
|
239
|
+
self._values["lifecycle"] = lifecycle
|
240
|
+
if provider is not None:
|
241
|
+
self._values["provider"] = provider
|
242
|
+
if provisioners is not None:
|
243
|
+
self._values["provisioners"] = provisioners
|
244
|
+
|
245
|
+
@builtins.property
|
246
|
+
def connection(
|
247
|
+
self,
|
248
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
249
|
+
'''
|
250
|
+
:stability: experimental
|
251
|
+
'''
|
252
|
+
result = self._values.get("connection")
|
253
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
254
|
+
|
255
|
+
@builtins.property
|
256
|
+
def count(
|
257
|
+
self,
|
258
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
259
|
+
'''
|
260
|
+
:stability: experimental
|
261
|
+
'''
|
262
|
+
result = self._values.get("count")
|
263
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
264
|
+
|
265
|
+
@builtins.property
|
266
|
+
def depends_on(
|
267
|
+
self,
|
268
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
269
|
+
'''
|
270
|
+
:stability: experimental
|
271
|
+
'''
|
272
|
+
result = self._values.get("depends_on")
|
273
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
274
|
+
|
275
|
+
@builtins.property
|
276
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
277
|
+
'''
|
278
|
+
:stability: experimental
|
279
|
+
'''
|
280
|
+
result = self._values.get("for_each")
|
281
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
282
|
+
|
283
|
+
@builtins.property
|
284
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
285
|
+
'''
|
286
|
+
:stability: experimental
|
287
|
+
'''
|
288
|
+
result = self._values.get("lifecycle")
|
289
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
290
|
+
|
291
|
+
@builtins.property
|
292
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
293
|
+
'''
|
294
|
+
:stability: experimental
|
295
|
+
'''
|
296
|
+
result = self._values.get("provider")
|
297
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
298
|
+
|
299
|
+
@builtins.property
|
300
|
+
def provisioners(
|
301
|
+
self,
|
302
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
303
|
+
'''
|
304
|
+
:stability: experimental
|
305
|
+
'''
|
306
|
+
result = self._values.get("provisioners")
|
307
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
308
|
+
|
309
|
+
@builtins.property
|
310
|
+
def display_name(self) -> builtins.str:
|
311
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/data-sources/incident_type#display_name DataPagerdutyIncidentType#display_name}.'''
|
312
|
+
result = self._values.get("display_name")
|
313
|
+
assert result is not None, "Required property 'display_name' is missing"
|
314
|
+
return typing.cast(builtins.str, result)
|
315
|
+
|
316
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
317
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
318
|
+
|
319
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
320
|
+
return not (rhs == self)
|
321
|
+
|
322
|
+
def __repr__(self) -> str:
|
323
|
+
return "DataPagerdutyIncidentTypeConfig(%s)" % ", ".join(
|
324
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
325
|
+
)
|
326
|
+
|
327
|
+
|
328
|
+
__all__ = [
|
329
|
+
"DataPagerdutyIncidentType",
|
330
|
+
"DataPagerdutyIncidentTypeConfig",
|
331
|
+
]
|
332
|
+
|
333
|
+
publication.publish()
|
334
|
+
|
335
|
+
def _typecheckingstub__1e46de4175db7e15efcbc24dc68eb0d15b5ffc26167a81e7d06d027d6626605a(
|
336
|
+
scope: _constructs_77d1e7e8.Construct,
|
337
|
+
id: builtins.str,
|
338
|
+
*,
|
339
|
+
display_name: builtins.str,
|
340
|
+
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,
|
341
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
342
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
343
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
344
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
345
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
346
|
+
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,
|
347
|
+
) -> None:
|
348
|
+
"""Type checking stubs"""
|
349
|
+
pass
|
350
|
+
|
351
|
+
def _typecheckingstub__f9d56cf607a49013d6c0b583c8b163aa9a8d44e218c8a2ffc69e61cae7347e3a(
|
352
|
+
scope: _constructs_77d1e7e8.Construct,
|
353
|
+
import_to_id: builtins.str,
|
354
|
+
import_from_id: builtins.str,
|
355
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
356
|
+
) -> None:
|
357
|
+
"""Type checking stubs"""
|
358
|
+
pass
|
359
|
+
|
360
|
+
def _typecheckingstub__149fac4665d2187f2278e9b472bbc7a9b3b29236d0165599aa90c217d2523a1b(
|
361
|
+
value: builtins.str,
|
362
|
+
) -> None:
|
363
|
+
"""Type checking stubs"""
|
364
|
+
pass
|
365
|
+
|
366
|
+
def _typecheckingstub__24aed59ae267c30c96358b11d1d67ffa03f4b14bb4949332baaef83ae02ab1a7(
|
367
|
+
*,
|
368
|
+
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,
|
369
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
370
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
371
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
372
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
373
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
374
|
+
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,
|
375
|
+
display_name: builtins.str,
|
376
|
+
) -> None:
|
377
|
+
"""Type checking stubs"""
|
378
|
+
pass
|