Interface CfnLoadBalancerPropsMixin.PoliciesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancerPropsMixin.PoliciesProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancerPropsMixin
@Stability(Stable)
public static interface CfnLoadBalancerPropsMixin.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.cfnpropertymixins.services.elasticloadbalancing.*;
Object attributes;
PoliciesProperty policiesProperty = PoliciesProperty.builder()
.attributes(List.of(attributes))
.instancePorts(List.of("instancePorts"))
.loadBalancerPorts(List.of("loadBalancerPorts"))
.policyName("policyName")
.policyType("policyType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoadBalancerPropsMixin.PoliciesPropertystatic final classAn implementation forCfnLoadBalancerPropsMixin.PoliciesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
The policy attributes.Returns union: either Listinvalid input: '<'
Object> orIResolvable- 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:
-
getPolicyName
The name of the policy.- See Also:
-
getPolicyType
The name of the policy type.- See Also:
-
builder
-