Skip to content

Deletes the specified policy from the specified load balancer

Description

Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.

Usage

elb_delete_load_balancer_policy(LoadBalancerName, PolicyName)

Arguments

  • LoadBalancerName

    [required] The name of the load balancer.

  • PolicyName

    [required] The name of the policy.

Value

An empty list.

Request syntax

svc$delete_load_balancer_policy(
  LoadBalancerName = "string",
  PolicyName = "string"
)

Examples

# This example deletes the specified policy from the specified load
# balancer. The policy must not be enabled on any listener.
svc$delete_load_balancer_policy(
  LoadBalancerName = "my-load-balancer",
  PolicyName = "my-duration-cookie-policy"
)