Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a policy with the specified attributes for the specified load balancer.
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 the policy type.
- data CreateLoadBalancerPolicy
- createLoadBalancerPolicy :: Text -> Text -> Text -> CreateLoadBalancerPolicy
- clbpLoadBalancerName :: Lens' CreateLoadBalancerPolicy Text
- clbpPolicyAttributes :: Lens' CreateLoadBalancerPolicy [PolicyAttribute]
- clbpPolicyName :: Lens' CreateLoadBalancerPolicy Text
- clbpPolicyTypeName :: Lens' CreateLoadBalancerPolicy Text
- data CreateLoadBalancerPolicyResponse
- createLoadBalancerPolicyResponse :: CreateLoadBalancerPolicyResponse
Request
data CreateLoadBalancerPolicy Source
Request constructor
createLoadBalancerPolicy Source
:: Text | |
-> Text | |
-> Text | |
-> CreateLoadBalancerPolicy |
CreateLoadBalancerPolicy
constructor.
The fields accessible through corresponding lenses are:
Request lenses
clbpLoadBalancerName :: Lens' CreateLoadBalancerPolicy Text Source
The name of the load balancer.
clbpPolicyAttributes :: Lens' CreateLoadBalancerPolicy [PolicyAttribute] Source
The attributes for the policy.
clbpPolicyName :: Lens' CreateLoadBalancerPolicy Text Source
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
clbpPolicyTypeName :: Lens' CreateLoadBalancerPolicy Text Source
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.