-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagerduty-escalationpolicies-escalationpolicy.json
203 lines (203 loc) · 5.23 KB
/
pagerduty-escalationpolicies-escalationpolicy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"typeName": "PagerDuty::EscalationPolicies::EscalationPolicy",
"description": "Manage an escalation policy in PagerDuty.",
"sourceUrl": "https://github.com/aws-ia/cloudformation-pagerduty-resource-providers.git",
"documentationUrl": "https://github.com/aws-ia/cloudformation-pagerduty-resource-providers",
"definitions": {
"PagerDutyAccess": {
"type": "object",
"properties": {
"Token": {
"description": "Personal Access Token",
"type": "string"
}
},
"required": [
"Token"
],
"additionalProperties": false
},
"EscalationRule": {
"type": "object",
"properties": {
"EscalationDelayInMinutes": {
"description": "The number of minutes before an unacknowledged incident escalates away from this rule.",
"type": "integer"
},
"Targets": {
"description": "The targets an incident should be assigned to upon reaching this rule.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Target"
},
"minItems": 1,
"maxItems": 10
}
},
"required": [
"EscalationDelayInMinutes",
"Targets"
],
"additionalProperties": false
},
"Target": {
"type": "object",
"properties": {
"Type": {
"description": "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference./, =, +, and -.",
"type": "string",
"enum": [
"user",
"schedule",
"user_reference",
"schedule_reference"
]
},
"Id": {
"$ref": "#/definitions/Id"
}
},
"required": [
"Type",
"Id"
],
"additionalProperties": false
},
"Team": {
"type": "object",
"properties": {
"Type": {
"description": "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference./, =, +, and -.",
"type": "string",
"enum": [
"team_reference"
]
},
"Id": {
"$ref": "#/definitions/Id"
}
},
"required": [
"Type",
"Id"
],
"additionalProperties": false
},
"HtmlUrl": {
"description": "A URL at which the entity is uniquely displayed in the Web app.",
"type": "string"
},
"Id": {
"type": "string"
},
"Summary": {
"description": "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.",
"type": "string"
}
},
"typeConfiguration": {
"properties": {
"PagerDutyAccess": {
"$ref": "#/definitions/PagerDutyAccess"
}
},
"additionalProperties": false,
"required": [
"PagerDutyAccess"
]
},
"properties": {
"Name": {
"description": "The name of the escalation policy.",
"type": "string",
"minLength": 1
},
"Description": {
"description": "Escalation policy description.",
"type": "string"
},
"NumLoops": {
"description": "The number of times the escalation policy will repeat after reaching the end of its escalation.",
"type": "integer",
"default": 0,
"minimum": 0
},
"OnCallHandoffNotifications": {
"description": "Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to \"if_has_services\".",
"type": "string",
"enum": [
"if_has_services",
"always"
]
},
"EscalationRules": {
"type": "array",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/EscalationRule"
},
"minItems": 1
},
"Teams": {
"description": "Teams associated with the policy. Account must have the teams ability to use this parameter.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Team"
},
"minItems": 1
},
"Id": {
"$ref": "#/definitions/Id"
},
"Type": {
"description": "The type of object being created.",
"type": "string",
"default": "escalation_policy",
"enum": [
"escalation_policy"
]
},
"Summary": {
"$ref": "#/definitions/Summary"
},
"HtmlUrl": {
"$ref": "#/definitions/HtmlUrl"
}
},
"additionalProperties": false,
"tagging": {
"taggable": false
},
"required": [
"Name",
"EscalationRules"
],
"readOnlyProperties": [
"/properties/Id",
"/properties/Type",
"/properties/Summary",
"/properties/HtmlUrl"
],
"primaryIdentifier": [
"/properties/Id"
],
"handlers": {
"create": {
"permissions": []
},
"read": {
"permissions": []
},
"update": {
"permissions": []
},
"delete": {
"permissions": []
},
"list": {
"permissions": []
}
}
}