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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLoadBalancer.PoliciesProperty
static final class
An implementation forCfnLoadBalancer.PoliciesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The policy attributes.The instance ports for the policy.The load balancer ports for the policy.The name of the policy.The name of the policy type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
The policy attributes.- See Also:
-
getPolicyName
The name of the policy.- See Also:
-
getPolicyType
The name of the policy type.- See Also:
-
getInstancePorts
The instance ports for the policy.Required only for some policy types.
- See Also:
-
getLoadBalancerPorts
The load balancer ports for the policy.Required only for some policy types.
- See Also:
-
builder
-