Safe Haskell | None |
---|---|
Language | Haskell2010 |
Replaces the current set of policies associated with a port on which the back-end server is listening with a new set of policies. After the policies have been created using CreateLoadBalancerPolicy, they can be applied here as a list. At this time, only the back-end server authentication policy type can be applied to the back-end ports; this policy type is composed of multiple public key policies. The SetLoadBalancerPoliciesForBackendServer replaces the current set of policies associated with the specified instance port. Every time you use this action to enable the policies, use the PolicyNames parameter to list all the policies you want to enable. You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies action to verify that the policy has been associated with the back-end server.
- data SetLoadBalancerPoliciesForBackendServer
- setLoadBalancerPoliciesForBackendServer :: Text -> Int -> SetLoadBalancerPoliciesForBackendServer
- slbpfbsInstancePort :: Lens' SetLoadBalancerPoliciesForBackendServer Int
- slbpfbsLoadBalancerName :: Lens' SetLoadBalancerPoliciesForBackendServer Text
- slbpfbsPolicyNames :: Lens' SetLoadBalancerPoliciesForBackendServer [Text]
- data SetLoadBalancerPoliciesForBackendServerResponse
- setLoadBalancerPoliciesForBackendServerResponse :: SetLoadBalancerPoliciesForBackendServerResponse
Request
data SetLoadBalancerPoliciesForBackendServer Source
Request constructor
setLoadBalancerPoliciesForBackendServer Source
SetLoadBalancerPoliciesForBackendServer
constructor.
The fields accessible through corresponding lenses are:
Request lenses
slbpfbsInstancePort :: Lens' SetLoadBalancerPoliciesForBackendServer Int Source
The port number associated with the back-end server.
slbpfbsLoadBalancerName :: Lens' SetLoadBalancerPoliciesForBackendServer Text Source
The mnemonic name associated with the load balancer. This name must be unique within the set of your load balancers.
slbpfbsPolicyNames :: Lens' SetLoadBalancerPoliciesForBackendServer [Text] Source
List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.