You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-migration-hub-refactor-spaces): This release adds the new API UpdateRoute that allows route to be updated to ACTIVE/INACTIVE state. In addition, CreateRoute API will now allow users to create route in ACTIVE/INACTIVE state.
@@ -184,6 +185,10 @@ export class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient
184
185
* the application. If an application does not have any routes, then the first route must be
185
186
* created as a <code>DEFAULT</code>
186
187
* <code>RouteType</code>.</p>
188
+
* <p>When created, the default route defaults to an active state so state is not a required
189
+
* input. However, like all other state values the state of the default route can be updated
190
+
* after creation, but only when all other routes are also inactive. Conversely, no route can be
191
+
* active without the default route also being active.</p>
187
192
* <p>When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic
188
193
* to the target service as follows:</p>
189
194
* <ul>
@@ -201,24 +206,28 @@ export class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient
201
206
* API Gateway to invoke the function.</p>
202
207
* </li>
203
208
* </ul>
204
-
* <p>A one-time health check is performed on the service when the route is created. If the
205
-
* health check fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
209
+
* <p>A one-time health check is performed on the service when either the route is updated from
210
+
* inactive to active, or when it is created with an active state. If the health check fails, the
211
+
* route transitions the route state to <code>FAILED</code>, an error code of
212
+
* <code>SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE</code> is provided, and no traffic is sent to
206
213
* the service.</p>
207
214
* <p>For Lambda functions, the Lambda function state is checked. If the
208
215
* function is not active, the function configuration is updated so that Lambda
209
216
* resources are provisioned. If the Lambda state is <code>Failed</code>, then the
210
217
* route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
211
-
* <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
212
-
* reachable, the health check fails. For private URLs, a target group is created and the target
213
-
* group health check is run.</p>
214
-
* <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
215
-
* <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
218
+
* <p>For Lambda endpoints, a check is performed to determine that a Lambda function with the
219
+
* specified ARN exists. If it does not exist, the health check fails. For public URLs, a
220
+
* connection is opened to the public endpoint. If the URL is not reachable, the health check
221
+
* fails. </p>
222
+
* <p>For private URLS, a target group is created on the Elastic Load Balancing and the target
223
+
* group health check is run. The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>,
224
+
* and <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
216
225
* health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
217
226
* for your target groups</a>. The health check is considered successful if at least one
218
227
* target within the target group transitions to a healthy state.</p>
219
228
* <p>Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed
220
229
* certificates are supported. Private Certificate Authorities (CAs) are permitted only if the
* <p>A one-time health check is performed on the service when the route is created. If the
53
-
* health check fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
56
+
* <p>A one-time health check is performed on the service when either the route is updated from
57
+
* inactive to active, or when it is created with an active state. If the health check fails, the
58
+
* route transitions the route state to <code>FAILED</code>, an error code of
59
+
* <code>SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE</code> is provided, and no traffic is sent to
54
60
* the service.</p>
55
61
* <p>For Lambda functions, the Lambda function state is checked. If the
56
62
* function is not active, the function configuration is updated so that Lambda
57
63
* resources are provisioned. If the Lambda state is <code>Failed</code>, then the
58
64
* route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
59
-
* <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
60
-
* reachable, the health check fails. For private URLs, a target group is created and the target
61
-
* group health check is run.</p>
62
-
* <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
63
-
* <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
65
+
* <p>For Lambda endpoints, a check is performed to determine that a Lambda function with the
66
+
* specified ARN exists. If it does not exist, the health check fails. For public URLs, a
67
+
* connection is opened to the public endpoint. If the URL is not reachable, the health check
68
+
* fails. </p>
69
+
* <p>For private URLS, a target group is created on the Elastic Load Balancing and the target
70
+
* group health check is run. The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>,
71
+
* and <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
64
72
* health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
65
73
* for your target groups</a>. The health check is considered successful if at least one
66
74
* target within the target group transitions to a healthy state.</p>
67
75
* <p>Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed
68
76
* certificates are supported. Private Certificate Authorities (CAs) are permitted only if the
69
-
* CA's domain is publicly resolvable.</p>
77
+
* CA's domain is also publicly resolvable.</p>
70
78
* @example
71
79
* Use a bare-bones client and the command you need to make an API call.
0 commit comments