64
64
]
65
65
},
66
66
{
67
- "conditions" : [],
67
+ "conditions" : [
68
+ {
69
+ "fn" : " isSet" ,
70
+ "argv" : [
71
+ {
72
+ "ref" : " Region"
73
+ }
74
+ ]
75
+ }
76
+ ],
68
77
"type" : " tree" ,
69
78
"rules" : [
70
79
{
71
80
"conditions" : [
72
81
{
73
- "fn" : " isSet " ,
82
+ "fn" : " aws.partition " ,
74
83
"argv" : [
75
84
{
76
85
"ref" : " Region"
77
86
}
78
- ]
87
+ ],
88
+ "assign" : " PartitionResult"
79
89
}
80
90
],
81
91
"type" : " tree" ,
82
92
"rules" : [
83
93
{
84
94
"conditions" : [
85
95
{
86
- "fn" : " aws.partition " ,
96
+ "fn" : " booleanEquals " ,
87
97
"argv" : [
98
+ true ,
88
99
{
89
- "ref" : " Region"
100
+ "fn" : " getAttr" ,
101
+ "argv" : [
102
+ {
103
+ "ref" : " PartitionResult"
104
+ },
105
+ " supportsDualStack"
106
+ ]
90
107
}
91
- ],
92
- "assign" : " PartitionResult"
108
+ ]
93
109
}
94
110
],
95
111
"type" : " tree" ,
96
112
"rules" : [
97
113
{
98
- "conditions" : [],
114
+ "conditions" : [
115
+ {
116
+ "fn" : " booleanEquals" ,
117
+ "argv" : [
118
+ {
119
+ "ref" : " UseFIPS"
120
+ },
121
+ true
122
+ ]
123
+ }
124
+ ],
99
125
"type" : " tree" ,
100
126
"rules" : [
101
127
{
110
136
{
111
137
"ref" : " PartitionResult"
112
138
},
113
- " supportsDualStack "
139
+ " supportsFIPS "
114
140
]
115
141
}
116
142
]
117
143
}
118
144
],
119
145
"type" : " tree" ,
120
146
"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
- },
173
147
{
174
148
"conditions" : [],
175
149
"endpoint" : {
176
- "url" : " https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}" ,
150
+ "url" : " https://internetmonitor-fips .{Region}.{PartitionResult#dualStackDnsSuffix}" ,
177
151
"properties" : {},
178
152
"headers" : {}
179
153
},
183
157
},
184
158
{
185
159
"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 ,
188
196
{
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" : [
202
199
{
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"
238
201
},
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"
259
203
]
260
204
}
261
205
]
262
206
}
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
+ }
263
219
]
220
+ },
221
+ {
222
+ "conditions" : [],
223
+ "error" : " FIPS is enabled but this partition does not support FIPS" ,
224
+ "type" : " error"
264
225
}
265
226
]
227
+ },
228
+ {
229
+ "conditions" : [],
230
+ "endpoint" : {
231
+ "url" : " https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}" ,
232
+ "properties" : {},
233
+ "headers" : {}
234
+ },
235
+ "type" : " endpoint"
266
236
}
267
237
]
268
- },
269
- {
270
- "conditions" : [],
271
- "error" : " Invalid Configuration: Missing Region" ,
272
- "type" : " error"
273
238
}
274
239
]
240
+ },
241
+ {
242
+ "conditions" : [],
243
+ "error" : " Invalid Configuration: Missing Region" ,
244
+ "type" : " error"
275
245
}
276
246
]
277
247
}
0 commit comments