Interface CfnLoadBalancer.PoliciesProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLoadBalancer.PoliciesProperty.Jsii$Proxy
Enclosing class:
CfnLoadBalancer

@Stability(Stable) public static interface CfnLoadBalancer.PoliciesProperty extends software.amazon.jsii.JsiiSerializable
Specifies policies for your Classic Load Balancer.

To associate policies with a listener, use the PolicyNames property for the listener.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticloadbalancing.*;
 Object attributes;
 PoliciesProperty policiesProperty = PoliciesProperty.builder()
         .attributes(List.of(attributes))
         .policyName("policyName")
         .policyType("policyType")
         // the properties below are optional
         .instancePorts(List.of("instancePorts"))
         .loadBalancerPorts(List.of("loadBalancerPorts"))
         .build();
 

See Also: