paws.networking (version 0.1.6)

elb_set_load_balancer_policies_of_listener: Replaces the current set of policies for the specified load balancer port with the specified set of policies

Description

Replaces the current set of policies for the specified load balancer port with the specified set of policies.

Usage

elb_set_load_balancer_policies_of_listener(LoadBalancerName,
  LoadBalancerPort, PolicyNames)

Arguments

LoadBalancerName

[required] The name of the load balancer.

LoadBalancerPort

[required] The external port of the load balancer.

PolicyNames

[required] The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.

Request syntax

svc$set_load_balancer_policies_of_listener(
  LoadBalancerName = "string",
  LoadBalancerPort = 123,
  PolicyNames = list(
    "string"
  )
)

Details

To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer.

For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

Examples

Run this code
# NOT RUN {
# This example replaces the policies that are currently associated with
# the specified listener.
# }
# NOT RUN {
svc$set_load_balancer_policies_of_listener(
  LoadBalancerName = "my-load-balancer",
  LoadBalancerPort = 80L,
  PolicyNames = list(
    "my-SSLNegotiation-policy"
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab