Skip to content

Commit 526ed89

Browse files
author
AWS
committed
Amazon CloudWatch Internet Monitor Update: This release adds a new feature for Amazon CloudWatch Internet Monitor that enables customers to set custom thresholds, for performance and availability drops, for impact limited to a single city-network to trigger creation of a health event.
1 parent f2b0ba6 commit 526ed89

File tree

3 files changed

+175
-164
lines changed

3 files changed

+175
-164
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CloudWatch Internet Monitor",
4+
"contributor": "",
5+
"description": "This release adds a new feature for Amazon CloudWatch Internet Monitor that enables customers to set custom thresholds, for performance and availability drops, for impact limited to a single city-network to trigger creation of a health event."
6+
}

services/internetmonitor/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 107 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -64,38 +64,64 @@
6464
]
6565
},
6666
{
67-
"conditions": [],
67+
"conditions": [
68+
{
69+
"fn": "isSet",
70+
"argv": [
71+
{
72+
"ref": "Region"
73+
}
74+
]
75+
}
76+
],
6877
"type": "tree",
6978
"rules": [
7079
{
7180
"conditions": [
7281
{
73-
"fn": "isSet",
82+
"fn": "aws.partition",
7483
"argv": [
7584
{
7685
"ref": "Region"
7786
}
78-
]
87+
],
88+
"assign": "PartitionResult"
7989
}
8090
],
8191
"type": "tree",
8292
"rules": [
8393
{
8494
"conditions": [
8595
{
86-
"fn": "aws.partition",
96+
"fn": "booleanEquals",
8797
"argv": [
98+
true,
8899
{
89-
"ref": "Region"
100+
"fn": "getAttr",
101+
"argv": [
102+
{
103+
"ref": "PartitionResult"
104+
},
105+
"supportsDualStack"
106+
]
90107
}
91-
],
92-
"assign": "PartitionResult"
108+
]
93109
}
94110
],
95111
"type": "tree",
96112
"rules": [
97113
{
98-
"conditions": [],
114+
"conditions": [
115+
{
116+
"fn": "booleanEquals",
117+
"argv": [
118+
{
119+
"ref": "UseFIPS"
120+
},
121+
true
122+
]
123+
}
124+
],
99125
"type": "tree",
100126
"rules": [
101127
{
@@ -110,70 +136,18 @@
110136
{
111137
"ref": "PartitionResult"
112138
},
113-
"supportsDualStack"
139+
"supportsFIPS"
114140
]
115141
}
116142
]
117143
}
118144
],
119145
"type": "tree",
120146
"rules": [
121-
{
122-
"conditions": [
123-
{
124-
"fn": "booleanEquals",
125-
"argv": [
126-
{
127-
"ref": "UseFIPS"
128-
},
129-
true
130-
]
131-
}
132-
],
133-
"type": "tree",
134-
"rules": [
135-
{
136-
"conditions": [
137-
{
138-
"fn": "booleanEquals",
139-
"argv": [
140-
true,
141-
{
142-
"fn": "getAttr",
143-
"argv": [
144-
{
145-
"ref": "PartitionResult"
146-
},
147-
"supportsFIPS"
148-
]
149-
}
150-
]
151-
}
152-
],
153-
"type": "tree",
154-
"rules": [
155-
{
156-
"conditions": [],
157-
"endpoint": {
158-
"url": "https://internetmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
159-
"properties": {},
160-
"headers": {}
161-
},
162-
"type": "endpoint"
163-
}
164-
]
165-
},
166-
{
167-
"conditions": [],
168-
"error": "FIPS is enabled but this partition does not support FIPS",
169-
"type": "error"
170-
}
171-
]
172-
},
173147
{
174148
"conditions": [],
175149
"endpoint": {
176-
"url": "https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}",
150+
"url": "https://internetmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
177151
"properties": {},
178152
"headers": {}
179153
},
@@ -183,95 +157,91 @@
183157
},
184158
{
185159
"conditions": [],
186-
"type": "tree",
187-
"rules": [
160+
"error": "FIPS is enabled but this partition does not support FIPS",
161+
"type": "error"
162+
}
163+
]
164+
},
165+
{
166+
"conditions": [],
167+
"endpoint": {
168+
"url": "https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}",
169+
"properties": {},
170+
"headers": {}
171+
},
172+
"type": "endpoint"
173+
}
174+
]
175+
},
176+
{
177+
"conditions": [
178+
{
179+
"fn": "booleanEquals",
180+
"argv": [
181+
{
182+
"ref": "UseFIPS"
183+
},
184+
true
185+
]
186+
}
187+
],
188+
"type": "tree",
189+
"rules": [
190+
{
191+
"conditions": [
192+
{
193+
"fn": "booleanEquals",
194+
"argv": [
195+
true,
188196
{
189-
"conditions": [
190-
{
191-
"fn": "booleanEquals",
192-
"argv": [
193-
{
194-
"ref": "UseFIPS"
195-
},
196-
true
197-
]
198-
}
199-
],
200-
"type": "tree",
201-
"rules": [
197+
"fn": "getAttr",
198+
"argv": [
202199
{
203-
"conditions": [
204-
{
205-
"fn": "booleanEquals",
206-
"argv": [
207-
true,
208-
{
209-
"fn": "getAttr",
210-
"argv": [
211-
{
212-
"ref": "PartitionResult"
213-
},
214-
"supportsFIPS"
215-
]
216-
}
217-
]
218-
}
219-
],
220-
"type": "tree",
221-
"rules": [
222-
{
223-
"conditions": [],
224-
"type": "tree",
225-
"rules": [
226-
{
227-
"conditions": [],
228-
"endpoint": {
229-
"url": "https://internetmonitor-fips.{Region}.{PartitionResult#dnsSuffix}",
230-
"properties": {},
231-
"headers": {}
232-
},
233-
"type": "endpoint"
234-
}
235-
]
236-
}
237-
]
200+
"ref": "PartitionResult"
238201
},
239-
{
240-
"conditions": [],
241-
"error": "FIPS is enabled but this partition does not support FIPS",
242-
"type": "error"
243-
}
244-
]
245-
},
246-
{
247-
"conditions": [],
248-
"type": "tree",
249-
"rules": [
250-
{
251-
"conditions": [],
252-
"endpoint": {
253-
"url": "https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}",
254-
"properties": {},
255-
"headers": {}
256-
},
257-
"type": "endpoint"
258-
}
202+
"supportsFIPS"
259203
]
260204
}
261205
]
262206
}
207+
],
208+
"type": "tree",
209+
"rules": [
210+
{
211+
"conditions": [],
212+
"endpoint": {
213+
"url": "https://internetmonitor-fips.{Region}.{PartitionResult#dnsSuffix}",
214+
"properties": {},
215+
"headers": {}
216+
},
217+
"type": "endpoint"
218+
}
263219
]
220+
},
221+
{
222+
"conditions": [],
223+
"error": "FIPS is enabled but this partition does not support FIPS",
224+
"type": "error"
264225
}
265226
]
227+
},
228+
{
229+
"conditions": [],
230+
"endpoint": {
231+
"url": "https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}",
232+
"properties": {},
233+
"headers": {}
234+
},
235+
"type": "endpoint"
266236
}
267237
]
268-
},
269-
{
270-
"conditions": [],
271-
"error": "Invalid Configuration: Missing Region",
272-
"type": "error"
273238
}
274239
]
240+
},
241+
{
242+
"conditions": [],
243+
"error": "Invalid Configuration: Missing Region",
244+
"type": "error"
275245
}
276246
]
277247
}

0 commit comments

Comments
 (0)