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.
NOTE: 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.
C# |
public class SetLoadBalancerPoliciesForBackendServerRequest : AmazonWebServiceRequest
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
SetLoadBalancerPoliciesForBackendServerRequest()()()() | Initializes a new instance of the SetLoadBalancerPoliciesForBackendServerRequest class | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
InstancePort |
The port number associated with the back-end server.
| |
LoadBalancerName |
The mnemonic name associated with the load balancer. This name must be unique within the set of your load balancers.
| |
PolicyNames |
List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithInstancePort(Int32) | Obsolete.
Sets the InstancePort property
| |
WithLoadBalancerName(String) | Obsolete.
Sets the LoadBalancerName property
| |
WithPolicyNames(array<String>[]()[][]) | Obsolete.
Adds elements to the PolicyNames collection
| |
WithPolicyNames(IEnumerable<(Of <<'(String>)>>)) | Obsolete.
Adds elements to the PolicyNames collection
|
Object | ||
AmazonWebServiceRequest | ||
SetLoadBalancerPoliciesForBackendServerRequest |