cdktf-cdktf-provider-pagerduty 13.14.3__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.3.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/LICENSE +1 -1
- {cdktf_cdktf_provider_pagerduty-13.14.3.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_pagerduty-13.15.0.dist-info/RECORD +90 -0
- cdktf_cdktf_provider_pagerduty/_jsii/provider-pagerduty@13.14.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_pagerduty-13.14.3.dist-info/RECORD +0 -86
- {cdktf_cdktf_provider_pagerduty-13.14.3.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_pagerduty-13.14.3.dist-info → cdktf_cdktf_provider_pagerduty-13.15.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `pagerduty_incident_custom_field_option`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`pagerduty_incident_custom_field_option`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
4
|
+
Refer to the Terraform Registry for docs: [`pagerduty_incident_custom_field_option`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -44,7 +44,7 @@ class IncidentCustomFieldOption(
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
45
45
|
jsii_type="@cdktf/provider-pagerduty.incidentCustomFieldOption.IncidentCustomFieldOption",
|
46
46
|
):
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option pagerduty_incident_custom_field_option}.'''
|
48
48
|
|
49
49
|
def __init__(
|
50
50
|
self,
|
@@ -63,14 +63,14 @@ class IncidentCustomFieldOption(
|
|
63
63
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
64
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,
|
65
65
|
) -> None:
|
66
|
-
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
66
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option pagerduty_incident_custom_field_option} Resource.
|
67
67
|
|
68
68
|
:param scope: The scope in which to define this construct.
|
69
69
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
70
|
-
:param data_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
71
|
-
:param field: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
72
|
-
:param value: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
73
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
70
|
+
:param data_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#data_type IncidentCustomFieldOption#data_type}.
|
71
|
+
:param field: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#field IncidentCustomFieldOption#field}.
|
72
|
+
:param value: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#value IncidentCustomFieldOption#value}.
|
73
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#id IncidentCustomFieldOption#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.
|
74
74
|
:param connection:
|
75
75
|
:param count:
|
76
76
|
:param depends_on:
|
@@ -112,7 +112,7 @@ class IncidentCustomFieldOption(
|
|
112
112
|
|
113
113
|
:param scope: The scope in which to define this construct.
|
114
114
|
:param import_to_id: The construct id used in the generated config for the IncidentCustomFieldOption to import.
|
115
|
-
:param import_from_id: The id of the existing IncidentCustomFieldOption that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
115
|
+
:param import_from_id: The id of the existing IncidentCustomFieldOption that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#import import section} in the documentation of this resource for the id to use
|
116
116
|
:param provider: ? Optional instance of the provider where the IncidentCustomFieldOption to import is found.
|
117
117
|
'''
|
118
118
|
if __debug__:
|
@@ -250,10 +250,10 @@ class IncidentCustomFieldOptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
250
250
|
:param lifecycle:
|
251
251
|
:param provider:
|
252
252
|
:param provisioners:
|
253
|
-
:param data_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
254
|
-
:param field: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
255
|
-
:param value: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
256
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
253
|
+
:param data_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#data_type IncidentCustomFieldOption#data_type}.
|
254
|
+
:param field: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#field IncidentCustomFieldOption#field}.
|
255
|
+
:param value: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#value IncidentCustomFieldOption#value}.
|
256
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#id IncidentCustomFieldOption#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.
|
257
257
|
'''
|
258
258
|
if isinstance(lifecycle, dict):
|
259
259
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -358,28 +358,28 @@ class IncidentCustomFieldOptionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
358
358
|
|
359
359
|
@builtins.property
|
360
360
|
def data_type(self) -> builtins.str:
|
361
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
361
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#data_type IncidentCustomFieldOption#data_type}.'''
|
362
362
|
result = self._values.get("data_type")
|
363
363
|
assert result is not None, "Required property 'data_type' is missing"
|
364
364
|
return typing.cast(builtins.str, result)
|
365
365
|
|
366
366
|
@builtins.property
|
367
367
|
def field(self) -> builtins.str:
|
368
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
368
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#field IncidentCustomFieldOption#field}.'''
|
369
369
|
result = self._values.get("field")
|
370
370
|
assert result is not None, "Required property 'field' is missing"
|
371
371
|
return typing.cast(builtins.str, result)
|
372
372
|
|
373
373
|
@builtins.property
|
374
374
|
def value(self) -> builtins.str:
|
375
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
375
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#value IncidentCustomFieldOption#value}.'''
|
376
376
|
result = self._values.get("value")
|
377
377
|
assert result is not None, "Required property 'value' is missing"
|
378
378
|
return typing.cast(builtins.str, result)
|
379
379
|
|
380
380
|
@builtins.property
|
381
381
|
def id(self) -> typing.Optional[builtins.str]:
|
382
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.
|
382
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_custom_field_option#id IncidentCustomFieldOption#id}.
|
383
383
|
|
384
384
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
385
385
|
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.
|
@@ -0,0 +1,533 @@
|
|
1
|
+
r'''
|
2
|
+
# `pagerduty_incident_type`
|
3
|
+
|
4
|
+
Refer to the Terraform Registry for docs: [`pagerduty_incident_type`](https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/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 IncidentType(
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
44
|
+
metaclass=jsii.JSIIMeta,
|
45
|
+
jsii_type="@cdktf/provider-pagerduty.incidentType.IncidentType",
|
46
|
+
):
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/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
|
+
name: builtins.str,
|
56
|
+
parent_type: builtins.str,
|
57
|
+
description: typing.Optional[builtins.str] = None,
|
58
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
59
|
+
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,
|
60
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
61
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
62
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
63
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
64
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
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,
|
66
|
+
) -> None:
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type pagerduty_incident_type} Resource.
|
68
|
+
|
69
|
+
:param scope: The scope in which to define this construct.
|
70
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
71
|
+
:param display_name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#display_name IncidentType#display_name}.
|
72
|
+
:param name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#name IncidentType#name}.
|
73
|
+
:param parent_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#parent_type IncidentType#parent_type}.
|
74
|
+
:param description: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#description IncidentType#description}.
|
75
|
+
:param enabled: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#enabled IncidentType#enabled}.
|
76
|
+
:param connection:
|
77
|
+
:param count:
|
78
|
+
:param depends_on:
|
79
|
+
:param for_each:
|
80
|
+
:param lifecycle:
|
81
|
+
:param provider:
|
82
|
+
:param provisioners:
|
83
|
+
'''
|
84
|
+
if __debug__:
|
85
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ae593b6586d6f523e0b054556671b3e08778329816dab7c00d78f1f58491a1b8)
|
86
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
87
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
88
|
+
config = IncidentTypeConfig(
|
89
|
+
display_name=display_name,
|
90
|
+
name=name,
|
91
|
+
parent_type=parent_type,
|
92
|
+
description=description,
|
93
|
+
enabled=enabled,
|
94
|
+
connection=connection,
|
95
|
+
count=count,
|
96
|
+
depends_on=depends_on,
|
97
|
+
for_each=for_each,
|
98
|
+
lifecycle=lifecycle,
|
99
|
+
provider=provider,
|
100
|
+
provisioners=provisioners,
|
101
|
+
)
|
102
|
+
|
103
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
104
|
+
|
105
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
106
|
+
@builtins.classmethod
|
107
|
+
def generate_config_for_import(
|
108
|
+
cls,
|
109
|
+
scope: _constructs_77d1e7e8.Construct,
|
110
|
+
import_to_id: builtins.str,
|
111
|
+
import_from_id: builtins.str,
|
112
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
113
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
114
|
+
'''Generates CDKTF code for importing a IncidentType resource upon running "cdktf plan ".
|
115
|
+
|
116
|
+
:param scope: The scope in which to define this construct.
|
117
|
+
:param import_to_id: The construct id used in the generated config for the IncidentType to import.
|
118
|
+
:param import_from_id: The id of the existing IncidentType that should be imported. Refer to the {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#import import section} in the documentation of this resource for the id to use
|
119
|
+
:param provider: ? Optional instance of the provider where the IncidentType to import is found.
|
120
|
+
'''
|
121
|
+
if __debug__:
|
122
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fec561a2f7352c70ac9a2af56ff906f3169eae81580b4969a0a3e606b594d3c5)
|
123
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
124
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
125
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
126
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
127
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
128
|
+
|
129
|
+
@jsii.member(jsii_name="resetDescription")
|
130
|
+
def reset_description(self) -> None:
|
131
|
+
return typing.cast(None, jsii.invoke(self, "resetDescription", []))
|
132
|
+
|
133
|
+
@jsii.member(jsii_name="resetEnabled")
|
134
|
+
def reset_enabled(self) -> None:
|
135
|
+
return typing.cast(None, jsii.invoke(self, "resetEnabled", []))
|
136
|
+
|
137
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
138
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
139
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
140
|
+
|
141
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
142
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
143
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
144
|
+
|
145
|
+
@jsii.python.classproperty
|
146
|
+
@jsii.member(jsii_name="tfResourceType")
|
147
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
148
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
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="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="descriptionInput")
|
162
|
+
def description_input(self) -> typing.Optional[builtins.str]:
|
163
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "descriptionInput"))
|
164
|
+
|
165
|
+
@builtins.property
|
166
|
+
@jsii.member(jsii_name="displayNameInput")
|
167
|
+
def display_name_input(self) -> typing.Optional[builtins.str]:
|
168
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "displayNameInput"))
|
169
|
+
|
170
|
+
@builtins.property
|
171
|
+
@jsii.member(jsii_name="enabledInput")
|
172
|
+
def enabled_input(
|
173
|
+
self,
|
174
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
175
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "enabledInput"))
|
176
|
+
|
177
|
+
@builtins.property
|
178
|
+
@jsii.member(jsii_name="nameInput")
|
179
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
180
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
181
|
+
|
182
|
+
@builtins.property
|
183
|
+
@jsii.member(jsii_name="parentTypeInput")
|
184
|
+
def parent_type_input(self) -> typing.Optional[builtins.str]:
|
185
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "parentTypeInput"))
|
186
|
+
|
187
|
+
@builtins.property
|
188
|
+
@jsii.member(jsii_name="description")
|
189
|
+
def description(self) -> builtins.str:
|
190
|
+
return typing.cast(builtins.str, jsii.get(self, "description"))
|
191
|
+
|
192
|
+
@description.setter
|
193
|
+
def description(self, value: builtins.str) -> None:
|
194
|
+
if __debug__:
|
195
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5c383a409f58a95fcf418d0b7e58d1e1a26af2fbde386fe323a78014c4f6e3dc)
|
196
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
197
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
198
|
+
|
199
|
+
@builtins.property
|
200
|
+
@jsii.member(jsii_name="displayName")
|
201
|
+
def display_name(self) -> builtins.str:
|
202
|
+
return typing.cast(builtins.str, jsii.get(self, "displayName"))
|
203
|
+
|
204
|
+
@display_name.setter
|
205
|
+
def display_name(self, value: builtins.str) -> None:
|
206
|
+
if __debug__:
|
207
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d3fbe9cf5515eed2d9120379e03f7b036f592a9511a115685f2829d3f67096eb)
|
208
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
209
|
+
jsii.set(self, "displayName", value) # pyright: ignore[reportArgumentType]
|
210
|
+
|
211
|
+
@builtins.property
|
212
|
+
@jsii.member(jsii_name="enabled")
|
213
|
+
def enabled(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
214
|
+
return typing.cast(typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable], jsii.get(self, "enabled"))
|
215
|
+
|
216
|
+
@enabled.setter
|
217
|
+
def enabled(
|
218
|
+
self,
|
219
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
220
|
+
) -> None:
|
221
|
+
if __debug__:
|
222
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9b051d4416d6ca588679e9ef4088ab531b803f8068139bddd68b3c1d8ae0ab43)
|
223
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
224
|
+
jsii.set(self, "enabled", value) # pyright: ignore[reportArgumentType]
|
225
|
+
|
226
|
+
@builtins.property
|
227
|
+
@jsii.member(jsii_name="name")
|
228
|
+
def name(self) -> builtins.str:
|
229
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
230
|
+
|
231
|
+
@name.setter
|
232
|
+
def name(self, value: builtins.str) -> None:
|
233
|
+
if __debug__:
|
234
|
+
type_hints = typing.get_type_hints(_typecheckingstub__87a1225cb7ca6765c320266aab121de095bba32f2aed54cf902aadded00e4cd4)
|
235
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
236
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
237
|
+
|
238
|
+
@builtins.property
|
239
|
+
@jsii.member(jsii_name="parentType")
|
240
|
+
def parent_type(self) -> builtins.str:
|
241
|
+
return typing.cast(builtins.str, jsii.get(self, "parentType"))
|
242
|
+
|
243
|
+
@parent_type.setter
|
244
|
+
def parent_type(self, value: builtins.str) -> None:
|
245
|
+
if __debug__:
|
246
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4858ffbd3ab3be76543f857e07b1f99945d700693b9186df2c22bb54d5114b3c)
|
247
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
248
|
+
jsii.set(self, "parentType", value) # pyright: ignore[reportArgumentType]
|
249
|
+
|
250
|
+
|
251
|
+
@jsii.data_type(
|
252
|
+
jsii_type="@cdktf/provider-pagerduty.incidentType.IncidentTypeConfig",
|
253
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
254
|
+
name_mapping={
|
255
|
+
"connection": "connection",
|
256
|
+
"count": "count",
|
257
|
+
"depends_on": "dependsOn",
|
258
|
+
"for_each": "forEach",
|
259
|
+
"lifecycle": "lifecycle",
|
260
|
+
"provider": "provider",
|
261
|
+
"provisioners": "provisioners",
|
262
|
+
"display_name": "displayName",
|
263
|
+
"name": "name",
|
264
|
+
"parent_type": "parentType",
|
265
|
+
"description": "description",
|
266
|
+
"enabled": "enabled",
|
267
|
+
},
|
268
|
+
)
|
269
|
+
class IncidentTypeConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
270
|
+
def __init__(
|
271
|
+
self,
|
272
|
+
*,
|
273
|
+
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,
|
274
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
275
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
276
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
277
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
278
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
279
|
+
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,
|
280
|
+
display_name: builtins.str,
|
281
|
+
name: builtins.str,
|
282
|
+
parent_type: builtins.str,
|
283
|
+
description: typing.Optional[builtins.str] = None,
|
284
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
285
|
+
) -> None:
|
286
|
+
'''
|
287
|
+
:param connection:
|
288
|
+
:param count:
|
289
|
+
:param depends_on:
|
290
|
+
:param for_each:
|
291
|
+
:param lifecycle:
|
292
|
+
:param provider:
|
293
|
+
:param provisioners:
|
294
|
+
:param display_name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#display_name IncidentType#display_name}.
|
295
|
+
:param name: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#name IncidentType#name}.
|
296
|
+
:param parent_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#parent_type IncidentType#parent_type}.
|
297
|
+
:param description: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#description IncidentType#description}.
|
298
|
+
:param enabled: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#enabled IncidentType#enabled}.
|
299
|
+
'''
|
300
|
+
if isinstance(lifecycle, dict):
|
301
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
302
|
+
if __debug__:
|
303
|
+
type_hints = typing.get_type_hints(_typecheckingstub__71304671e3225865772310f8284b5d53c4d29beaa6690a730ba4d2a221365c7e)
|
304
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
305
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
306
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
307
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
308
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
309
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
310
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
311
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
312
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
313
|
+
check_type(argname="argument parent_type", value=parent_type, expected_type=type_hints["parent_type"])
|
314
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
315
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
316
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
317
|
+
"display_name": display_name,
|
318
|
+
"name": name,
|
319
|
+
"parent_type": parent_type,
|
320
|
+
}
|
321
|
+
if connection is not None:
|
322
|
+
self._values["connection"] = connection
|
323
|
+
if count is not None:
|
324
|
+
self._values["count"] = count
|
325
|
+
if depends_on is not None:
|
326
|
+
self._values["depends_on"] = depends_on
|
327
|
+
if for_each is not None:
|
328
|
+
self._values["for_each"] = for_each
|
329
|
+
if lifecycle is not None:
|
330
|
+
self._values["lifecycle"] = lifecycle
|
331
|
+
if provider is not None:
|
332
|
+
self._values["provider"] = provider
|
333
|
+
if provisioners is not None:
|
334
|
+
self._values["provisioners"] = provisioners
|
335
|
+
if description is not None:
|
336
|
+
self._values["description"] = description
|
337
|
+
if enabled is not None:
|
338
|
+
self._values["enabled"] = enabled
|
339
|
+
|
340
|
+
@builtins.property
|
341
|
+
def connection(
|
342
|
+
self,
|
343
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
344
|
+
'''
|
345
|
+
:stability: experimental
|
346
|
+
'''
|
347
|
+
result = self._values.get("connection")
|
348
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
349
|
+
|
350
|
+
@builtins.property
|
351
|
+
def count(
|
352
|
+
self,
|
353
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
354
|
+
'''
|
355
|
+
:stability: experimental
|
356
|
+
'''
|
357
|
+
result = self._values.get("count")
|
358
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
359
|
+
|
360
|
+
@builtins.property
|
361
|
+
def depends_on(
|
362
|
+
self,
|
363
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
364
|
+
'''
|
365
|
+
:stability: experimental
|
366
|
+
'''
|
367
|
+
result = self._values.get("depends_on")
|
368
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
369
|
+
|
370
|
+
@builtins.property
|
371
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
372
|
+
'''
|
373
|
+
:stability: experimental
|
374
|
+
'''
|
375
|
+
result = self._values.get("for_each")
|
376
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
377
|
+
|
378
|
+
@builtins.property
|
379
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
380
|
+
'''
|
381
|
+
:stability: experimental
|
382
|
+
'''
|
383
|
+
result = self._values.get("lifecycle")
|
384
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
385
|
+
|
386
|
+
@builtins.property
|
387
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
388
|
+
'''
|
389
|
+
:stability: experimental
|
390
|
+
'''
|
391
|
+
result = self._values.get("provider")
|
392
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
393
|
+
|
394
|
+
@builtins.property
|
395
|
+
def provisioners(
|
396
|
+
self,
|
397
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
398
|
+
'''
|
399
|
+
:stability: experimental
|
400
|
+
'''
|
401
|
+
result = self._values.get("provisioners")
|
402
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
403
|
+
|
404
|
+
@builtins.property
|
405
|
+
def display_name(self) -> builtins.str:
|
406
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#display_name IncidentType#display_name}.'''
|
407
|
+
result = self._values.get("display_name")
|
408
|
+
assert result is not None, "Required property 'display_name' is missing"
|
409
|
+
return typing.cast(builtins.str, result)
|
410
|
+
|
411
|
+
@builtins.property
|
412
|
+
def name(self) -> builtins.str:
|
413
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#name IncidentType#name}.'''
|
414
|
+
result = self._values.get("name")
|
415
|
+
assert result is not None, "Required property 'name' is missing"
|
416
|
+
return typing.cast(builtins.str, result)
|
417
|
+
|
418
|
+
@builtins.property
|
419
|
+
def parent_type(self) -> builtins.str:
|
420
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#parent_type IncidentType#parent_type}.'''
|
421
|
+
result = self._values.get("parent_type")
|
422
|
+
assert result is not None, "Required property 'parent_type' is missing"
|
423
|
+
return typing.cast(builtins.str, result)
|
424
|
+
|
425
|
+
@builtins.property
|
426
|
+
def description(self) -> typing.Optional[builtins.str]:
|
427
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#description IncidentType#description}.'''
|
428
|
+
result = self._values.get("description")
|
429
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
430
|
+
|
431
|
+
@builtins.property
|
432
|
+
def enabled(
|
433
|
+
self,
|
434
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
435
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/pagerduty/pagerduty/3.19.1/docs/resources/incident_type#enabled IncidentType#enabled}.'''
|
436
|
+
result = self._values.get("enabled")
|
437
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
438
|
+
|
439
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
440
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
441
|
+
|
442
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
443
|
+
return not (rhs == self)
|
444
|
+
|
445
|
+
def __repr__(self) -> str:
|
446
|
+
return "IncidentTypeConfig(%s)" % ", ".join(
|
447
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
448
|
+
)
|
449
|
+
|
450
|
+
|
451
|
+
__all__ = [
|
452
|
+
"IncidentType",
|
453
|
+
"IncidentTypeConfig",
|
454
|
+
]
|
455
|
+
|
456
|
+
publication.publish()
|
457
|
+
|
458
|
+
def _typecheckingstub__ae593b6586d6f523e0b054556671b3e08778329816dab7c00d78f1f58491a1b8(
|
459
|
+
scope: _constructs_77d1e7e8.Construct,
|
460
|
+
id: builtins.str,
|
461
|
+
*,
|
462
|
+
display_name: builtins.str,
|
463
|
+
name: builtins.str,
|
464
|
+
parent_type: builtins.str,
|
465
|
+
description: typing.Optional[builtins.str] = None,
|
466
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
467
|
+
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,
|
468
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
469
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
470
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
471
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
472
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
473
|
+
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,
|
474
|
+
) -> None:
|
475
|
+
"""Type checking stubs"""
|
476
|
+
pass
|
477
|
+
|
478
|
+
def _typecheckingstub__fec561a2f7352c70ac9a2af56ff906f3169eae81580b4969a0a3e606b594d3c5(
|
479
|
+
scope: _constructs_77d1e7e8.Construct,
|
480
|
+
import_to_id: builtins.str,
|
481
|
+
import_from_id: builtins.str,
|
482
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
483
|
+
) -> None:
|
484
|
+
"""Type checking stubs"""
|
485
|
+
pass
|
486
|
+
|
487
|
+
def _typecheckingstub__5c383a409f58a95fcf418d0b7e58d1e1a26af2fbde386fe323a78014c4f6e3dc(
|
488
|
+
value: builtins.str,
|
489
|
+
) -> None:
|
490
|
+
"""Type checking stubs"""
|
491
|
+
pass
|
492
|
+
|
493
|
+
def _typecheckingstub__d3fbe9cf5515eed2d9120379e03f7b036f592a9511a115685f2829d3f67096eb(
|
494
|
+
value: builtins.str,
|
495
|
+
) -> None:
|
496
|
+
"""Type checking stubs"""
|
497
|
+
pass
|
498
|
+
|
499
|
+
def _typecheckingstub__9b051d4416d6ca588679e9ef4088ab531b803f8068139bddd68b3c1d8ae0ab43(
|
500
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
501
|
+
) -> None:
|
502
|
+
"""Type checking stubs"""
|
503
|
+
pass
|
504
|
+
|
505
|
+
def _typecheckingstub__87a1225cb7ca6765c320266aab121de095bba32f2aed54cf902aadded00e4cd4(
|
506
|
+
value: builtins.str,
|
507
|
+
) -> None:
|
508
|
+
"""Type checking stubs"""
|
509
|
+
pass
|
510
|
+
|
511
|
+
def _typecheckingstub__4858ffbd3ab3be76543f857e07b1f99945d700693b9186df2c22bb54d5114b3c(
|
512
|
+
value: builtins.str,
|
513
|
+
) -> None:
|
514
|
+
"""Type checking stubs"""
|
515
|
+
pass
|
516
|
+
|
517
|
+
def _typecheckingstub__71304671e3225865772310f8284b5d53c4d29beaa6690a730ba4d2a221365c7e(
|
518
|
+
*,
|
519
|
+
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,
|
520
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
521
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
522
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
523
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
524
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
525
|
+
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,
|
526
|
+
display_name: builtins.str,
|
527
|
+
name: builtins.str,
|
528
|
+
parent_type: builtins.str,
|
529
|
+
description: typing.Optional[builtins.str] = None,
|
530
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
531
|
+
) -> None:
|
532
|
+
"""Type checking stubs"""
|
533
|
+
pass
|