Creates a new policy that contains the necessary attributes depending on the policy type. Policies are settings that are saved for your load balancer and that can be applied to the front-end listener, or the back-end application server, depending on your policy type.
Declaration Syntax
C# |
public CreateLoadBalancerPolicyResponse CreateLoadBalancerPolicy( CreateLoadBalancerPolicyRequest createLoadBalancerPolicyRequest )
Parameters
- createLoadBalancerPolicyRequest (CreateLoadBalancerPolicyRequest)
- Container for the necessary parameters to execute the CreateLoadBalancerPolicy service method on AmazonElasticLoadBalancing.
Return Value
The response from the CreateLoadBalancerPolicy service method, as returned by AmazonElasticLoadBalancing.
Exceptions