Step Details | |
Introduced in Version | 8.0.0 |
Last Modified in Version | 9.0.0 |
Location | Integration > Amazon AWS > Elastic Load Balancer |
The Deregister Load Balancer Target step removes listed instances from being handled by the load balancer.
Prerequisites
- This step requires the Amazon AWS Module to be installed before it will be available in the toolbox, and an active AWS account. The Amazon WebServices Settings must also be configured.
- A dependency must be created after installing the module in order for the the steps to be properly used.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Region | Determines which AWS Region will be searched by the request. | AmazonAWSRegion |
Target Group ARN | The Amazon Resource Name (ARN) of the targets. | String |
Targets | Lists the targets that will be removed from the load balancer. | List of TargetDescription |
Outputs
Property | Description | Data Type |
---|---|---|
Done | Outputs completed step information. | DeregisterTargetResult |
Common Errors
If the Target Type is Instance, You Cannot Override the Availability Zone.
If the target type defined in inputs is an instance and the availability zone is filled out, the step will cause an error.
To correct this, adjust the values in the targets section to be acceptable for the target type defined.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Deregister Load Balancer Target 1[DeregisterLoadBalancerTarget] in flow [Step Library Flow]: Exception invoking method DeregisterLoadBalancerTarget on class ElasticLoadBalancerSteps
---> DecisionsFramework.LoggedException: Exception invoking method DeregisterLoadBalancerTarget on class ElasticLoadBalancerSteps
---> System.AggregateException: One or more errors occurred. (If the target type is instance, you cannot override the Availability Zone)
---> Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Exception: If the target type is instance, you cannot override the Availability Zone
---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
--- End of inner exception stack trace ---
Related Information
Related Articles: